diff finch/libgnt/gntstyle.h @ 15818:0e3a8505ebbe

renamed gaim-text to finch
author Sean Egan <seanegan@gmail.com>
date Sun, 18 Mar 2007 19:38:15 +0000
parents
children 56d2ae9cbb5c 8410511f4dbb 08e93462f189
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/finch/libgnt/gntstyle.h	Sun Mar 18 19:38:15 2007 +0000
@@ -0,0 +1,27 @@
+#include "gnt.h"
+
+typedef enum
+{
+	GNT_STYLE_SHADOW = 0,
+	GNT_STYLE_COLOR = 1,
+	GNT_STYLE_MOUSE = 2,
+	GNT_STYLE_WM = 3,
+	GNT_STYLE_REMPOS = 4,
+	GNT_STYLES
+} GntStyle;
+
+void gnt_style_read_configure_file(const char *filename);
+
+const char *gnt_style_get(GntStyle style);
+
+gboolean gnt_style_get_bool(GntStyle style, gboolean def);
+
+/* This should be called only once for the each type */
+void gnt_styles_get_keyremaps(GType type, GHashTable *hash);
+
+void gnt_style_read_actions(GType type, GntBindableClass *klass);
+
+void gnt_init_styles(void);
+
+void gnt_uninit_styles(void);
+