annotate src/gtknickcolors.h @ 12606:51b0ce9d45d9

[gaim-migrate @ 14942] SF Patch #1387617 from Sadrul "When you have no status-message, toggling `Show Buddy Details' bring out some extra spaces below the status-selector. This patch is a fix for that." In case anyone forgot, Sadrul is totally awesome. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Wed, 21 Dec 2005 23:26:22 +0000
parents 3153661f4d5c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
12360
3153661f4d5c [gaim-migrate @ 14664]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
1 /**
3153661f4d5c [gaim-migrate @ 14664]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
2 * @file gtknickcolors.h GTK+ Conversation API
3153661f4d5c [gaim-migrate @ 14664]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
3 * @ingroup gtkui
3153661f4d5c [gaim-migrate @ 14664]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
4 *
3153661f4d5c [gaim-migrate @ 14664]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
5 * gaim
3153661f4d5c [gaim-migrate @ 14664]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
6 * Gaim is the legal property of its developers, whose names are too numerous
3153661f4d5c [gaim-migrate @ 14664]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
7 * to list here. Please refer to the COPYRIGHT file distributed with this
3153661f4d5c [gaim-migrate @ 14664]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
8 * source distribution.
3153661f4d5c [gaim-migrate @ 14664]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
9 *
3153661f4d5c [gaim-migrate @ 14664]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
10 * This program is free software; you can redistribute it and/or modify
3153661f4d5c [gaim-migrate @ 14664]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
11 * it under the terms of the GNU General Public License as published by
3153661f4d5c [gaim-migrate @ 14664]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
12 * the Free Software Foundation; either version 2 of the License, or
3153661f4d5c [gaim-migrate @ 14664]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
13 * (at your option) any later version.
3153661f4d5c [gaim-migrate @ 14664]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
14 *
3153661f4d5c [gaim-migrate @ 14664]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
15 * This program is distributed in the hope that it will be useful,
3153661f4d5c [gaim-migrate @ 14664]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
3153661f4d5c [gaim-migrate @ 14664]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3153661f4d5c [gaim-migrate @ 14664]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
18 * GNU General Public License for more details.
3153661f4d5c [gaim-migrate @ 14664]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
19 *
3153661f4d5c [gaim-migrate @ 14664]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
20 * You should have received a copy of the GNU General Public License
3153661f4d5c [gaim-migrate @ 14664]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
21 * along with this program; if not, write to the Free Software
3153661f4d5c [gaim-migrate @ 14664]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
22 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
3153661f4d5c [gaim-migrate @ 14664]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
23 */
3153661f4d5c [gaim-migrate @ 14664]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
24 #ifndef _GAIM_GTKNICKCOLORS_H_
3153661f4d5c [gaim-migrate @ 14664]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
25 #define _GAIM_GTKNICKCOLORS_H_
3153661f4d5c [gaim-migrate @ 14664]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
26
3153661f4d5c [gaim-migrate @ 14664]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
27 static GdkColor nick_seed_colors[] = {
3153661f4d5c [gaim-migrate @ 14664]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
28 {0, 47616, 46336, 43776}, /* Basic 3D Medium */
3153661f4d5c [gaim-migrate @ 14664]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
29 {0, 32768, 32000, 29696}, /* Basic 3D Dark */
3153661f4d5c [gaim-migrate @ 14664]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
30 {0, 22016, 20992, 18432}, /* 3D Shadow */
3153661f4d5c [gaim-migrate @ 14664]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
31 {0, 33536, 42496, 32512}, /* Green Medium */
3153661f4d5c [gaim-migrate @ 14664]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
32 {0, 23808, 29952, 21760}, /* Green Dark */
3153661f4d5c [gaim-migrate @ 14664]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
33 {0, 17408, 22016, 12800}, /* Green Shadow */
3153661f4d5c [gaim-migrate @ 14664]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
34 {0, 57344, 46592, 44800}, /* Red Hilight */
3153661f4d5c [gaim-migrate @ 14664]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
35 {0, 49408, 26112, 23040}, /* Red Medium */
3153661f4d5c [gaim-migrate @ 14664]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
36 {0, 34816, 17920, 12544}, /* Red Dark */
3153661f4d5c [gaim-migrate @ 14664]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
37 {0, 49408, 14336, 8704}, /* Red Shadow */
3153661f4d5c [gaim-migrate @ 14664]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
38 {0, 34816, 32512, 41728}, /* Purple Medium */
3153661f4d5c [gaim-migrate @ 14664]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
39 {0, 25088, 23296, 33024}, /* Purple Dark */
3153661f4d5c [gaim-migrate @ 14664]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
40 {0, 18688, 16384, 26112}, /* Purple Shadow */
3153661f4d5c [gaim-migrate @ 14664]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
41 {0, 40192, 47104, 53760}, /* Blue Hilight */
3153661f4d5c [gaim-migrate @ 14664]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
42 {0, 29952, 36864, 44544}, /* Blue Medium */
3153661f4d5c [gaim-migrate @ 14664]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
43 {0, 57344, 49920, 40448}, /* Face Skin Medium */
3153661f4d5c [gaim-migrate @ 14664]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
44 {0, 45824, 37120, 26880}, /* Face skin Dark */
3153661f4d5c [gaim-migrate @ 14664]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
45 {0, 33280, 26112, 18176}, /* Face Skin Shadow */
3153661f4d5c [gaim-migrate @ 14664]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
46 {0, 57088, 16896, 7680}, /* Accent Red */
3153661f4d5c [gaim-migrate @ 14664]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
47 {0, 39168, 0, 0}, /* Accent Red Dark */
3153661f4d5c [gaim-migrate @ 14664]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
48 {0, 17920, 40960, 17920}, /* Accent Green */
3153661f4d5c [gaim-migrate @ 14664]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
49 {0, 9728, 50944, 9728} /* Accent Green Dark */
3153661f4d5c [gaim-migrate @ 14664]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
50 };
3153661f4d5c [gaim-migrate @ 14664]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
51
3153661f4d5c [gaim-migrate @ 14664]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
52 #define NUM_NICK_SEED_COLORS (sizeof(nick_seed_colors) / sizeof(nick_seed_colors[0]))
3153661f4d5c [gaim-migrate @ 14664]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
53
3153661f4d5c [gaim-migrate @ 14664]
Luke Schierer <lschiere@pidgin.im>
parents:
diff changeset
54 #endif