summaryrefslogtreecommitdiff
path: root/lib/Loadbars/Constants.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Loadbars/Constants.pm')
-rw-r--r--lib/Loadbars/Constants.pm34
1 files changed, 17 insertions, 17 deletions
diff --git a/lib/Loadbars/Constants.pm b/lib/Loadbars/Constants.pm
index cb76295..2a0fa0a 100644
--- a/lib/Loadbars/Constants.pm
+++ b/lib/Loadbars/Constants.pm
@@ -10,23 +10,23 @@ use constant {
CONFFILE => $ENV{HOME} . '/.loadbarsrc',
CSSH_CONFFILE => '/etc/clusters',
CSSH_MAX_RECURSION => 10,
- COLOR_DEPTH => 8,
- BLACK => SDL::Color->new( -r => 0x00, -g => 0x00, -b => 0x00 ),
- BLUE0 => SDL::Color->new( -r => 0x00, -g => 0x00, -b => 0xff ),
- LIGHT_BLUE => SDL::Color->new( -r => 0x00, -g => 0x00, -b => 0xdd ),
- LIGHT_BLUE0 => SDL::Color->new( -r => 0x00, -g => 0x00, -b => 0xcc ),
- BLUE => SDL::Color->new( -r => 0x00, -g => 0x00, -b => 0x88 ),
- GREEN => SDL::Color->new( -r => 0x00, -g => 0x90, -b => 0x00 ),
- LIGHT_GREEN => SDL::Color->new( -r => 0x00, -g => 0xf0, -b => 0x00 ),
- ORANGE => SDL::Color->new( -r => 0xff, -g => 0x70, -b => 0x00 ),
- PURPLE => SDL::Color->new( -r => 0xa0, -g => 0x20, -b => 0xf0 ),
- RED => SDL::Color->new( -r => 0xff, -g => 0x00, -b => 0x00 ),
- WHITE => SDL::Color->new( -r => 0xff, -g => 0xff, -b => 0xff ),
- GREY0 => SDL::Color->new( -r => 0x11, -g => 0x11, -b => 0x11 ),
- GREY => SDL::Color->new( -r => 0xaa, -g => 0xaa, -b => 0xaa ),
- DARK_GREY => SDL::Color->new( -r => 0x15, -g => 0x15, -b => 0x15 ),
- YELLOW0 => SDL::Color->new( -r => 0xff, -g => 0xa0, -b => 0x00 ),
- YELLOW => SDL::Color->new( -r => 0xff, -g => 0xc0, -b => 0x00 ),
+ COLOR_DEPTH => 32,
+ BLACK => [0x00,0x00,0x00],
+ BLUE0 => [0x00,0x00,0xff],
+ LIGHT_BLUE => [0x00,0x00,0xdd],
+ LIGHT_BLUE0 => [0x00,0x00,0xcc],
+ BLUE => [0x00,0x00,0x88],
+ GREEN => [0x00,0x90,0x00],
+ LIGHT_GREEN => [0x00,0xf0,0x00],
+ ORANGE => [0xff,0x70,0x00],
+ PURPLE => [0xa0,0x20,0xf0],
+ RED => [0xff,0x00,0x00],
+ WHITE => [0xff,0xff,0xff],
+ GREY0 => [0x11,0x11,0x11],
+ GREY => [0xaa,0xaa,0xaa],
+ DARK_GREY => [0x15,0x15,0x15],
+ YELLOW0 => [0xff,0xa0,0x00],
+ YELLOW => [0xff,0xc0,0x00],
SYSTEM_BLUE0 => 30,
USER_ORANGE => 70,
USER_YELLOW0 => 50,