#:kivy 1.2 # touch.ky # Walker White (wmw2) # November 8, 2012 # This is a Kivy language file that provides information for touch.py : canvas: Color: rgb: (1,1,1) Rectangle: size: self.size pos: self.pos : panel:panelid orientation: 'vertical' TouchPanel: id: panelid size_hint: (1,0.9) BoxLayout: size_hint: (1,0.1) orientation: 'horizontal' ToggleButton: id: lineid size_hint: (0.5,1) text: 'Line' state: 'down' group: 'drawshape' on_press: self.state = 'down'; root.panel.setState('line') ToggleButton: id: spotid size_hint: (0.5,1) text: 'Spots' state: 'normal' group: 'drawshape' on_press: self.state = 'down'; root.panel.setState('spots')