summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2014-07-21 11:47:23 +0100
committerTom Hacohen <tom@stosb.com>2014-08-11 13:34:55 +0100
commitbf49e9580997975af551ea1c8bde610467b76ded (patch)
tree0e89c9a72d49b06dfa62cc46465cb10d2150ece2
parent0fc1c492d42fbf415b3fccf5aa5583007c8964e6 (diff)
downloadefl-bf49e9580997975af551ea1c8bde610467b76ded.tar.gz
Efl interfaces: Drop interface namespace from the used interfaces.
We don't need this namespace, it just makes the names long and complicated.
-rw-r--r--src/Makefile_Efl.am12
-rw-r--r--src/Makefile_Efl_Cxx.am4
-rw-r--r--src/lib/edje/edje_edit.c4
-rw-r--r--src/lib/edje/edje_edit.eo2
-rw-r--r--src/lib/edje/edje_load.c2
-rw-r--r--src/lib/edje/edje_object.eo6
-rw-r--r--src/lib/edje/edje_smart.c8
-rw-r--r--src/lib/edje/edje_text.c42
-rw-r--r--src/lib/efl/Efl.h4
-rw-r--r--src/lib/efl/interfaces/efl_file.eo (renamed from src/lib/efl/interfaces/efl_interface_file.eo)2
-rw-r--r--src/lib/efl/interfaces/efl_interfaces_main.c4
-rw-r--r--src/lib/efl/interfaces/efl_text_properties.eo (renamed from src/lib/efl/interfaces/efl_interface_text_properties.eo)2
-rw-r--r--src/lib/evas/canvas/evas_object_text.c20
-rw-r--r--src/lib/evas/canvas/evas_object_textgrid.c20
-rw-r--r--src/lib/evas/canvas/evas_text.eo10
-rw-r--r--src/lib/evas/canvas/evas_textgrid.eo10
16 files changed, 76 insertions, 76 deletions
diff --git a/src/Makefile_Efl.am b/src/Makefile_Efl.am
index c6d9ce3bf6..675e30f743 100644
--- a/src/Makefile_Efl.am
+++ b/src/Makefile_Efl.am
@@ -1,25 +1,25 @@
BUILT_SOURCES += \
lib/efl/interfaces/efl_interface_color.eo.c \
lib/efl/interfaces/efl_interface_color.eo.h \
- lib/efl/interfaces/efl_interface_file.eo.c \
- lib/efl/interfaces/efl_interface_file.eo.h \
+ lib/efl/interfaces/efl_file.eo.c \
+ lib/efl/interfaces/efl_file.eo.h \
lib/efl/interfaces/efl_interface_gui_object.eo.c \
lib/efl/interfaces/efl_interface_gui_object.eo.h \
lib/efl/interfaces/efl_interface_image.eo.c \
lib/efl/interfaces/efl_interface_image.eo.h \
lib/efl/interfaces/efl_interface_text.eo.c \
lib/efl/interfaces/efl_interface_text.eo.h \
- lib/efl/interfaces/efl_interface_text_properties.eo.c \
- lib/efl/interfaces/efl_interface_text_properties.eo.h
+ lib/efl/interfaces/efl_text_properties.eo.c \
+ lib/efl/interfaces/efl_text_properties.eo.h
efleolianfilesdir = $(datadir)/eolian/include/efl-@VMAJ@
efleolianfiles_DATA = \
lib/efl/interfaces/efl_interface_color.eo \
- lib/efl/interfaces/efl_interface_file.eo \
+ lib/efl/interfaces/efl_file.eo \
lib/efl/interfaces/efl_interface_gui_object.eo \
lib/efl/interfaces/efl_interface_image.eo \
lib/efl/interfaces/efl_interface_text.eo \
- lib/efl/interfaces/efl_interface_text_properties.eo
+ lib/efl/interfaces/efl_text_properties.eo
EXTRA_DIST += \
${efleolianfiles_DATA}
diff --git a/src/Makefile_Efl_Cxx.am b/src/Makefile_Efl_Cxx.am
index 43eb8ebce3..fb79e62ab8 100644
--- a/src/Makefile_Efl_Cxx.am
+++ b/src/Makefile_Efl_Cxx.am
@@ -3,8 +3,8 @@ if HAVE_CXX11
### Generated headers
generated_efl_cxx_bindings = \
- lib/efl/interfaces/efl_interface_file.eo.hh \
- lib/efl/interfaces/efl_interface_text_properties.eo.hh
+ lib/efl/interfaces/efl_file.eo.hh \
+ lib/efl/interfaces/efl_text_properties.eo.hh
lib/efl/Efl.hh: $(generated_efl_cxx_bindings)
@echo -e "#ifndef EFL_CXX_EDJE_HH\n#define EFL_CXX_EDJE_HH\n" > $(top_builddir)/src/lib/efl/Efl.hh
diff --git a/src/lib/edje/edje_edit.c b/src/lib/edje/edje_edit.c
index 7ae63d4e4b..198b4134d8 100644
--- a/src/lib/edje/edje_edit.c
+++ b/src/lib/edje/edje_edit.c
@@ -169,7 +169,7 @@ _edje_edit_program_script_free(Program_Script *ps)
}
EOLIAN static Eina_Bool
-_edje_edit_efl_interface_file_file_set(Eo *obj, Edje_Edit *eed, const char *file, const char *group)
+_edje_edit_efl_file_file_set(Eo *obj, Edje_Edit *eed, const char *file, const char *group)
{
Eina_Bool ret;
Eet_File *ef;
@@ -195,7 +195,7 @@ _edje_edit_efl_interface_file_file_set(Eo *obj, Edje_Edit *eed, const char *file
* groups).
*/
Eina_Bool int_ret = EINA_FALSE;
- eo_do_super(obj, MY_CLASS, int_ret = efl_interface_file_set(file, group));
+ eo_do_super(obj, MY_CLASS, int_ret = efl_file_set(file, group));
if (!int_ret)
return ret;
diff --git a/src/lib/edje/edje_edit.eo b/src/lib/edje/edje_edit.eo
index 81a1a88da8..68b3387a3f 100644
--- a/src/lib/edje/edje_edit.eo
+++ b/src/lib/edje/edje_edit.eo
@@ -5,6 +5,6 @@ class Edje.Edit (Edje.Object)
Eo.Base.constructor;
Eo.Base.destructor;
Evas.Object_Smart.del;
- Efl.Interface.File.file.set;
+ Efl.File.file.set;
}
}
diff --git a/src/lib/edje/edje_load.c b/src/lib/edje/edje_load.c
index b22bfb8316..0d8a3d5e9b 100644
--- a/src/lib/edje/edje_load.c
+++ b/src/lib/edje/edje_load.c
@@ -73,7 +73,7 @@ static int _sort_defined_boxes(const void *a, const void *b);
/************************** API Routines **************************/
EOLIAN void
-_edje_object_efl_interface_file_file_get(Eo *obj EINA_UNUSED, Edje *ed, const char **file, const char **group)
+_edje_object_efl_file_file_get(Eo *obj EINA_UNUSED, Edje *ed, const char **file, const char **group)
{
if (file) *file = ed->path;
if (group) *group = ed->group;
diff --git a/src/lib/edje/edje_object.eo b/src/lib/edje/edje_object.eo
index 9e2c4f3c93..cdb7ba8fce 100644
--- a/src/lib/edje/edje_object.eo
+++ b/src/lib/edje/edje_object.eo
@@ -1,4 +1,4 @@
-class Edje.Object (Evas.Smart_Clipped, Efl.Interface.File)
+class Edje.Object (Evas.Smart_Clipped, Efl.File)
{
legacy_prefix: edje_object;
eo_prefix: edje_obj;
@@ -2348,7 +2348,7 @@ class Edje.Object (Evas.Smart_Clipped, Efl.Interface.File)
Evas.Object_Smart.add;
Evas.Object_Smart.del;
Evas.Object_Smart.resize;
- Efl.Interface.File.file.set;
- Efl.Interface.File.file.get;
+ Efl.File.file.set;
+ Efl.File.file.get;
}
}
diff --git a/src/lib/edje/edje_smart.c b/src/lib/edje/edje_smart.c
index 931d349ff0..dd8ccbf799 100644
--- a/src/lib/edje/edje_smart.c
+++ b/src/lib/edje/edje_smart.c
@@ -48,7 +48,7 @@ _edje_object_eo_base_dbg_info_get(Eo *eo_obj, Edje *_pd EINA_UNUSED, Eo_Dbg_Info
Eo_Dbg_Info *group = EO_DBG_INFO_LIST_APPEND(root, MY_CLASS_NAME);
const char *file, *edje_group;
- eo_do(eo_obj, efl_interface_file_get(&file, &edje_group));
+ eo_do(eo_obj, efl_file_get(&file, &edje_group));
EO_DBG_INFO_APPEND(group, "File", EINA_VALUE_TYPE_STRING, file);
EO_DBG_INFO_APPEND(group, "Group", EINA_VALUE_TYPE_STRING, edje_group);
@@ -332,7 +332,7 @@ _edje_object_evas_object_smart_calculate(Eo *obj EINA_UNUSED, Edje *ed)
}
EOLIAN static Eina_Bool
-_edje_object_efl_interface_file_file_set(Eo *obj, Edje *_pd EINA_UNUSED, const char *file, const char *group)
+_edje_object_efl_file_file_set(Eo *obj, Edje *_pd EINA_UNUSED, const char *file, const char *group)
{
Eina_Bool ret;
Eina_File *f = NULL;
@@ -387,14 +387,14 @@ EAPI Eina_Bool
edje_object_file_set(Eo *obj, const char *file, const char *group)
{
Eina_Bool ret = 0;
- eo_do((Eo *) obj, ret = efl_interface_file_set(file, group));
+ eo_do((Eo *) obj, ret = efl_file_set(file, group));
return ret;
}
EAPI void
edje_object_file_get(const Eo *obj, const char **file, const char **group)
{
- eo_do((Eo *) obj, efl_interface_file_get(file, group));
+ eo_do((Eo *) obj, efl_file_get(file, group));
}
#include "edje_object.eo.c"
diff --git a/src/lib/edje/edje_text.c b/src/lib/edje/edje_text.c
index b38c284577..46973d5939 100644
--- a/src/lib/edje/edje_text.c
+++ b/src/lib/edje/edje_text.c
@@ -98,7 +98,7 @@ _edje_text_fit_x(Edje *ed, Edje_Real_Part *ep,
eo_do(ep->object,
evas_obj_text_ellipsis_set(params->type.text.ellipsis),
- efl_interface_text_properties_font_set(font, size),
+ efl_text_properties_font_set(font, size),
evas_obj_text_set(text),
evas_obj_size_set(sw, sh));
@@ -288,12 +288,12 @@ _edje_text_recalc_apply(Edje *ed, Edje_Real_Part *ep,
{
eo_do(ep->object,
- if (inlined_font) efl_interface_text_properties_font_source_set(ed->path);
- else efl_interface_text_properties_font_source_set(NULL);
+ if (inlined_font) efl_text_properties_font_source_set(ed->path);
+ else efl_text_properties_font_source_set(NULL);
if (ep->part->scale) evas_obj_scale_set(TO_DOUBLE(sc));
- efl_interface_text_properties_font_set(font, size);
+ efl_text_properties_font_set(font, size);
evas_obj_text_set(text));
part_get_geometry(ep, &tw, &th);
@@ -304,12 +304,12 @@ _edje_text_recalc_apply(Edje *ed, Edje_Real_Part *ep,
eo_do(ep->object,
- if (inlined_font) efl_interface_text_properties_font_source_set(ed->path);
- else efl_interface_text_properties_font_source_set(NULL);
+ if (inlined_font) efl_text_properties_font_source_set(ed->path);
+ else efl_text_properties_font_source_set(NULL);
if (ep->part->scale) evas_obj_scale_set(TO_DOUBLE(sc));
- efl_interface_text_properties_font_set(font, size));
+ efl_text_properties_font_set(font, size));
part_get_geometry(ep, &tw, &th);
}
@@ -328,12 +328,12 @@ _edje_text_recalc_apply(Edje *ed, Edje_Real_Part *ep,
eo_do(ep->object,
- if (inlined_font) efl_interface_text_properties_font_source_set(ed->path);
- else efl_interface_text_properties_font_source_set(NULL);
+ if (inlined_font) efl_text_properties_font_source_set(ed->path);
+ else efl_text_properties_font_source_set(NULL);
if (ep->part->scale) evas_obj_scale_set(TO_DOUBLE(sc));
- efl_interface_text_properties_font_set(font, size);
+ efl_text_properties_font_set(font, size);
evas_obj_text_set(text));
part_get_geometry(ep, &tw, &th);
@@ -353,11 +353,11 @@ _edje_text_recalc_apply(Edje *ed, Edje_Real_Part *ep,
eo_do(ep->object,
- if (inlined_font) efl_interface_text_properties_font_source_set(ed->path);
- else efl_interface_text_properties_font_source_set(NULL);
+ if (inlined_font) efl_text_properties_font_source_set(ed->path);
+ else efl_text_properties_font_source_set(NULL);
if (ep->part->scale) evas_obj_scale_set(TO_DOUBLE(sc));
- efl_interface_text_properties_font_set(font, size));
+ efl_text_properties_font_set(font, size));
part_get_geometry(ep, &tw, &th);
if ((size > 0) && (th == 0)) break;
@@ -370,7 +370,7 @@ _edje_text_recalc_apply(Edje *ed, Edje_Real_Part *ep,
eo_do(ep->object,
if (ep->part->scale) evas_obj_scale_set(TO_DOUBLE(sc));
- efl_interface_text_properties_font_set(font, 10));
+ efl_text_properties_font_set(font, 10));
part_get_geometry(ep, &tw, &th);
@@ -392,7 +392,7 @@ _edje_text_recalc_apply(Edje *ed, Edje_Real_Part *ep,
eo_do(ep->object,
if (ep->part->scale) evas_obj_scale_set(TO_DOUBLE(sc));
- efl_interface_text_properties_font_set(font, current));
+ efl_text_properties_font_set(font, current));
part_get_geometry(ep, &tw, &th);
@@ -408,7 +408,7 @@ _edje_text_recalc_apply(Edje *ed, Edje_Real_Part *ep,
eo_do(ep->object,
if (ep->part->scale) evas_obj_scale_set(TO_DOUBLE(sc));
- efl_interface_text_properties_font_set(font, current));
+ efl_text_properties_font_set(font, current));
part_get_geometry(ep, &tw, &th);
} while (th <= sh);
@@ -429,8 +429,8 @@ _edje_text_recalc_apply(Edje *ed, Edje_Real_Part *ep,
if (!chosen_desc->text.min_x)
{
eo_do(ep->object,
- if (inlined_font) efl_interface_text_properties_font_source_set(ed->path);
- else efl_interface_text_properties_font_source_set(NULL));
+ if (inlined_font) efl_text_properties_font_source_set(ed->path);
+ else efl_text_properties_font_source_set(NULL));
text = _edje_text_fit_x(ed, ep, params,
text, font, size,
@@ -472,12 +472,12 @@ _edje_text_recalc_apply(Edje *ed, Edje_Real_Part *ep,
arrange_text:
eo_do(ep->object,
- if (inlined_font) efl_interface_text_properties_font_source_set(ed->path);
- else efl_interface_text_properties_font_source_set(NULL);
+ if (inlined_font) efl_text_properties_font_source_set(ed->path);
+ else efl_text_properties_font_source_set(NULL);
if (ep->part->scale) evas_obj_scale_set(TO_DOUBLE(sc));
- efl_interface_text_properties_font_set(font, size),
+ efl_text_properties_font_set(font, size),
evas_obj_text_set(text));
part_get_geometry(ep, &tw, &th);
diff --git a/src/lib/efl/Efl.h b/src/lib/efl/Efl.h
index 3962093a05..7bccaac721 100644
--- a/src/lib/efl/Efl.h
+++ b/src/lib/efl/Efl.h
@@ -4,7 +4,7 @@
#include <Eo.h>
/* Interfaces */
-#include "interfaces/efl_interface_file.eo.h"
-#include "interfaces/efl_interface_text_properties.eo.h"
+#include "interfaces/efl_file.eo.h"
+#include "interfaces/efl_text_properties.eo.h"
#endif
diff --git a/src/lib/efl/interfaces/efl_interface_file.eo b/src/lib/efl/interfaces/efl_file.eo
index 847479bacf..ac20768fca 100644
--- a/src/lib/efl/interfaces/efl_interface_file.eo
+++ b/src/lib/efl/interfaces/efl_file.eo
@@ -1,4 +1,4 @@
-interface Efl.Interface.File {
+interface Efl.File {
legacy_prefix: null;
properties {
file {
diff --git a/src/lib/efl/interfaces/efl_interfaces_main.c b/src/lib/efl/interfaces/efl_interfaces_main.c
index d1a407f35e..d96e04d4a2 100644
--- a/src/lib/efl/interfaces/efl_interfaces_main.c
+++ b/src/lib/efl/interfaces/efl_interfaces_main.c
@@ -4,5 +4,5 @@
#include <Efl.h>
-#include "interfaces/efl_interface_file.eo.c"
-#include "interfaces/efl_interface_text_properties.eo.c"
+#include "interfaces/efl_file.eo.c"
+#include "interfaces/efl_text_properties.eo.c"
diff --git a/src/lib/efl/interfaces/efl_interface_text_properties.eo b/src/lib/efl/interfaces/efl_text_properties.eo
index 785209a6c7..fb4f945787 100644
--- a/src/lib/efl/interfaces/efl_interface_text_properties.eo
+++ b/src/lib/efl/interfaces/efl_text_properties.eo
@@ -1,6 +1,6 @@
type Efl_Font_Size: int;
-interface Efl.Interface.Text_Properties {
+interface Efl.Text_Properties {
legacy_prefix: null;
properties {
font {
diff --git a/src/lib/evas/canvas/evas_object_text.c b/src/lib/evas/canvas/evas_object_text.c
index 426b1d41e0..54ab47f7e2 100644
--- a/src/lib/evas/canvas/evas_object_text.c
+++ b/src/lib/evas/canvas/evas_object_text.c
@@ -388,7 +388,7 @@ _evas_text_eo_base_constructor(Eo *eo_obj, Evas_Text_Data *class_data EINA_UNUSE
}
EOLIAN static void
-_evas_text_efl_interface_text_properties_font_source_set(Eo *eo_obj EINA_UNUSED, Evas_Text_Data *o, const char *font_source)
+_evas_text_efl_text_properties_font_source_set(Eo *eo_obj EINA_UNUSED, Evas_Text_Data *o, const char *font_source)
{
if ((o->cur.source) && (font_source) &&
(!strcmp(o->cur.source, font_source)))
@@ -402,14 +402,14 @@ _evas_text_efl_interface_text_properties_font_source_set(Eo *eo_obj EINA_UNUSED,
}
EOLIAN static const char*
-_evas_text_efl_interface_text_properties_font_source_get(Eo *eo_obj EINA_UNUSED, Evas_Text_Data *o)
+_evas_text_efl_text_properties_font_source_get(Eo *eo_obj EINA_UNUSED, Evas_Text_Data *o)
{
return o->cur.source;
}
EOLIAN static void
-_evas_text_efl_interface_text_properties_font_set(Eo *eo_obj, Evas_Text_Data *o, const char *font, Evas_Font_Size size)
+_evas_text_efl_text_properties_font_set(Eo *eo_obj, Evas_Text_Data *o, const char *font, Evas_Font_Size size)
{
Eina_Bool is, was = EINA_FALSE;
Eina_Bool pass = EINA_FALSE, freeze = EINA_FALSE;
@@ -497,7 +497,7 @@ _evas_text_efl_interface_text_properties_font_set(Eo *eo_obj, Evas_Text_Data *o,
}
EOLIAN static void
-_evas_text_efl_interface_text_properties_font_get(Eo *eo_obj EINA_UNUSED, Evas_Text_Data *o, const char **font, Evas_Font_Size *size)
+_evas_text_efl_text_properties_font_get(Eo *eo_obj EINA_UNUSED, Evas_Text_Data *o, const char **font, Evas_Font_Size *size)
{
if (font) *font = o->cur.font;
if (size) *size = o->cur.size;
@@ -955,11 +955,11 @@ _evas_text_eo_base_dbg_info_get(Eo *eo_obj, Evas_Text_Data *o EINA_UNUSED, Eo_Db
const char *text;
int size;
- eo_do(eo_obj, efl_interface_text_properties_font_get(&text, &size));
+ eo_do(eo_obj, efl_text_properties_font_get(&text, &size));
EO_DBG_INFO_APPEND(group, "Font", EINA_VALUE_TYPE_STRING, text);
EO_DBG_INFO_APPEND(group, "Text size", EINA_VALUE_TYPE_INT, size);
- eo_do(eo_obj, text = efl_interface_text_properties_font_source_get());
+ eo_do(eo_obj, text = efl_text_properties_font_source_get());
EO_DBG_INFO_APPEND(group, "Font source", EINA_VALUE_TYPE_STRING, text);
eo_do(eo_obj, text = evas_obj_text_get());
@@ -2469,27 +2469,27 @@ update:
EAPI void
evas_object_text_font_source_set(Eo *obj, const char *font_source)
{
- eo_do((Eo *) obj, efl_interface_text_properties_font_source_set(font_source));
+ eo_do((Eo *) obj, efl_text_properties_font_source_set(font_source));
}
EAPI const char *
evas_object_text_font_source_get(const Eo *obj)
{
const char *font_source = 0;
- eo_do((Eo *) obj, font_source = efl_interface_text_properties_font_source_get());
+ eo_do((Eo *) obj, font_source = efl_text_properties_font_source_get());
return font_source;
}
EAPI void
evas_object_text_font_set(Eo *obj, const char *font, Evas_Font_Size size)
{
- eo_do((Eo *) obj, efl_interface_text_properties_font_set(font, size));
+ eo_do((Eo *) obj, efl_text_properties_font_set(font, size));
}
EAPI void
evas_object_text_font_get(const Eo *obj, const char **font, Evas_Font_Size *size)
{
- eo_do((Eo *) obj, efl_interface_text_properties_font_get(font, size));
+ eo_do((Eo *) obj, efl_text_properties_font_get(font, size));
}
#include "canvas/evas_text.eo.c"
diff --git a/src/lib/evas/canvas/evas_object_textgrid.c b/src/lib/evas/canvas/evas_object_textgrid.c
index acecbb2858..309efa2f69 100644
--- a/src/lib/evas/canvas/evas_object_textgrid.c
+++ b/src/lib/evas/canvas/evas_object_textgrid.c
@@ -1124,7 +1124,7 @@ _evas_textgrid_size_get(Eo *eo_obj EINA_UNUSED, Evas_Textgrid_Data *o, int *w, i
}
EOLIAN static void
-_evas_textgrid_efl_interface_text_properties_font_source_set(Eo *eo_obj, Evas_Textgrid_Data *o, const char *font_source)
+_evas_textgrid_efl_text_properties_font_source_set(Eo *eo_obj, Evas_Textgrid_Data *o, const char *font_source)
{
if ((!font_source) || (!*font_source))
@@ -1141,13 +1141,13 @@ _evas_textgrid_efl_interface_text_properties_font_source_set(Eo *eo_obj, Evas_Te
}
EOLIAN static const char*
-_evas_textgrid_efl_interface_text_properties_font_source_get(Eo *eo_obj EINA_UNUSED, Evas_Textgrid_Data *o)
+_evas_textgrid_efl_text_properties_font_source_get(Eo *eo_obj EINA_UNUSED, Evas_Textgrid_Data *o)
{
return o->cur.font_source;
}
EOLIAN static void
-_evas_textgrid_efl_interface_text_properties_font_set(Eo *eo_obj, Evas_Textgrid_Data *o, const char *font_name, Evas_Font_Size font_size)
+_evas_textgrid_efl_text_properties_font_set(Eo *eo_obj, Evas_Textgrid_Data *o, const char *font_name, Evas_Font_Size font_size)
{
Evas_Object_Protected_Data *obj = eo_data_scope_get(eo_obj, EVAS_OBJECT_CLASS);
Eina_Bool is, was = EINA_FALSE;
@@ -1283,7 +1283,7 @@ _evas_textgrid_efl_interface_text_properties_font_set(Eo *eo_obj, Evas_Textgrid_
}
EOLIAN static void
-_evas_textgrid_efl_interface_text_properties_font_get(Eo *eo_obj EINA_UNUSED, Evas_Textgrid_Data *o, const char **font_name, Evas_Font_Size *font_size)
+_evas_textgrid_efl_text_properties_font_get(Eo *eo_obj EINA_UNUSED, Evas_Textgrid_Data *o, const char **font_name, Evas_Font_Size *font_size)
{
if (font_name) *font_name = o->cur.font_name;
if (font_size) *font_size = o->cur.font_size;
@@ -1491,11 +1491,11 @@ _evas_textgrid_eo_base_dbg_info_get(Eo *eo_obj, Evas_Textgrid_Data *o EINA_UNUSE
const char *text;
int size;
- eo_do(eo_obj, efl_interface_text_properties_font_get(&text, &size));
+ eo_do(eo_obj, efl_text_properties_font_get(&text, &size));
EO_DBG_INFO_APPEND(group, "Font", EINA_VALUE_TYPE_STRING, text);
EO_DBG_INFO_APPEND(group, "Text size", EINA_VALUE_TYPE_INT, size);
- eo_do(eo_obj, text = efl_interface_text_properties_font_source_get());
+ eo_do(eo_obj, text = efl_text_properties_font_source_get());
EO_DBG_INFO_APPEND(group, "Font source", EINA_VALUE_TYPE_STRING, text);
{
@@ -1510,27 +1510,27 @@ _evas_textgrid_eo_base_dbg_info_get(Eo *eo_obj, Evas_Textgrid_Data *o EINA_UNUSE
EAPI void
evas_object_textgrid_font_source_set(Eo *obj, const char *font_source)
{
- eo_do((Eo *) obj, efl_interface_text_properties_font_source_set(font_source));
+ eo_do((Eo *) obj, efl_text_properties_font_source_set(font_source));
}
EAPI const char *
evas_object_textgrid_font_source_get(const Eo *obj)
{
const char *font_source = NULL;
- eo_do((Eo *) obj, font_source = efl_interface_text_properties_font_source_get());
+ eo_do((Eo *) obj, font_source = efl_text_properties_font_source_get());
return font_source;
}
EAPI void
evas_object_textgrid_font_set(Eo *obj, const char *font_name, Evas_Font_Size font_size)
{
- eo_do((Eo *) obj, efl_interface_text_properties_font_set(font_name, font_size));
+ eo_do((Eo *) obj, efl_text_properties_font_set(font_name, font_size));
}
EAPI void
evas_object_textgrid_font_get(const Eo *obj, const char **font_name, Evas_Font_Size *font_size)
{
- eo_do((Eo *) obj, efl_interface_text_properties_font_get(font_name, font_size));
+ eo_do((Eo *) obj, efl_text_properties_font_get(font_name, font_size));
}
#include "canvas/evas_textgrid.eo.c"
diff --git a/src/lib/evas/canvas/evas_text.eo b/src/lib/evas/canvas/evas_text.eo
index 7019f62cc7..b2e897abe0 100644
--- a/src/lib/evas/canvas/evas_text.eo
+++ b/src/lib/evas/canvas/evas_text.eo
@@ -1,4 +1,4 @@
-class Evas.Text (Evas.Object, Efl.Interface.Text_Properties)
+class Evas.Text (Evas.Object, Efl.Text_Properties)
{
legacy_prefix: evas_object_text;
eo_prefix: evas_obj_text;
@@ -385,9 +385,9 @@ class Evas.Text (Evas.Object, Efl.Interface.Text_Properties)
Eo.Base.destructor;
Eo.Base.dbg_info_get;
Evas.Object.size.set;
- Efl.Interface.Text_Properties.font.get;
- Efl.Interface.Text_Properties.font.set;
- Efl.Interface.Text_Properties.font_source.get;
- Efl.Interface.Text_Properties.font_source.set;
+ Efl.Text_Properties.font.get;
+ Efl.Text_Properties.font.set;
+ Efl.Text_Properties.font_source.get;
+ Efl.Text_Properties.font_source.set;
}
}
diff --git a/src/lib/evas/canvas/evas_textgrid.eo b/src/lib/evas/canvas/evas_textgrid.eo
index f1465e5d33..1c9c6776dd 100644
--- a/src/lib/evas/canvas/evas_textgrid.eo
+++ b/src/lib/evas/canvas/evas_textgrid.eo
@@ -1,4 +1,4 @@
-class Evas.Textgrid (Evas.Object, Efl.Interface.Text_Properties)
+class Evas.Textgrid (Evas.Object, Efl.Text_Properties)
{
legacy_prefix: evas_object_textgrid;
eo_prefix: evas_obj_textgrid;
@@ -195,9 +195,9 @@ class Evas.Textgrid (Evas.Object, Efl.Interface.Text_Properties)
Eo.Base.constructor;
Eo.Base.destructor;
Eo.Base.dbg_info_get;
- Efl.Interface.Text_Properties.font.get;
- Efl.Interface.Text_Properties.font.set;
- Efl.Interface.Text_Properties.font_source.get;
- Efl.Interface.Text_Properties.font_source.set;
+ Efl.Text_Properties.font.get;
+ Efl.Text_Properties.font.set;
+ Efl.Text_Properties.font_source.get;
+ Efl.Text_Properties.font_source.set;
}
}