changeset 148:d1408a98c505

profile manager: removed images (use plain color instead), and changed colors
author Goffi <goffi@goffi.org>
date Sat, 14 Apr 2018 19:40:13 +0200
parents 11d134eb51d7
children 33498be369ca
files cagou/images/button.png cagou/images/button_selected.png cagou/kv/profile_manager.kv
diffstat 3 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
Binary file cagou/images/button.png has changed
Binary file cagou/images/button_selected.png has changed
--- a/cagou/kv/profile_manager.kv	Sat Apr 14 19:29:09 2018 +0200
+++ b/cagou/kv/profile_manager.kv	Sat Apr 14 19:40:13 2018 +0200
@@ -161,8 +161,8 @@
 
 
 <ProfileItem>:
-    # FIXME: using cagou/images path for now, will use atlas later
-    background_normal: "cagou/images/button_selected.png" if self.is_selected else "cagou/images/button.png"
-    deselected_color: 1,1,1,1
-    selected_color: 1,1,1,1
+    background_normal: ""
+    background_down: ""
+    deselected_color: (1,1,1,1) if self.index%2 else (0.87,0.87,0.87,1)
+    selected_color: 0.67,1.0,1.0,1
     color: 0,0,0,1