added some more macros, showcase as an image viewer of h.r. giger pics
[ego.git] / src / lib / textblock.c
bloba68a9244169d3ddfb50d4c13751ef8256f7418de
1 #include "textblock.h"
2 #include "textblock_style.h"
3 #include "luaobj.h"
4 #include "class.h"
5 #include "object.h"
6 #include "macro.h"
8 GET_STRING (ltextblock_get_text_markup, evas_object_textblock_text_markup_get);
10 SET_OBJ (ltextblock_set_style, evas_object_textblock_style_set);
11 SET_STRING (ltextblock_set_text_markup, evas_object_textblock_text_markup_set);
13 const struct luaL_Reg lTextblock_get[] = {
14 {"text_markup", ltextblock_get_text_markup},
16 {NULL, NULL} // sentinel
19 const struct luaL_Reg lTextblock_set[] = {
20 {"style", ltextblock_set_style},
21 {"text_markup", ltextblock_set_text_markup},
23 {NULL, NULL} // sentinel
26 const luaL_Reg lTextblock_nil [] = {
27 {NULL, NULL} // sentinel
30 const luaobj_Reg mTextblock = {
31 lTextblock_nil,
32 lTextblock_get,
33 lTextblock_set,
34 lTextblock_nil
37 const luaobj_Reg *cTextblock[] = {
38 &mClass,
39 &mObject,
40 &mTextblock,
41 NULL // sentinel