Mercurial > pidgin.yaz
comparison src/ui.h @ 5545:7a64114641c3
[gaim-migrate @ 5946]
I've been rewriting the prefs to move from gaimrc to prefs.xml. This will
NOT compile! I don't want to see complaints about this, as it's CVS, and
you should only be using it if you can put up with things like this. Also,
don't ask how long it'll take until it compiles again. It may be several
days. This is a big migration. Even when it works, it may not run right.
However, it's made a lot of progress, and I plan to actively work on it
today and tomorrow.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Thu, 29 May 2003 19:10:24 +0000 |
parents | 2c4c975620f0 |
children | 22cf337e8b8f |
comparison
equal
deleted
inserted
replaced
5544:0028381fa874 | 5545:7a64114641c3 |
---|---|
84 #define GAIM_LOGO 0 | 84 #define GAIM_LOGO 0 |
85 #define GAIM_ERROR 1 | 85 #define GAIM_ERROR 1 |
86 #define GAIM_WARNING 2 | 86 #define GAIM_WARNING 2 |
87 #define GAIM_INFO 3 | 87 #define GAIM_INFO 3 |
88 | 88 |
89 typedef enum { | 89 typedef enum |
90 GAIM_BUTTON_HORIZONTAL, | 90 { |
91 GAIM_BUTTON_VERTICAL | 91 GAIM_BUTTON_HORIZONTAL, |
92 GAIM_BUTTON_VERTICAL | |
93 | |
94 } GaimButtonOrientation; | |
95 | |
96 typedef enum | |
97 { | |
98 GAIM_BUTTON_TEXT, | |
99 GAIM_BUTTON_IMAGE, | |
100 GAIM_BUTTON_TEXT_IMAGE | |
101 | |
92 } GaimButtonStyle; | 102 } GaimButtonStyle; |
93 | 103 |
94 /* XXX CUI: save_pos and window_size are used by gaimrc.c which is core. | 104 /* XXX CUI: save_pos and window_size are used by gaimrc.c which is core. |
95 * Need to figure out options saving. Same goes for several global variables as well. */ | 105 * Need to figure out options saving. Same goes for several global variables as well. */ |
96 struct save_pos { | 106 struct save_pos { |
162 extern GtkWidget *awaymenu; | 172 extern GtkWidget *awaymenu; |
163 extern GtkWidget *awayqueue; | 173 extern GtkWidget *awayqueue; |
164 extern GtkListStore *awayqueuestore; | 174 extern GtkListStore *awayqueuestore; |
165 | 175 |
166 /* Globals in dialog.c */ | 176 /* Globals in dialog.c */ |
167 extern char fontface[128]; | |
168 extern char fontxfld[256]; | 177 extern char fontxfld[256]; |
169 extern int fontsize; | |
170 extern GdkColor bgcolor; | |
171 extern GdkColor fgcolor; | |
172 extern int smiley_array[FACE_TOTAL]; | 178 extern int smiley_array[FACE_TOTAL]; |
173 extern GtkWidget *fgcseld; | 179 extern GtkWidget *fgcseld; |
174 extern GtkWidget *bgcseld; | 180 extern GtkWidget *bgcseld; |
175 void build_allow_list(); | 181 void build_allow_list(); |
176 void build_block_list(); | 182 void build_block_list(); |
279 extern void apply_font(GtkWidget *widget, GtkFontSelection *fontsel); | 285 extern void apply_font(GtkWidget *widget, GtkFontSelection *fontsel); |
280 extern void set_color_selection(GtkWidget *selection, GdkColor color); | 286 extern void set_color_selection(GtkWidget *selection, GdkColor color); |
281 extern void show_rename_group(GtkWidget *, struct group *); | 287 extern void show_rename_group(GtkWidget *, struct group *); |
282 extern void show_rename_buddy(GtkWidget *, struct buddy *); | 288 extern void show_rename_buddy(GtkWidget *, struct buddy *); |
283 extern void load_perl_script(); | 289 extern void load_perl_script(); |
284 extern GtkWidget *gaim_pixbuf_button(char *, char *, GaimButtonStyle); | 290 extern GtkWidget *gaim_pixbuf_button(char *, char *, GaimButtonOrientation); |
285 extern GtkWidget *gaim_pixbuf_button_from_stock(const char *, const char *, GaimButtonStyle); | 291 extern GtkWidget *gaim_pixbuf_button_from_stock(const char *, const char *, GaimButtonOrientation); |
286 extern GtkWidget *gaim_pixbuf_toolbar_button_from_stock(char *); | 292 extern GtkWidget *gaim_pixbuf_toolbar_button_from_stock(char *); |
287 extern int file_is_dir(const char *, GtkWidget *); | 293 extern int file_is_dir(const char *, GtkWidget *); |
288 extern void update_privacy_connections(); | 294 extern void update_privacy_connections(); |
289 extern void show_privacy_options(); | 295 extern void show_privacy_options(); |
290 extern void build_allow_list(); | 296 extern void build_allow_list(); |