Mercurial > pidgin
comparison src/ui.h @ 6372:9dd4bb3cf1df
[gaim-migrate @ 6877]
Moved some utility functions out of dialogs.c and into gtkutils.c.
committer: Tailor Script <tailor@pidgin.im>
| author | Christian Hammond <chipx86@chipx86.com> |
|---|---|
| date | Tue, 05 Aug 2003 11:08:40 +0000 |
| parents | 8f94cce8faa5 |
| children | 5ce6fdb10c91 |
comparison
equal
deleted
inserted
replaced
| 6371:8f94cce8faa5 | 6372:9dd4bb3cf1df |
|---|---|
| 84 | 84 |
| 85 #define GAIM_LOGO 0 | 85 #define GAIM_LOGO 0 |
| 86 #define GAIM_ERROR 1 | 86 #define GAIM_ERROR 1 |
| 87 #define GAIM_WARNING 2 | 87 #define GAIM_WARNING 2 |
| 88 #define GAIM_INFO 3 | 88 #define GAIM_INFO 3 |
| 89 | |
| 90 typedef enum | |
| 91 { | |
| 92 GAIM_BUTTON_HORIZONTAL, | |
| 93 GAIM_BUTTON_VERTICAL | |
| 94 | |
| 95 } GaimButtonOrientation; | |
| 96 | |
| 97 typedef enum | |
| 98 { | |
| 99 GAIM_BUTTON_NONE = 0, | |
| 100 GAIM_BUTTON_TEXT, | |
| 101 GAIM_BUTTON_IMAGE, | |
| 102 GAIM_BUTTON_TEXT_IMAGE | |
| 103 | |
| 104 } GaimButtonStyle; | |
| 105 | 89 |
| 106 /* XXX CUI: away messages aren't really anything more than char* but we need two char*'s | 90 /* XXX CUI: away messages aren't really anything more than char* but we need two char*'s |
| 107 * for the UI so that people can name their away messages when they save them. So these | 91 * for the UI so that people can name their away messages when they save them. So these |
| 108 * are really a UI function and struct away_message should be removed from the core. */ | 92 * are really a UI function and struct away_message should be removed from the core. */ |
| 109 struct away_message { | 93 struct away_message { |
| 218 extern void cancel_link(GtkWidget *, GaimConversation *); | 202 extern void cancel_link(GtkWidget *, GaimConversation *); |
| 219 extern void show_font_dialog(GaimConversation *c, GtkWidget *font); | 203 extern void show_font_dialog(GaimConversation *c, GtkWidget *font); |
| 220 extern void cancel_font(GtkWidget *widget, GaimConversation *c); | 204 extern void cancel_font(GtkWidget *widget, GaimConversation *c); |
| 221 extern void apply_font(GtkWidget *widget, GtkFontSelection *fontsel); | 205 extern void apply_font(GtkWidget *widget, GtkFontSelection *fontsel); |
| 222 extern void show_rename_group(GtkWidget *, struct group *); | 206 extern void show_rename_group(GtkWidget *, struct group *); |
| 223 extern GtkWidget *gaim_pixbuf_button(char *, char *, GaimButtonOrientation); | |
| 224 extern GtkWidget *gaim_pixbuf_button_from_stock(const char *, const char *, GaimButtonOrientation); | |
| 225 extern GtkWidget *gaim_pixbuf_toolbar_button_from_stock(char *); | |
| 226 extern void destroy_fontsel(GtkWidget *w, gpointer d); | 207 extern void destroy_fontsel(GtkWidget *w, gpointer d); |
| 227 extern void join_chat(); | 208 extern void join_chat(); |
| 228 | 209 |
| 229 /* Functions in server.c */ | 210 /* Functions in server.c */ |
| 230 /* server.c is in desperate need need of a split */ | 211 /* server.c is in desperate need need of a split */ |
