Mercurial > pidgin
comparison console/libgnt/gntcolors.c @ 13897:eaaf73de9188
[gaim-migrate @ 16382]
I have added a sort of a taskbar, useful in showing the active windows.
I have also readjusted the blue color a little bit, since this is the
one I am using in a few places right now. And also getting rid of some
code-duplication.
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sat, 01 Jul 2006 04:24:31 +0000 |
parents | a621329e8c85 |
children | b210409cdc56 |
comparison
equal
deleted
inserted
replaced
13896:a621329e8c85 | 13897:eaaf73de9188 |
---|---|
7 { | 7 { |
8 /* XXX: Do some init_color()s */ | 8 /* XXX: Do some init_color()s */ |
9 init_color(GNT_COLOR_BLACK, 0, 0, 0); | 9 init_color(GNT_COLOR_BLACK, 0, 0, 0); |
10 init_color(GNT_COLOR_RED, 1000, 0, 0); | 10 init_color(GNT_COLOR_RED, 1000, 0, 0); |
11 init_color(GNT_COLOR_GREEN, 0, 1000, 0); | 11 init_color(GNT_COLOR_GREEN, 0, 1000, 0); |
12 init_color(GNT_COLOR_BLUE, 0, 0, 1000); | 12 init_color(GNT_COLOR_BLUE, 250, 250, 700); |
13 init_color(GNT_COLOR_WHITE, 1000, 1000, 1000); | 13 init_color(GNT_COLOR_WHITE, 1000, 1000, 1000); |
14 init_color(GNT_COLOR_GRAY, 699, 699, 699); | 14 init_color(GNT_COLOR_GRAY, 699, 699, 699); |
15 init_color(GNT_COLOR_DARK_GRAY, 256, 256, 256); | 15 init_color(GNT_COLOR_DARK_GRAY, 256, 256, 256); |
16 | 16 |
17 /* Now some init_pair()s */ | 17 /* Now some init_pair()s */ |
18 init_pair(GNT_COLOR_NORMAL, GNT_COLOR_BLACK, GNT_COLOR_WHITE); | 18 init_pair(GNT_COLOR_NORMAL, GNT_COLOR_BLACK, GNT_COLOR_WHITE); |
19 init_pair(GNT_COLOR_HIGHLIGHT, GNT_COLOR_WHITE, GNT_COLOR_BLUE); | 19 init_pair(GNT_COLOR_HIGHLIGHT, GNT_COLOR_WHITE, GNT_COLOR_BLUE); |
20 init_pair(GNT_COLOR_SHADOW, GNT_COLOR_BLACK, GNT_COLOR_DARK_GRAY); | 20 init_pair(GNT_COLOR_SHADOW, GNT_COLOR_BLACK, GNT_COLOR_DARK_GRAY); |
21 init_pair(GNT_COLOR_TITLE, GNT_COLOR_WHITE, GNT_COLOR_DARK_GRAY); | 21 |
22 init_pair(GNT_COLOR_TITLE_D, GNT_COLOR_BLACK, GNT_COLOR_GRAY); | 22 init_pair(GNT_COLOR_TITLE, GNT_COLOR_WHITE, GNT_COLOR_BLUE); |
23 init_pair(GNT_COLOR_TITLE_D, GNT_COLOR_WHITE, GNT_COLOR_GRAY); | |
24 | |
23 init_pair(GNT_COLOR_TEXT_NORMAL, GNT_COLOR_WHITE, GNT_COLOR_BLUE); | 25 init_pair(GNT_COLOR_TEXT_NORMAL, GNT_COLOR_WHITE, GNT_COLOR_BLUE); |
24 init_pair(GNT_COLOR_HIGHLIGHT_D, GNT_COLOR_BLACK, GNT_COLOR_GRAY); | 26 init_pair(GNT_COLOR_HIGHLIGHT_D, GNT_COLOR_BLACK, GNT_COLOR_GRAY); |
25 init_pair(GNT_COLOR_DISABLED, GNT_COLOR_GRAY, GNT_COLOR_WHITE); | 27 init_pair(GNT_COLOR_DISABLED, GNT_COLOR_GRAY, GNT_COLOR_WHITE); |
26 } | 28 } |
27 else | 29 else |