PageRenderTime 12ms CodeModel.GetById 9ms app.highlight 0ms RepoModel.GetById 2ms app.codeStats 0ms

/tools/luagen/idl/ftk_theme.idl

http://ftk.googlecode.com/
IDL | 15 lines | 13 code | 2 blank | 0 comment | 0 complexity | b4c2d19e334a59b9105d814291c8ee77 MD5 | raw file
 1#include "ftk_typedef.idl"
 2
 3interface FtkTheme
 4{
 5	FtkThemePtr  ftk_theme_create(in int init_default);
 6	Ret        ftk_theme_parse_file(in FtkThemePtr thiz, in CStrPtr filename);
 7	Ret        ftk_theme_parse_data(in FtkThemePtr thiz, in CStrPtr data, in size_t length);
 8	FtkBitmapPtr ftk_theme_load_image(in FtkThemePtr thiz, in CStrPtr filename);
 9	FtkBitmapPtr ftk_theme_get_bg(in FtkThemePtr thiz, in FtkWidgetType type, in FtkWidgetState state);
10	FtkColor   ftk_theme_get_bg_color(in FtkThemePtr thiz, in FtkWidgetType type, in FtkWidgetState state);
11	FtkColor   ftk_theme_get_fg_color(in FtkThemePtr thiz, in FtkWidgetType type, in FtkWidgetState state);
12	FtkColor   ftk_theme_get_border_color(in FtkThemePtr thiz, in FtkWidgetType type, in FtkWidgetState state);
13	void       ftk_theme_destroy(in FtkThemePtr thiz);
14};
15