Add missing hexagon.kv file from repo.

This commit is contained in:
Amy Wooding 2016-07-15 11:48:18 -04:00
parent 8b5b258be7
commit 54dbdfad94
1 changed files with 20 additions and 0 deletions

20
hexagon.kv Normal file
View File

@ -0,0 +1,20 @@
#:include debug.kv
BoxLayout:
orientation: 'horizontal'
Hex:
pos: self.pos
DebugLabel:
text: '1'
Hex:
pos: self.pos
DebugLabel:
text: '1'
<Hex@Label>:
pos_hint: {'center_x':.5, 'center_y':.5}
canvas.after:
Color:
rgba: 1,1,1,1
Ellipse:
segments: 6
pos: self.pos
size: min(self.width, self.height), min(self.width, self.height)