diff options
author | Amitesh Singh <amitesh.sh@samsung.com> | 2018-01-08 13:55:35 +0900 |
---|---|---|
committer | Amitesh Singh <amitesh.sh@samsung.com> | 2018-01-08 21:28:10 +0900 |
commit | 44d3227beb8b2064aa98ddedc90b29b8e9580278 (patch) | |
tree | ffa9f6c39dac2eefe6b911c1c8af954716818b1d /src/lib/elementary/elc_ctxpopup.c | |
parent | ade2c9ed520e20b7855b08df61077874e8d1d6c1 (diff) |
widget: rename elm widget to Efl.Ui.Widget.
Diffstat (limited to 'src/lib/elementary/elc_ctxpopup.c')
-rw-r--r-- | src/lib/elementary/elc_ctxpopup.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/lib/elementary/elc_ctxpopup.c b/src/lib/elementary/elc_ctxpopup.c index 8454381..5fc6ba3 100644 --- a/src/lib/elementary/elc_ctxpopup.c +++ b/src/lib/elementary/elc_ctxpopup.c | |||
@@ -4,7 +4,8 @@ | |||
4 | 4 | ||
5 | #define EFL_ACCESS_PROTECTED | 5 | #define EFL_ACCESS_PROTECTED |
6 | #define EFL_ACCESS_WIDGET_ACTION_PROTECTED | 6 | #define EFL_ACCESS_WIDGET_ACTION_PROTECTED |
7 | #define ELM_WIDGET_PROTECTED | 7 | #define EFL_UI_WIDGET_PROTECTED |
8 | //#define EFL_UI_WIDGET_BETA | ||
8 | #define ELM_WIDGET_ITEM_PROTECTED | 9 | #define ELM_WIDGET_ITEM_PROTECTED |
9 | #define EFL_UI_TRANSLATABLE_PROTECTED | 10 | #define EFL_UI_TRANSLATABLE_PROTECTED |
10 | 11 | ||
@@ -522,12 +523,12 @@ _base_shift_by_arrow(Evas_Object *arrow, | |||
522 | } | 523 | } |
523 | 524 | ||
524 | EOLIAN static Eina_Bool | 525 | EOLIAN static Eina_Bool |
525 | _elm_ctxpopup_elm_widget_widget_sub_object_add(Eo *obj, Elm_Ctxpopup_Data *_pd EINA_UNUSED, Evas_Object *sobj) | 526 | _elm_ctxpopup_efl_ui_widget_widget_sub_object_add(Eo *obj, Elm_Ctxpopup_Data *_pd EINA_UNUSED, Evas_Object *sobj) |
526 | { | 527 | { |
527 | /* Skipping elm_layout widget_sub_object_add in order to ignore size hint changes. | 528 | /* Skipping elm_layout widget_sub_object_add in order to ignore size hint changes. |
528 | * Note: It is not clear WHY we are doing this. Same reason as genlist? | 529 | * Note: It is not clear WHY we are doing this. Same reason as genlist? |
529 | */ | 530 | */ |
530 | return elm_widget_sub_object_add(efl_cast(obj, ELM_WIDGET_CLASS), sobj); | 531 | return elm_widget_sub_object_add(efl_cast(obj, EFL_UI_WIDGET_CLASS), sobj); |
531 | } | 532 | } |
532 | 533 | ||
533 | EOLIAN static void | 534 | EOLIAN static void |
@@ -667,7 +668,7 @@ _on_content_resized(void *data, | |||
667 | 668 | ||
668 | //FIXME: lost the content size when theme hook is called. | 669 | //FIXME: lost the content size when theme hook is called. |
669 | EOLIAN static Efl_Ui_Theme_Apply | 670 | EOLIAN static Efl_Ui_Theme_Apply |
670 | _elm_ctxpopup_elm_widget_theme_apply(Eo *obj, Elm_Ctxpopup_Data *sd) | 671 | _elm_ctxpopup_efl_ui_widget_theme_apply(Eo *obj, Elm_Ctxpopup_Data *sd) |
671 | { | 672 | { |
672 | Efl_Ui_Theme_Apply int_ret = EFL_UI_THEME_APPLY_FAILED; | 673 | Efl_Ui_Theme_Apply int_ret = EFL_UI_THEME_APPLY_FAILED; |
673 | 674 | ||
@@ -1031,7 +1032,7 @@ _elm_ctxpopup_item_efl_object_destructor(Eo *eo_ctxpopup_it, | |||
1031 | } | 1032 | } |
1032 | 1033 | ||
1033 | EOLIAN static Eina_Bool | 1034 | EOLIAN static Eina_Bool |
1034 | _elm_ctxpopup_elm_widget_on_disabled_update(Eo *obj, Elm_Ctxpopup_Data *sd, Eina_Bool disabled) | 1035 | _elm_ctxpopup_efl_ui_widget_on_disabled_update(Eo *obj, Elm_Ctxpopup_Data *sd, Eina_Bool disabled) |
1035 | { | 1036 | { |
1036 | if (!efl_ui_widget_on_disabled_update(efl_super(obj, MY_CLASS), disabled)) | 1037 | if (!efl_ui_widget_on_disabled_update(efl_super(obj, MY_CLASS), disabled)) |
1037 | return EINA_FALSE; | 1038 | return EINA_FALSE; |
@@ -1118,7 +1119,7 @@ _elm_ctxpopup_efl_canvas_group_group_del(Eo *obj, Elm_Ctxpopup_Data *sd) | |||
1118 | } | 1119 | } |
1119 | 1120 | ||
1120 | EOLIAN static void | 1121 | EOLIAN static void |
1121 | _elm_ctxpopup_elm_widget_widget_parent_set(Eo *obj, Elm_Ctxpopup_Data *_pd EINA_UNUSED, Evas_Object *parent) | 1122 | _elm_ctxpopup_efl_ui_widget_widget_parent_set(Eo *obj, Elm_Ctxpopup_Data *_pd EINA_UNUSED, Evas_Object *parent) |
1122 | { | 1123 | { |
1123 | //default parent is to be hover parent | 1124 | //default parent is to be hover parent |
1124 | elm_ctxpopup_hover_parent_set(obj, parent); | 1125 | elm_ctxpopup_hover_parent_set(obj, parent); |
@@ -1445,7 +1446,7 @@ _elm_ctxpopup_efl_ui_menu_selected_item_get(Eo *obj EINA_UNUSED, Elm_Ctxpopup_Da | |||
1445 | } | 1446 | } |
1446 | 1447 | ||
1447 | EOLIAN static Elm_Object_Item* | 1448 | EOLIAN static Elm_Object_Item* |
1448 | _elm_ctxpopup_elm_widget_focused_item_get(Eo *obj EINA_UNUSED, Elm_Ctxpopup_Data *sd) | 1449 | _elm_ctxpopup_efl_ui_widget_focused_item_get(Eo *obj EINA_UNUSED, Elm_Ctxpopup_Data *sd) |
1449 | { | 1450 | { |
1450 | if (!sd->list) return NULL; | 1451 | if (!sd->list) return NULL; |
1451 | 1452 | ||