From b82d10ca57899ec8c2b98f1816988c3edb33ca37 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Mon, 31 Jul 2000 21:16:09 +0000 Subject: Theme fixes: /RELOAD reloads them, /SET current_theme changes the default theme, you can have window specific themes with /WINDOW THEME. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@561 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-common/core/themes.h | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'src/fe-common/core/themes.h') diff --git a/src/fe-common/core/themes.h b/src/fe-common/core/themes.h index 5b5331f8..49c29138 100644 --- a/src/fe-common/core/themes.h +++ b/src/fe-common/core/themes.h @@ -3,10 +3,6 @@ #include "printtext.h" -#define THEME_FLAG_BG_SCROLLABLE 0x0001 -#define THEME_FLAG_BG_SCALED 0x0002 -#define THEME_FLAG_BG_SHADED 0x0004 - typedef struct { char *name; @@ -19,13 +15,9 @@ typedef struct { char *name; int default_color; - char *bg_pixmap; - char *font; - int flags; - GHashTable *modules; - gpointer gui_data; + void *gui_data; } THEME_REC; extern GSList *themes; @@ -35,6 +27,8 @@ extern GHashTable *default_formats; THEME_REC *theme_create(const char *path, const char *name); void theme_destroy(THEME_REC *rec); +THEME_REC *theme_load(const char *name); + #define theme_register(formats) theme_register_module(MODULE_NAME, formats) #define theme_unregister() theme_unregister_module(MODULE_NAME) void theme_register_module(const char *module, FORMAT_REC *formats); -- cgit v1.2.3