diff options
| author | Paul Buetow <paul.buetow@1und1.de> | 2013-04-14 12:46:33 +0200 |
|---|---|---|
| committer | Paul Buetow <paul.buetow@1und1.de> | 2013-04-14 12:46:33 +0200 |
| commit | 52a66a503d77c150b6a778305e5569517fe88c29 (patch) | |
| tree | 304e469d99638447655e8b3f25482e7e6028dce0 /lib/Loadbars/Constants.pm | |
| parent | c6328fd5ec33e91858a440292c3c5056c56d48e5 (diff) | |
intial working version for debian wheezy. fonts are not yet working
Diffstat (limited to 'lib/Loadbars/Constants.pm')
| -rw-r--r-- | lib/Loadbars/Constants.pm | 34 |
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, |
