mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 12:23:37 +02:00
..adding new files..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@171 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
d01b094151
commit
c95034c6de
206 changed files with 31247 additions and 0 deletions
40
src/fe-common/core/themes.h
Normal file
40
src/fe-common/core/themes.h
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
#ifndef __THEMES_H
|
||||
#define __THEMES_H
|
||||
|
||||
#define THEME_FLAG_BG_SCROLLABLE 0x0001
|
||||
#define THEME_FLAG_BG_SCALED 0x0002
|
||||
#define THEME_FLAG_BG_SHADED 0x0004
|
||||
|
||||
typedef struct
|
||||
{
|
||||
char *name;
|
||||
|
||||
char **formatlist;
|
||||
char **format;
|
||||
}
|
||||
MODULE_THEME_REC;
|
||||
|
||||
typedef struct {
|
||||
char *path;
|
||||
char *name;
|
||||
|
||||
int default_color;
|
||||
char *bg_pixmap;
|
||||
char *font;
|
||||
int flags;
|
||||
|
||||
GHashTable *modules;
|
||||
|
||||
gpointer gui_data;
|
||||
} THEME_REC;
|
||||
|
||||
extern GSList *themes;
|
||||
extern THEME_REC *current_theme;
|
||||
|
||||
THEME_REC *theme_create(const char *path, const char *name);
|
||||
void theme_destroy(THEME_REC *rec);
|
||||
|
||||
void themes_init(void);
|
||||
void themes_deinit(void);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue