comparison libervia/desktop_kivy/plugins/plugin_wid_calls.kv @ 518:196483685a63 default tip

Use Font-Awesome instead of Fontello, following change in Libervia Media.
author Goffi <goffi@goffi.org>
date Sat, 26 Oct 2024 22:44:37 +0200
parents d78728d7fd6a
children
comparison
equal deleted inserted replaced
517:f316c7f19909 518:196483685a63
117 id: full_screen_btn 117 id: full_screen_btn
118 size: "60dp", "60dp" 118 size: "60dp", "60dp"
119 pos_hint: {"right": 1, "top": 1} 119 pos_hint: {"right": 1, "top": 1}
120 margin_x: dp(10) 120 margin_x: dp(10)
121 margin_y: dp(10) 121 margin_y: dp(10)
122 symbol: "resize-small" if root.fullscreen else "resize-full" 122 symbol: "minimize" if root.fullscreen else "maximize"
123 color: 0.29, 0.29, 0.29, 1 123 color: 0.29, 0.29, 0.29, 1
124 background_color: 0.96, 0.96, 0.96, 1 124 background_color: 0.96, 0.96, 0.96, 1
125 on_press: root.fullscreen = not root.fullscreen 125 on_press: root.fullscreen = not root.fullscreen
126 126
127 127
133 pos_hint: {"x": 0.25, "y": 0.05} 133 pos_hint: {"x": 0.25, "y": 0.05}
134 spacing: "30dp" 134 spacing: "30dp"
135 Widget: 135 Widget:
136 136
137 CallControlButton: 137 CallControlButton:
138 symbol: "videocam" 138 symbol: "video"
139 active: not root.video_muted 139 active: not root.video_muted
140 on_press: root.video_muted = not root.video_muted 140 on_press: root.video_muted = not root.video_muted
141 141
142 CallControlButton: 142 CallControlButton:
143 symbol: "volume-up" 143 symbol: "volume-high"
144 active: not root.audio_muted 144 active: not root.audio_muted
145 on_press: root.audio_muted = not root.audio_muted 145 on_press: root.audio_muted = not root.audio_muted
146 146
147 CallControlButton: 147 CallControlButton:
148 symbol: "desktop" 148 symbol: "display"
149 active: root.desktop_sharing 149 active: root.desktop_sharing
150 background_color: (0.28, 0.78, 0.56, 1) if not self.active else (0.95, 0.27, 0.41, 1) 150 background_color: (0.28, 0.78, 0.56, 1) if not self.active else (0.95, 0.27, 0.41, 1)
151 on_press: root.on_desktop_btn_press() 151 on_press: root.on_desktop_btn_press()
152 canvas.after: 152 canvas.after:
153 Color: 153 Color:
155 Line: 155 Line:
156 points: [self.x + dp(10), self.y + dp(10), self.right - dp(10), self.top - dp(10)] 156 points: [self.x + dp(10), self.y + dp(10), self.right - dp(10), self.top - dp(10)]
157 width: 2 157 width: 2
158 cap: "round" 158 cap: "round"
159 CallControlButton: 159 CallControlButton:
160 symbol: "doc" 160 symbol: "regular file"
161 color: 0, 0, 0, 1 161 color: 0, 0, 0, 1
162 background_color: (1, 1, 1, 1) 162 background_color: (1, 1, 1, 1)
163 on_press: root.on_file_btn_press() 163 on_press: root.on_file_btn_press()
164 164
165 CallControlButton: 165 CallControlButton: