Mercurial > boomslang
diff pyntnclick/constants.py @ 670:fe7023750b20 pyntnclick
Add convert_color function
author | Stefano Rivera <stefano@rivera.za.net> |
---|---|
date | Sun, 12 Feb 2012 18:00:18 +0200 |
parents | de3f6ad0da9d |
children | b27b5c6c54e8 |
line wrap: on
line diff
--- a/pyntnclick/constants.py Sun Feb 12 17:47:59 2012 +0200 +++ b/pyntnclick/constants.py Sun Feb 12 18:00:18 2012 +0200 @@ -31,8 +31,10 @@ 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) + label_border_color = (0, 0, 0, 0xFF) + button_color = (0xFF, 0xFF, 0xFF, 0xFF) + button_bg_color = (0x66, 0x66, 0x66, 0xFF) + button_disabled_color = (0x66, 0x66, 0x66, 0xFF) # User event IDs: enter = 1