summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_object_textgrid.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/evas/canvas/evas_object_textgrid.c')
-rw-r--r--src/lib/evas/canvas/evas_object_textgrid.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/lib/evas/canvas/evas_object_textgrid.c b/src/lib/evas/canvas/evas_object_textgrid.c
index bc2f9d9..8742a4c 100644
--- a/src/lib/evas/canvas/evas_object_textgrid.c
+++ b/src/lib/evas/canvas/evas_object_textgrid.c
@@ -480,7 +480,7 @@ _evas_textgrid_eo_base_destructor(Eo *eo_obj, Evas_Textgrid_Data *o EINA_UNUSED)
480 Evas_Object_Protected_Data *obj = eo_data_scope_get(eo_obj, EVAS_OBJECT_CLASS); 480 Evas_Object_Protected_Data *obj = eo_data_scope_get(eo_obj, EVAS_OBJECT_CLASS);
481 evas_object_textgrid_free(eo_obj, obj); 481 evas_object_textgrid_free(eo_obj, obj);
482 eo_data_unref(eo_obj, obj->private_data); 482 eo_data_unref(eo_obj, obj->private_data);
483 eo_do_super(eo_obj, MY_CLASS, eo_destructor()); 483 eo_destructor(eo_super(eo_obj, MY_CLASS));
484} 484}
485 485
486static void 486static void
@@ -1063,7 +1063,7 @@ evas_object_textgrid_add(Evas *e)
1063EOLIAN static Eo * 1063EOLIAN static Eo *
1064_evas_textgrid_eo_base_constructor(Eo *eo_obj, Evas_Textgrid_Data *class_data EINA_UNUSED) 1064_evas_textgrid_eo_base_constructor(Eo *eo_obj, Evas_Textgrid_Data *class_data EINA_UNUSED)
1065{ 1065{
1066 eo_obj = eo_do_super_ret(eo_obj, MY_CLASS, eo_obj, eo_constructor()); 1066 eo_obj = eo_constructor(eo_super(eo_obj, MY_CLASS));
1067 1067
1068 evas_object_textgrid_init(eo_obj); 1068 evas_object_textgrid_init(eo_obj);
1069 1069
@@ -1493,22 +1493,22 @@ _evas_textgrid_update_add(Eo *eo_obj, Evas_Textgrid_Data *o, int x, int y, int w
1493EOLIAN static void 1493EOLIAN static void
1494_evas_textgrid_eo_base_dbg_info_get(Eo *eo_obj, Evas_Textgrid_Data *o EINA_UNUSED, Eo_Dbg_Info *root) 1494_evas_textgrid_eo_base_dbg_info_get(Eo *eo_obj, Evas_Textgrid_Data *o EINA_UNUSED, Eo_Dbg_Info *root)
1495{ 1495{
1496 eo_do_super(eo_obj, MY_CLASS, eo_dbg_info_get(root)); 1496 eo_dbg_info_get(eo_super(eo_obj, MY_CLASS), root);
1497 Eo_Dbg_Info *group = EO_DBG_INFO_LIST_APPEND(root, MY_CLASS_NAME); 1497 Eo_Dbg_Info *group = EO_DBG_INFO_LIST_APPEND(root, MY_CLASS_NAME);
1498 Eo_Dbg_Info *node; 1498 Eo_Dbg_Info *node;
1499 1499
1500 const char *text; 1500 const char *text;
1501 int size; 1501 int size;
1502 eo_do(eo_obj, efl_text_properties_font_get(&text, &size)); 1502 efl_text_properties_font_get(eo_obj, &text, &size);
1503 EO_DBG_INFO_APPEND(group, "Font", EINA_VALUE_TYPE_STRING, text); 1503 EO_DBG_INFO_APPEND(group, "Font", EINA_VALUE_TYPE_STRING, text);
1504 EO_DBG_INFO_APPEND(group, "Text size", EINA_VALUE_TYPE_INT, size); 1504 EO_DBG_INFO_APPEND(group, "Text size", EINA_VALUE_TYPE_INT, size);
1505 1505
1506 eo_do(eo_obj, text = efl_text_properties_font_source_get()); 1506 text = efl_text_properties_font_source_get(eo_obj);
1507 EO_DBG_INFO_APPEND(group, "Font source", EINA_VALUE_TYPE_STRING, text); 1507 EO_DBG_INFO_APPEND(group, "Font source", EINA_VALUE_TYPE_STRING, text);
1508 1508
1509 { 1509 {
1510 int w, h; 1510 int w, h;
1511 eo_do(eo_obj, evas_obj_textgrid_size_get(&w, &h)); 1511 evas_obj_textgrid_size_get(eo_obj, &w, &h);
1512 node = EO_DBG_INFO_LIST_APPEND(group, "Grid size"); 1512 node = EO_DBG_INFO_LIST_APPEND(group, "Grid size");
1513 EO_DBG_INFO_APPEND(node, "w", EINA_VALUE_TYPE_INT, w); 1513 EO_DBG_INFO_APPEND(node, "w", EINA_VALUE_TYPE_INT, w);
1514 EO_DBG_INFO_APPEND(node, "h", EINA_VALUE_TYPE_INT, h); 1514 EO_DBG_INFO_APPEND(node, "h", EINA_VALUE_TYPE_INT, h);
@@ -1518,27 +1518,27 @@ _evas_textgrid_eo_base_dbg_info_get(Eo *eo_obj, Evas_Textgrid_Data *o EINA_UNUSE
1518EAPI void 1518EAPI void
1519evas_object_textgrid_font_source_set(Eo *obj, const char *font_source) 1519evas_object_textgrid_font_source_set(Eo *obj, const char *font_source)
1520{ 1520{
1521 eo_do((Eo *) obj, efl_text_properties_font_source_set(font_source)); 1521 efl_text_properties_font_source_set((Eo *) obj, font_source);
1522} 1522}
1523 1523
1524EAPI const char * 1524EAPI const char *
1525evas_object_textgrid_font_source_get(const Eo *obj) 1525evas_object_textgrid_font_source_get(const Eo *obj)
1526{ 1526{
1527 const char *font_source = NULL; 1527 const char *font_source = NULL;
1528 eo_do((Eo *) obj, font_source = efl_text_properties_font_source_get()); 1528 font_source = efl_text_properties_font_source_get((Eo *) obj);
1529 return font_source; 1529 return font_source;
1530} 1530}
1531 1531
1532EAPI void 1532EAPI void
1533evas_object_textgrid_font_set(Eo *obj, const char *font_name, Evas_Font_Size font_size) 1533evas_object_textgrid_font_set(Eo *obj, const char *font_name, Evas_Font_Size font_size)
1534{ 1534{
1535 eo_do((Eo *) obj, efl_text_properties_font_set(font_name, font_size)); 1535 efl_text_properties_font_set((Eo *) obj, font_name, font_size);
1536} 1536}
1537 1537
1538EAPI void 1538EAPI void
1539evas_object_textgrid_font_get(const Eo *obj, const char **font_name, Evas_Font_Size *font_size) 1539evas_object_textgrid_font_get(const Eo *obj, const char **font_name, Evas_Font_Size *font_size)
1540{ 1540{
1541 eo_do((Eo *) obj, efl_text_properties_font_get(font_name, font_size)); 1541 efl_text_properties_font_get((Eo *) obj, font_name, font_size);
1542} 1542}
1543 1543
1544#include "canvas/evas_textgrid.eo.c" 1544#include "canvas/evas_textgrid.eo.c"