added some more macros, showcase as an image viewer of h.r. giger pics
[ego.git] / src / lib / textblock_style.c
blob3a45b7ccc21312e61dae18382b21183d2370ebb8
1 #include "textblock_style.h"
2 #include "luaobj.h"
3 #include "class.h"
4 #include "macro.h"
6 GET_STRING (ltextblock_style_get_style, evas_textblock_style_get);
8 const struct luaL_Reg lStyle_get [] = {
9 {"style",ltextblock_style_get_style},
10 {NULL,NULL} // sentinel
13 SET_STRING (ltextblock_style_set_style, evas_textblock_style_set);
15 const struct luaL_Reg lStyle_set [] = {
16 {"style",ltextblock_style_set_style},
17 {NULL,NULL} // sentinel
20 FN (ltextblock_style_fn_free, evas_textblock_style_free);
22 const struct luaL_Reg lStyle_fn [] = {
23 {"free",ltextblock_style_fn_free},
24 {NULL,NULL} // sentinel
27 const struct luaL_Reg lStyle_mt [] = {
28 {"__gc", ltextblock_style_fn_free},
29 {NULL, NULL}
32 const luaobj_Reg mStyle = {
33 lStyle_mt, // mt
34 lStyle_get, // get
35 lStyle_set, // set
36 lStyle_fn
39 const luaobj_Reg* cStyle [] = {
40 &mClass,
41 &mStyle,
42 NULL // sentinel