Mercurial > pidgin.yaz
comparison finch/libgnt/gntstyle.h @ 17718:8410511f4dbb
applied changes from 016401bd409e6229fae0ab1e80d9fef9365511b3
through e82c41f34ce5f7439b2f2971139efaf6ef7a54ff
author | Eric Polino <aluink@pidgin.im> |
---|---|
date | Wed, 06 Jun 2007 15:50:21 +0000 |
parents | 0e3a8505ebbe |
children | ac904659104f |
comparison
equal
deleted
inserted
replaced
17717:f189497429c5 | 17718:8410511f4dbb |
---|---|
1 /** | |
2 * GNT - The GLib Ncurses Toolkit | |
3 * | |
4 * GNT is the legal property of its developers, whose names are too numerous | |
5 * to list here. Please refer to the COPYRIGHT file distributed with this | |
6 * source distribution. | |
7 * | |
8 * This library is free software; you can redistribute it and/or modify | |
9 * it under the terms of the GNU General Public License as published by | |
10 * the Free Software Foundation; either version 2 of the License, or | |
11 * (at your option) any later version. | |
12 * | |
13 * This program is distributed in the hope that it will be useful, | |
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 * GNU General Public License for more details. | |
17 * | |
18 * You should have received a copy of the GNU General Public License | |
19 * along with this program; if not, write to the Free Software | |
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
21 */ | |
22 | |
1 #include "gnt.h" | 23 #include "gnt.h" |
2 | 24 |
3 typedef enum | 25 typedef enum |
4 { | 26 { |
5 GNT_STYLE_SHADOW = 0, | 27 GNT_STYLE_SHADOW = 0, |
8 GNT_STYLE_WM = 3, | 30 GNT_STYLE_WM = 3, |
9 GNT_STYLE_REMPOS = 4, | 31 GNT_STYLE_REMPOS = 4, |
10 GNT_STYLES | 32 GNT_STYLES |
11 } GntStyle; | 33 } GntStyle; |
12 | 34 |
35 /** | |
36 * | |
37 * @param filename | |
38 */ | |
13 void gnt_style_read_configure_file(const char *filename); | 39 void gnt_style_read_configure_file(const char *filename); |
14 | 40 |
15 const char *gnt_style_get(GntStyle style); | 41 const char *gnt_style_get(GntStyle style); |
16 | 42 |
43 /** | |
44 * | |
45 * @param style | |
46 * @param def | |
47 * | |
48 * @return | |
49 */ | |
17 gboolean gnt_style_get_bool(GntStyle style, gboolean def); | 50 gboolean gnt_style_get_bool(GntStyle style, gboolean def); |
18 | 51 |
19 /* This should be called only once for the each type */ | 52 /* This should be called only once for the each type */ |
53 /** | |
54 * | |
55 * @param type | |
56 * @param hash | |
57 */ | |
20 void gnt_styles_get_keyremaps(GType type, GHashTable *hash); | 58 void gnt_styles_get_keyremaps(GType type, GHashTable *hash); |
21 | 59 |
60 /** | |
61 * | |
62 * @param type | |
63 * @param klass | |
64 */ | |
22 void gnt_style_read_actions(GType type, GntBindableClass *klass); | 65 void gnt_style_read_actions(GType type, GntBindableClass *klass); |
23 | 66 |
67 /** | |
68 * | |
69 */ | |
24 void gnt_init_styles(void); | 70 void gnt_init_styles(void); |
25 | 71 |
72 /** | |
73 * | |
74 */ | |
26 void gnt_uninit_styles(void); | 75 void gnt_uninit_styles(void); |
27 | 76 |