comparison cagou/plugins/plugin_transfer_voice.kv @ 491:203755bbe0fe

massive refactoring from camelCase -> snake_case. See backend commit log for more details
author Goffi <goffi@goffi.org>
date Sat, 08 Apr 2023 13:44:32 +0200
parents 3c9ba4a694ef
children
comparison
equal deleted inserted replaced
490:962d17c4078c 491:203755bbe0fe
45 IconButton: 45 IconButton:
46 source: app.expand("{media}/icons/muchoslava/png/") + ("micro_on_50.png" if root.recording else "micro_off_50.png") 46 source: app.expand("{media}/icons/muchoslava/png/") + ("micro_on_50.png" if root.recording else "micro_off_50.png")
47 allow_stretch: True 47 allow_stretch: True
48 size_hint: None, None 48 size_hint: None, None
49 size: dp(60), dp(60) 49 size: dp(60), dp(60)
50 on_release: root.switchRecording() 50 on_release: root.switch_recording()
51 IconButton: 51 IconButton:
52 opacity: 0 if root.recording or not root.time and not root.playing else 1 52 opacity: 0 if root.recording or not root.time and not root.playing else 1
53 source: app.expand("{media}/icons/muchoslava/png/") + ("stop_50.png" if root.playing else "play_50.png") 53 source: app.expand("{media}/icons/muchoslava/png/") + ("stop_50.png" if root.playing else "play_50.png")
54 allow_stretch: True 54 allow_stretch: True
55 size_hint: None, None 55 size_hint: None, None
56 size: dp(60), dp(60) 56 size: dp(60), dp(60)
57 on_release: root.playRecord() 57 on_release: root.play_record()
58 Widget 58 Widget
59 Widget: 59 Widget:
60 size_hint: 1, None 60 size_hint: 1, None
61 height: dp(50) 61 height: dp(50)
62 Button: 62 Button: