diff pyntnclick/constants.py @ 666:de3f6ad0da9d pyntnclick

Better looking labels, and more use of constants
author Stefano Rivera <stefano@rivera.za.net>
date Sun, 12 Feb 2012 17:21:40 +0200
parents 1faced4e343a
children fe7023750b20
line wrap: on
line diff
--- a/pyntnclick/constants.py	Sun Feb 12 17:06:45 2012 +0200
+++ b/pyntnclick/constants.py	Sun Feb 12 17:21:40 2012 +0200
@@ -28,7 +28,11 @@
     font = 'Vera.ttf'
     font_size = 16
     text_color = 'black'
-    label_bg_color = (180, 180, 180, 180)
+    label_padding = 10
+    label_border = 3
+    label_bg_color = (180, 180, 180, 220)
+    label_border_color = (0, 0, 0, 255)
+    disabled_color = (0x66, 0x66, 0x66, 255)
 
     # User event IDs:
     enter = 1