summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_widget.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/elm_widget.h')
-rw-r--r--src/lib/elementary/elm_widget.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/src/lib/elementary/elm_widget.h b/src/lib/elementary/elm_widget.h
index 9922985..0b8a5df 100644
--- a/src/lib/elementary/elm_widget.h
+++ b/src/lib/elementary/elm_widget.h
@@ -305,6 +305,7 @@ typedef void (*Elm_Widget_Item_Signal_Cb)(void *data, Elm_Objec
305typedef void (*Elm_Access_On_Highlight_Cb)(void *data); 305typedef void (*Elm_Access_On_Highlight_Cb)(void *data);
306 306
307#include "efl_ui_widget.eo.h" 307#include "efl_ui_widget.eo.h"
308#include "elm_widget_item_container_eo.h"
308 309
309/** 310/**
310 * @addtogroup Widget 311 * @addtogroup Widget
@@ -352,6 +353,7 @@ typedef struct _Elm_Widget_Smart_Data
352 353
353 int child_drag_x_locked; 354 int child_drag_x_locked;
354 int child_drag_y_locked; 355 int child_drag_y_locked;
356 int disabled;
355 357
356 Eina_Inlist *translate_strings; 358 Eina_Inlist *translate_strings;
357 Eina_List *focus_chain; 359 Eina_List *focus_chain;
@@ -363,7 +365,6 @@ typedef struct _Elm_Widget_Smart_Data
363 Efl_Ui_Scrollable_On_Show_Region on_show_region; 365 Efl_Ui_Scrollable_On_Show_Region on_show_region;
364 Eina_Free_Cb on_show_region_data_free; 366 Eina_Free_Cb on_show_region_data_free;
365 367
366 int orient_mode; /* -1 is disabled */
367 Elm_Focus_Move_Policy focus_move_policy; 368 Elm_Focus_Move_Policy focus_move_policy;
368 Elm_Focus_Region_Show_Mode focus_region_show_mode; 369 Elm_Focus_Region_Show_Mode focus_region_show_mode;
369 370
@@ -386,7 +387,6 @@ typedef struct _Elm_Widget_Smart_Data
386 Eina_Bool scroll_y_locked : 1; 387 Eina_Bool scroll_y_locked : 1;
387 388
388 Eina_Bool can_focus : 1; 389 Eina_Bool can_focus : 1;
389 Eina_Bool child_can_focus : 1;
390 Eina_Bool focused : 1; 390 Eina_Bool focused : 1;
391 Eina_Bool top_win_focused : 1; 391 Eina_Bool top_win_focused : 1;
392 Eina_Bool tree_unfocusable : 1; 392 Eina_Bool tree_unfocusable : 1;
@@ -394,7 +394,6 @@ typedef struct _Elm_Widget_Smart_Data
394 Eina_Bool highlight_ignore : 1; 394 Eina_Bool highlight_ignore : 1;
395 Eina_Bool highlight_in_theme : 1; 395 Eina_Bool highlight_in_theme : 1;
396 Eina_Bool access_highlight_in_theme : 1; 396 Eina_Bool access_highlight_in_theme : 1;
397 Eina_Bool disabled : 1;
398 Eina_Bool is_mirrored : 1; 397 Eina_Bool is_mirrored : 1;
399 Eina_Bool mirrored_auto_mode : 1; /* This is TRUE by default */ 398 Eina_Bool mirrored_auto_mode : 1; /* This is TRUE by default */
400 Eina_Bool still_in : 1; 399 Eina_Bool still_in : 1;
@@ -580,7 +579,7 @@ struct _Elm_Widget_Item_Data
580 579
581EAPI Eina_Bool elm_widget_api_check(int ver); 580EAPI Eina_Bool elm_widget_api_check(int ver);
582EAPI Eina_Bool elm_widget_access(Evas_Object *obj, Eina_Bool is_access); 581EAPI Eina_Bool elm_widget_access(Evas_Object *obj, Eina_Bool is_access);
583EAPI Efl_Ui_Theme_Apply_Result elm_widget_theme(Evas_Object *obj); 582EAPI Eina_Error elm_widget_theme(Evas_Object *obj);
584EAPI void elm_widget_theme_specific(Evas_Object *obj, Elm_Theme *th, Eina_Bool force); 583EAPI void elm_widget_theme_specific(Evas_Object *obj, Elm_Theme *th, Eina_Bool force);
585EAPI void elm_widget_on_show_region_hook_set(Evas_Object *obj, void *data, Efl_Ui_Scrollable_On_Show_Region func, Eina_Free_Cb data_free); 584EAPI void elm_widget_on_show_region_hook_set(Evas_Object *obj, void *data, Efl_Ui_Scrollable_On_Show_Region func, Eina_Free_Cb data_free);
586EAPI Eina_Bool elm_widget_sub_object_parent_add(Evas_Object *sobj); 585EAPI Eina_Bool elm_widget_sub_object_parent_add(Evas_Object *sobj);
@@ -604,7 +603,7 @@ EAPI Eina_Bool elm_widget_highlight_in_theme_get(const Evas_Object *obj);
604EAPI void elm_widget_access_highlight_in_theme_set(Evas_Object *obj, Eina_Bool highlight); 603EAPI void elm_widget_access_highlight_in_theme_set(Evas_Object *obj, Eina_Bool highlight);
605EAPI Eina_Bool elm_widget_access_highlight_in_theme_get(const Evas_Object *obj); 604EAPI Eina_Bool elm_widget_access_highlight_in_theme_get(const Evas_Object *obj);
606EAPI Eina_Bool elm_widget_highlight_get(const Evas_Object *obj); 605EAPI Eina_Bool elm_widget_highlight_get(const Evas_Object *obj);
607EAPI Evas_Object *elm_widget_top_get(const Evas_Object *obj); 606EAPI Eo *elm_widget_top_get(const Eo *obj);
608EAPI Eina_Bool elm_widget_is(const Evas_Object *obj); 607EAPI Eina_Bool elm_widget_is(const Evas_Object *obj);
609EAPI Evas_Object *elm_widget_parent_widget_get(const Evas_Object *obj); 608EAPI Evas_Object *elm_widget_parent_widget_get(const Evas_Object *obj);
610EAPI void elm_widget_event_callback_add(Evas_Object *obj, Elm_Event_Cb func, const void *data); 609EAPI void elm_widget_event_callback_add(Evas_Object *obj, Elm_Event_Cb func, const void *data);
@@ -647,7 +646,7 @@ EAPI void elm_widget_scroll_freeze_pop(Evas_Object *obj);
647EAPI int elm_widget_scroll_freeze_get(const Evas_Object *obj); 646EAPI int elm_widget_scroll_freeze_get(const Evas_Object *obj);
648EAPI void elm_widget_theme_set(Evas_Object *obj, Elm_Theme *th); 647EAPI void elm_widget_theme_set(Evas_Object *obj, Elm_Theme *th);
649EAPI Elm_Theme *elm_widget_theme_get(const Evas_Object *obj); 648EAPI Elm_Theme *elm_widget_theme_get(const Evas_Object *obj);
650EAPI Efl_Ui_Theme_Apply_Result elm_widget_style_set(Evas_Object *obj, const char *style); 649EAPI Eina_Error elm_widget_style_set(Evas_Object *obj, const char *style);
651EAPI const char *elm_widget_style_get(const Evas_Object *obj); 650EAPI const char *elm_widget_style_get(const Evas_Object *obj);
652EAPI void elm_widget_type_set(Evas_Object *obj, const char *type); 651EAPI void elm_widget_type_set(Evas_Object *obj, const char *type);
653EAPI const char *elm_widget_type_get(const Evas_Object *obj); 652EAPI const char *elm_widget_type_get(const Evas_Object *obj);
@@ -659,7 +658,7 @@ EAPI void elm_widget_scroll_lock_set(Evas_Object *obj, Efl_Ui_Scroll
659EAPI Efl_Ui_Scroll_Block elm_widget_scroll_lock_get(const Evas_Object *obj); 658EAPI Efl_Ui_Scroll_Block elm_widget_scroll_lock_get(const Evas_Object *obj);
660EAPI int elm_widget_scroll_child_locked_x_get(const Evas_Object *obj); 659EAPI int elm_widget_scroll_child_locked_x_get(const Evas_Object *obj);
661EAPI int elm_widget_scroll_child_locked_y_get(const Evas_Object *obj); 660EAPI int elm_widget_scroll_child_locked_y_get(const Evas_Object *obj);
662EAPI Efl_Ui_Theme_Apply_Result elm_widget_theme_object_set(Evas_Object *obj, Evas_Object *edj, const char *wname, const char *welement, const char *wstyle); 661EAPI Eina_Error elm_widget_theme_object_set(Evas_Object *obj, Evas_Object *edj, const char *wname, const char *welement, const char *wstyle);
663EAPI Eina_Bool elm_widget_type_check(const Evas_Object *obj, const char *type, const char *func); 662EAPI Eina_Bool elm_widget_type_check(const Evas_Object *obj, const char *type, const char *func);
664EAPI Evas_Object *elm_widget_name_find(const Evas_Object *obj, const char *name, int recurse); 663EAPI Evas_Object *elm_widget_name_find(const Evas_Object *obj, const char *name, int recurse);
665EAPI Eina_List *elm_widget_stringlist_get(const char *str); 664EAPI Eina_List *elm_widget_stringlist_get(const char *str);
@@ -688,7 +687,7 @@ EAPI Eina_Bool elm_widget_theme_element_set(Evas_Object *obj, const char
688EAPI const char *elm_widget_theme_element_get(const Evas_Object *obj); 687EAPI const char *elm_widget_theme_element_get(const Evas_Object *obj);
689EAPI Eina_Bool elm_widget_theme_style_set(Evas_Object *obj, const char *name); 688EAPI Eina_Bool elm_widget_theme_style_set(Evas_Object *obj, const char *name);
690EAPI const char *elm_widget_theme_style_get(const Evas_Object *obj); 689EAPI const char *elm_widget_theme_style_get(const Evas_Object *obj);
691EAPI Efl_Ui_Theme_Apply_Result elm_widget_element_update(Evas_Object *obj, Evas_Object *component, const char *name); 690EAPI Eina_Error elm_widget_element_update(Evas_Object *obj, Evas_Object *component, const char *name);
692 691
693/* debug function. don't use it unless you are tracking parenting issues */ 692/* debug function. don't use it unless you are tracking parenting issues */
694EAPI void elm_widget_tree_dump(const Evas_Object *top); 693EAPI void elm_widget_tree_dump(const Evas_Object *top);
@@ -802,6 +801,6 @@ const char *efl_ui_widget_default_text_part_get(const Eo *obj);
802 801
803 802
804#define ELM_WIDGET_ITEM_PROTECTED 803#define ELM_WIDGET_ITEM_PROTECTED
805#include "elm_widget_item.eo.h" 804#include "elm_widget_item_eo.h"
806 805
807#endif 806#endif