@since 1.16]]
params {
- @in next_item: Elm.Widget.Item @nullable; [[Focus next object item]]
+ @in next_item: Efl.Ui.Widget @nullable; [[Focus next object item]]
@in dir: Efl.Ui.Focus.Direction; [[Focus direction]]
}
}
[[Get the next object item with specific focus direction.
@since 1.16]]
- return: Elm.Widget.Item; [[Focus next object item]]
+ return: Efl.Ui.Widget; [[Focus next object item]]
params {
@in dir: Efl.Ui.Focus.Direction; [[Focus direction]]
}
@in base: const(Efl.Canvas.Object); [[Base object]]
@in degree: double; [[Degree]]
@out direction: Efl.Canvas.Object; [[Direction]]
- @out direction_item: Elm.Widget.Item; [[Direction item]]
+ @out direction_item: Efl.Ui.Widget; [[Direction item]]
@out weight: double; [[Weight]]
}
return: bool; [[$true on success, $false otherwise]]
@in list_data_get: void_ptr; [[Data get function]]
@in degree: double; [[Degree]]
@out direction: Efl.Canvas.Object; [[Direction]]
- @out direction_item: Elm.Widget.Item; [[Direction item]]
+ @out direction_item: Efl.Ui.Widget; [[Direction item]]
@out weight: double; [[Weight]]
}
}
params {
@in dir: Efl.Ui.Focus.Direction; [[Focus direction]]
@out next: Efl.Canvas.Object; [[Next object]]
- @out next_item: Elm.Widget.Item; [[Next item]]
+ @out next_item: Efl.Ui.Widget; [[Next item]]
}
}
focus_restore @beta {
focus_steal @beta {
[[Steal focus]]
params {
- @in item: Elm.Widget.Item @nullable; [[Widget to steal focus from]]
+ @in item: Efl.Ui.Widget @nullable; [[Widget to steal focus from]]
}
}
focus_hide_handle @beta {
params {
@in dir: Efl.Ui.Focus.Direction; [[Focus direction]]
@out next: Efl.Canvas.Object; [[Next object]]
- @out next_item: Elm.Widget.Item; [[Next item]]
+ @out next_item: Efl.Ui.Widget; [[Next item]]
}
return: bool; [[$true on success, $false otherwise]]
}
@in list_data_get: void_ptr; [[Function type]]
@in dir: Efl.Ui.Focus.Direction; [[Focus direction]]
@out next: Efl.Canvas.Object; [[Next object]]
- @out next_item: Elm.Widget.Item; [[Next item]]
+ @out next_item: Efl.Ui.Widget; [[Next item]]
}
}
focus_mouse_up_handle {
@in base: const(Efl.Canvas.Object); [[Base]]
@in degree: double; [[Degree]]
@out direction: Efl.Canvas.Object; [[Direction]]
- @out direction_item: Elm.Widget.Item; [[Direction item]]
+ @out direction_item: Efl.Ui.Widget; [[Direction item]]
@out weight: double; [[Weight]]
}
}
animate: bool; [[The enabled value for the highlight animation.]]
}
}
- @property win_rotation @beta {
- [[The rotation of this window
-
- The value will automatically change when the WM of this window changes its rotation. This rotation is automatically applied to all @Efl.Ui.Layout objects.
- ]]
- set {
- legacy: null;
- }
- get {
- legacy: null;
- }
- values {
- rotation : Efl.Orient; [[The rotation of the window]]
- }
- }
}
implements {
class.constructor;
if (!_access_action_callback_call(obj, ELM_ACCESS_ACTION_HIGHLIGHT, NULL))
efl_access_component_highlight_grab(efl_super(obj, ELM_ACCESS_CLASS));
else
- efl_access_state_changed_signal_emit(obj, EFL_ACCESS_STATE_HIGHLIGHTED, EINA_TRUE);
+ efl_access_state_changed_signal_emit(obj, EFL_ACCESS_STATE_TYPE_HIGHLIGHTED, EINA_TRUE);
// TIZEN_ONLY(20160708) - support elm_access used for embedded toolkit
action_by = ELM_ACCESS_ACTION_FIRST;
if (!_access_action_callback_call(obj, ELM_ACCESS_ACTION_UNHIGHLIGHT, NULL))
efl_access_component_highlight_clear(efl_super(obj, ELM_ACCESS_CLASS));
else
- efl_access_state_changed_signal_emit(obj, EFL_ACCESS_STATE_HIGHLIGHTED, EINA_FALSE);
+ efl_access_state_changed_signal_emit(obj, EFL_ACCESS_STATE_TYPE_HIGHLIGHTED, EINA_FALSE);
// TIZEN_ONLY(20160708) - support elm_access used for embedded toolkit
action_by = ELM_ACCESS_ACTION_FIRST;
EAPI const char *elm_widget_theme_element_get(const Evas_Object *obj);
EAPI Eina_Bool elm_widget_theme_style_set(Evas_Object *obj, const char *name);
EAPI const char *elm_widget_theme_style_get(const Evas_Object *obj);
-<<<<<<< HEAD
-EAPI Efl_Ui_Theme_Apply_Result elm_widget_element_update(Evas_Object *obj, Evas_Object *component, const char *name);
//TIZEN_ONLY(20160726): add API elm_object_part_access_object_get
EAPI Evas_Object *elm_widget_part_access_object_get(const Evas_Object *obj, const char *part);
//
EAPI Eina_Bool _elm_widget_highlightable(Evas_Object *widget);
EAPI Eina_Bool _elm_widget_item_highlightable(Elm_Object_Item *item);
//
-=======
-EAPI Eina_Error elm_widget_element_update(Evas_Object *obj, Evas_Object *component, const char *name);
->>>>>>> bb6caaa471... efl.ui: remove Efl.Ui.Theme_Apply_Error
+EAPI Eina_Error elm_widget_element_update(Evas_Object *obj, Evas_Object *component, const char *name);
/* debug function. don't use it unless you are tracking parenting issues */
EAPI void elm_widget_tree_dump(const Evas_Object *top);
#include "../elementary/elm_priv.h"
#include "elm_widget_ctxpopup.h"
-#include "../elementary/elm_ctxpopup_item.eo.h"
-#include "../elementary/elm_ctxpopup.eo.h"
+#include "../elementary/elm_ctxpopup_item_eo.h"
+#include "../elementary/elm_ctxpopup_eo.h"
#include "../elementary/elm_ctxpopup_part.eo.h"
#include "../elementary/elm_part_helper.h"
}
//FIXME: lost the content size when theme hook is called.
-EOLIAN static Efl_Ui_Theme_Apply_Result
+EOLIAN static Eina_Error
_elm_ctxpopup_efl_ui_widget_theme_apply(Eo *obj, Elm_Ctxpopup_Data *sd)
{
Eina_List *elist;
Elm_Ctxpopup_Item_Data *item;
int idx = 0;
Eina_Bool rtl;
- Efl_Ui_Theme_Apply_Result int_ret = EFL_UI_THEME_APPLY_RESULT_FAIL;
+ Eina_Error int_ret = EFL_UI_THEME_APPLY_ERROR_GENERIC;
const char *style;
- ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd, EFL_UI_THEME_APPLY_RESULT_FAIL);
+ ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd, EFL_UI_THEME_APPLY_ERROR_GENERIC);
int_ret = efl_ui_widget_theme_apply(efl_super(obj, MY_CLASS));
- if (!int_ret) return EFL_UI_THEME_APPLY_RESULT_FAIL;
+ if (int_ret == EFL_UI_THEME_APPLY_ERROR_GENERIC) return int_ret;
rtl = efl_ui_mirrored_get(obj);
Efl_Access_State_Set ret;
ret = efl_access_object_state_set_get(efl_super(obj, MY_CLASS));
- STATE_TYPE_SET(ret, EFL_ACCESS_STATE_MODAL);
+ STATE_TYPE_SET(ret, EFL_ACCESS_STATE_TYPE_MODAL);
if (_elm_object_accessibility_currently_highlighted_get() == (void*)sd->scr)
- STATE_TYPE_SET(ret, EFL_ACCESS_STATE_HIGHLIGHTED);
+ STATE_TYPE_SET(ret, EFL_ACCESS_STATE_TYPE_HIGHLIGHTED);
return ret;
}
}
if (is_showing)
- STATE_TYPE_SET(states, EFL_ACCESS_STATE_SHOWING);
+ STATE_TYPE_SET(states, EFL_ACCESS_STATE_TYPE_SHOWING);
else
- STATE_TYPE_UNSET(states, EFL_ACCESS_STATE_SHOWING);
+ STATE_TYPE_UNSET(states, EFL_ACCESS_STATE_TYPE_SHOWING);
return states;
}
ELM_LAYOUT_SIZING_EVAL_OPS(elm_ctxpopup), \
EFL_CANVAS_GROUP_ADD_DEL_OPS(elm_ctxpopup)
//
-#include "../elementary/elm_ctxpopup_item.eo.c"
-#include "../elementary/elm_ctxpopup.eo.c"
+#include "../elementary/elm_ctxpopup_item_eo.c"
+#include "../elementary/elm_ctxpopup_eo.c"
#include "../elementary/elm_priv.h"
#include "elm_widget_genlist.h"
#include "../elementary/elm_interface_scrollable.h"
-#include "../elementary/efl_ui_focus_parent_provider_gen.eo.h"
+#include "../elementary/efl_ui_focus_parent_provider_gen_eo.h"
#include "../elementary/efl_ui_focus_composition_adapter.eo.h"
-#include "../elementary/elm_genlist_item.eo.h"
-#include "../elementary/elm_genlist_pan.eo.h"
-#include "../elementary/elm_genlist.eo.h"
+#include "../elementary/elm_genlist_item_eo.h"
+#include "../elementary/elm_genlist_pan_eo.h"
+#include "../elementary/elm_genlist_eo.h"
#define MY_PAN_CLASS ELM_GENLIST_PAN_CLASS
snprintf(buf, sizeof(buf), "item/%s", style ? : "default");
- Efl_Ui_Theme_Apply_Result th_ret =
+ Eina_Error th_ret =
elm_widget_theme_object_set(WIDGET(it), view, "genlist", buf,
elm_widget_style_get(WIDGET(it)));
- if (th_ret == EFL_UI_THEME_APPLY_RESULT_FAIL)
+ if (th_ret == EFL_UI_THEME_APPLY_ERROR_GENERIC)
{
ERR("%s is not a valid genlist item style. "
"Automatically falls back into default style.",
efl_ui_mirrored_set(obj, rtl);
}
-EOLIAN static Efl_Ui_Theme_Apply_Result
+EOLIAN static Eina_Error
_elm_genlist_efl_ui_widget_theme_apply(Eo *obj, Elm_Genlist_Data *sd)
{
Item_Block *itb;
- Efl_Ui_Theme_Apply_Result int_ret = EFL_UI_THEME_APPLY_RESULT_FAIL;
+ Eina_Error int_ret = EFL_UI_THEME_APPLY_ERROR_GENERIC;
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wsd, EFL_UI_THEME_APPLY_RESULT_FAIL);
int_ret = efl_ui_widget_theme_apply(efl_super(obj, MY_CLASS));
- if (!int_ret) return EFL_UI_THEME_APPLY_RESULT_FAIL;
+ if (int_ret) return EFL_UI_THEME_APPLY_ERROR_GENERIC;
if (!TIZEN_PROFILE_WEARABLE)
_banded_bg_state_check(obj, sd);
ret = efl_access_object_state_set_get(efl_super(obj, ELM_GENLIST_CLASS));
- STATE_TYPE_SET(ret, EFL_ACCESS_STATE_MANAGES_DESCENDANTS);
+ STATE_TYPE_SET(ret, EFL_ACCESS_STATE_TYPE_MANAGES_DESCENDANTS);
if (elm_genlist_multi_select_get(obj))
- STATE_TYPE_SET(ret, EFL_ACCESS_STATE_MULTISELECTABLE);
+ STATE_TYPE_SET(ret, EFL_ACCESS_STATE_TYPE_MULTISELECTABLE);
if (elm_genlist_reorder_mode_get(obj))
- STATE_TYPE_SET(ret, EFL_ACCESS_STATE_ANIMATED);
+ STATE_TYPE_SET(ret, EFL_ACCESS_STATE_TYPE_ANIMATED);
return ret;
}
#define ELM_GENLIST_PAN_EXTRA_OPS \
EFL_CANVAS_GROUP_DEL_OPS(elm_genlist_pan)
-#include "../elementary/elm_genlist.eo.c"
-#include "../elementary/elm_genlist_pan.eo.c"
-#include "../elementary/elm_genlist_item.eo.c"
+#include "../elementary/elm_genlist_eo.c"
+#include "../elementary/elm_genlist_pan_eo.c"
+#include "../elementary/elm_genlist_item_eo.c"
ELM_CTXPOPUP_DATA_GET(o, ptr); \
if (EINA_UNLIKELY(!ptr)) \
{ \
- CRI("No widget data for object %p (%s)", \
+ ERR("No widget data for object %p (%s)", \
o, evas_object_type_get(o)); \
return; \
}
ELM_CTXPOPUP_DATA_GET(o, ptr); \
if (EINA_UNLIKELY(!ptr)) \
{ \
- CRI("No widget data for object %p (%s)", \
+ ERR("No widget data for object %p (%s)", \
o, evas_object_type_get(o)); \
return val; \
}
int server_id;
int connect_num;
int channel;
+ int num_palette;
Evas_Load_Error load_error;
};