diff 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
line wrap: on
line diff
--- a/src/ui.h	Thu May 29 17:35:28 2003 +0000
+++ b/src/ui.h	Thu May 29 19:10:24 2003 +0000
@@ -86,9 +86,19 @@
 #define GAIM_WARNING 2
 #define GAIM_INFO 3
 
-typedef enum {
-		GAIM_BUTTON_HORIZONTAL,
-		GAIM_BUTTON_VERTICAL
+typedef enum
+{
+	GAIM_BUTTON_HORIZONTAL,
+	GAIM_BUTTON_VERTICAL
+
+} GaimButtonOrientation;
+
+typedef enum
+{
+	GAIM_BUTTON_TEXT,
+	GAIM_BUTTON_IMAGE,
+	GAIM_BUTTON_TEXT_IMAGE
+
 } GaimButtonStyle;
 
 /* XXX CUI: save_pos and window_size are used by gaimrc.c which is core.
@@ -164,11 +174,7 @@
 extern GtkListStore *awayqueuestore;
 
 /* Globals in dialog.c */
-extern char fontface[128];
 extern char fontxfld[256];
-extern int fontsize;
-extern GdkColor bgcolor;
-extern GdkColor fgcolor;
 extern int smiley_array[FACE_TOTAL];
 extern GtkWidget *fgcseld;
 extern GtkWidget *bgcseld;
@@ -281,8 +287,8 @@
 extern void show_rename_group(GtkWidget *, struct group *);
 extern void show_rename_buddy(GtkWidget *, struct buddy *);
 extern void load_perl_script();
-extern GtkWidget *gaim_pixbuf_button(char *, char *, GaimButtonStyle);
-extern GtkWidget *gaim_pixbuf_button_from_stock(const char *, const char *, GaimButtonStyle);
+extern GtkWidget *gaim_pixbuf_button(char *, char *, GaimButtonOrientation);
+extern GtkWidget *gaim_pixbuf_button_from_stock(const char *, const char *, GaimButtonOrientation);
 extern GtkWidget *gaim_pixbuf_toolbar_button_from_stock(char *);
 extern int file_is_dir(const char *, GtkWidget *);
 extern void update_privacy_connections();