diff options
Diffstat (limited to 'src/lib/elementary/elm_priv.h')
-rw-r--r-- | src/lib/elementary/elm_priv.h | 100 |
1 files changed, 94 insertions, 6 deletions
diff --git a/src/lib/elementary/elm_priv.h b/src/lib/elementary/elm_priv.h index 1ac0bfe..2131bd8 100644 --- a/src/lib/elementary/elm_priv.h +++ b/src/lib/elementary/elm_priv.h | |||
@@ -22,8 +22,11 @@ | |||
22 | # include <Eio.h> | 22 | # include <Eio.h> |
23 | 23 | ||
24 | // Evas internal EO APIs | 24 | // Evas internal EO APIs |
25 | # include "Evas.h" | ||
25 | # include "Evas_Internal.h" | 26 | # include "Evas_Internal.h" |
26 | 27 | ||
28 | #include "Elementary.h" | ||
29 | #include "Efl_Ui.h" | ||
27 | # ifdef EAPI | 30 | # ifdef EAPI |
28 | # undef EAPI | 31 | # undef EAPI |
29 | # endif | 32 | # endif |
@@ -61,12 +64,97 @@ | |||
61 | # define EWAPI EAPI EAPI_WEAK | 64 | # define EWAPI EAPI EAPI_WEAK |
62 | 65 | ||
63 | # include "elm_widget.h" | 66 | # include "elm_widget.h" |
64 | # include "elm_access.eo.h" | ||
65 | # include "elm_code_private.h" | 67 | # include "elm_code_private.h" |
68 | #include "elm_access_eo.h" | ||
69 | #include "elm_actionslider_eo.h" | ||
70 | #include "elm_box_eo.h" | ||
71 | #include "elm_bubble_eo.h" | ||
72 | #include "elm_calendar_eo.h" | ||
73 | #include "elm_calendar_item_eo.h" | ||
74 | #include "elm_clock_eo.h" | ||
75 | #include "elm_code_widget_legacy_eo.h" | ||
76 | #include "elm_color_item_eo.h" | ||
77 | #include "elm_colorselector_eo.h" | ||
78 | #include "elm_conformant_eo.h" | ||
79 | #include "elm_ctxpopup_eo.h" | ||
80 | #include "elm_ctxpopup_item_eo.h" | ||
81 | #include "elm_dayselector_eo.h" | ||
82 | #include "elm_dayselector_item_eo.h" | ||
83 | #include "elm_diskselector_eo.h" | ||
84 | #include "elm_diskselector_item_eo.h" | ||
85 | #include "elm_entry_eo.h" | ||
86 | #include "elm_fileselector_button_eo.h" | ||
87 | #include "elm_fileselector_entry_eo.h" | ||
88 | #include "elm_fileselector_eo.h" | ||
89 | #include "elm_flipselector_eo.h" | ||
90 | #include "elm_flipselector_item_eo.h" | ||
91 | #include "elm_gengrid_eo.h" | ||
92 | #include "elm_gengrid_item_eo.h" | ||
93 | #include "elm_gengrid_pan_eo.h" | ||
94 | #include "elm_genlist_eo.h" | ||
95 | #include "elm_genlist_item_eo.h" | ||
96 | #include "elm_genlist_pan_eo.h" | ||
97 | #include "elm_gesture_layer_eo.h" | ||
98 | #include "elm_glview_eo.h" | ||
99 | #include "elm_grid_eo.h" | ||
100 | #include "elm_hover_eo.h" | ||
101 | #include "elm_hoversel_eo.h" | ||
102 | #include "elm_hoversel_item_eo.h" | ||
103 | #include "elm_icon_eo.h" | ||
104 | #include "elm_image_eo.h" | ||
105 | #include "elm_index_eo.h" | ||
106 | #include "elm_index_item_eo.h" | ||
107 | #include "elm_interface_fileselector_eo.h" | ||
108 | #include "elm_inwin_eo.h" | ||
109 | #include "elm_label_eo.h" | ||
110 | #include "elm_list_eo.h" | ||
111 | #include "elm_list_item_eo.h" | ||
112 | #include "elm_mapbuf_eo.h" | ||
113 | #include "elm_map_eo.h" | ||
114 | #include "elm_map_pan_eo.h" | ||
115 | #include "elm_menu_eo.h" | ||
116 | #include "elm_menu_item_eo.h" | ||
117 | #include "elm_multibuttonentry_eo.h" | ||
118 | #include "elm_multibuttonentry_item_eo.h" | ||
119 | #include "elm_naviframe_eo.h" | ||
120 | #include "elm_naviframe_item_eo.h" | ||
121 | #include "elm_notify_eo.h" | ||
122 | #include "elm_panel_eo.h" | ||
123 | #include "elm_pan_eo.h" | ||
124 | #include "elm_photo_eo.h" | ||
125 | #include "elm_player_eo.h" | ||
126 | #include "elm_plug_eo.h" | ||
127 | #include "elm_popup_eo.h" | ||
128 | #include "elm_popup_item_eo.h" | ||
129 | #include "elm_prefs_eo.h" | ||
130 | #include "elm_route_eo.h" | ||
131 | #include "elm_scroller_eo.h" | ||
132 | #include "elm_segment_control_eo.h" | ||
133 | #include "elm_segment_control_item_eo.h" | ||
134 | #include "elm_separator_eo.h" | ||
135 | #include "elm_slider_eo.h" | ||
136 | #include "elm_slider_part_indicator_eo.h" | ||
137 | #include "elm_slideshow_eo.h" | ||
138 | #include "elm_slideshow_item_eo.h" | ||
139 | #include "elm_spinner_eo.h" | ||
140 | #include "elm_sys_notify_dbus_eo.h" | ||
141 | #include "elm_sys_notify_eo.h" | ||
142 | #include "elm_sys_notify_interface_eo.h" | ||
143 | #include "elm_systray_eo.h" | ||
144 | #include "elm_table_eo.h" | ||
145 | #include "elm_thumb_eo.h" | ||
146 | #include "elm_toolbar_eo.h" | ||
147 | #include "elm_toolbar_item_eo.h" | ||
148 | #include "elm_web_eo.h" | ||
149 | #include "elm_widget_item_container_eo.h" | ||
150 | #include "elm_widget_item_eo.h" | ||
151 | #include "elm_widget_item_static_focus_eo.h" | ||
152 | #include "elm_win_eo.h" | ||
153 | |||
66 | # include "efl_ui_focus_parent_provider.eo.h" | 154 | # include "efl_ui_focus_parent_provider.eo.h" |
67 | # include "efl_ui_widget_focus_manager.eo.h" | 155 | # include "efl_ui_widget_focus_manager.eo.h" |
68 | # include "efl_ui_focus_parent_provider_standard.eo.h" | 156 | # include "efl_ui_focus_parent_provider_standard.eo.h" |
69 | # include "elm_widget_item_static_focus.eo.h" | 157 | # include "elm_widget_item_static_focus_eo.h" |
70 | # include "efl_ui_selection_manager.eo.h" | 158 | # include "efl_ui_selection_manager.eo.h" |
71 | # include "efl_datetime_manager.eo.h" | 159 | # include "efl_datetime_manager.eo.h" |
72 | # include "efl_ui_size_model.eo.h" | 160 | # include "efl_ui_size_model.eo.h" |
@@ -177,7 +265,7 @@ struct _Efl_Ui_Theme_Data | |||
177 | * the users config doesn't need to be wiped - simply new values need | 265 | * the users config doesn't need to be wiped - simply new values need |
178 | * to be put in | 266 | * to be put in |
179 | */ | 267 | */ |
180 | # define ELM_CONFIG_FILE_GENERATION 0x0014 | 268 | # define ELM_CONFIG_FILE_GENERATION 0x0015 |
181 | # define ELM_CONFIG_VERSION_EPOCH_OFFSET 16 | 269 | # define ELM_CONFIG_VERSION_EPOCH_OFFSET 16 |
182 | # define ELM_CONFIG_VERSION ((ELM_CONFIG_EPOCH << ELM_CONFIG_VERSION_EPOCH_OFFSET) | \ | 270 | # define ELM_CONFIG_VERSION ((ELM_CONFIG_EPOCH << ELM_CONFIG_VERSION_EPOCH_OFFSET) | \ |
183 | ELM_CONFIG_FILE_GENERATION) | 271 | ELM_CONFIG_FILE_GENERATION) |
@@ -589,7 +677,7 @@ void _elm_win_standard_init(Eo *win); | |||
589 | 677 | ||
590 | Ecore_X_Window _elm_ee_xwin_get(const Ecore_Evas *ee); | 678 | Ecore_X_Window _elm_ee_xwin_get(const Ecore_Evas *ee); |
591 | 679 | ||
592 | Efl_Ui_Theme_Apply_Result _elm_theme_object_set(Evas_Object *parent, | 680 | Eina_Error _elm_theme_object_set(Evas_Object *parent, |
593 | Evas_Object *o, | 681 | Evas_Object *o, |
594 | const char *clas, | 682 | const char *clas, |
595 | const char *group, | 683 | const char *group, |
@@ -597,7 +685,7 @@ Efl_Ui_Theme_Apply_Result _elm_theme_object_set(Evas_Object *parent, | |||
597 | Eina_Bool _elm_theme_object_icon_set(Evas_Object *o, | 685 | Eina_Bool _elm_theme_object_icon_set(Evas_Object *o, |
598 | const char *group, | 686 | const char *group, |
599 | const char *style); | 687 | const char *style); |
600 | Efl_Ui_Theme_Apply_Result _elm_theme_set(Elm_Theme *th, | 688 | Eina_Error _elm_theme_set(Elm_Theme *th, |
601 | Evas_Object *o, | 689 | Evas_Object *o, |
602 | const char *clas, | 690 | const char *clas, |
603 | const char *group, | 691 | const char *group, |
@@ -878,7 +966,7 @@ void efl_ui_slider_move_knob(Evas_Object *obj, double button_x, double button_y) | |||
878 | 966 | ||
879 | # define ELM_WIDGET_KEY_DOWN_DEFAULT_IMPLEMENT(_pfx, _typ) \ | 967 | # define ELM_WIDGET_KEY_DOWN_DEFAULT_IMPLEMENT(_pfx, _typ) \ |
880 | EOLIAN static Eina_Bool \ | 968 | EOLIAN static Eina_Bool \ |
881 | _##_pfx##_efl_ui_widget_widget_event(Eo *obj, _typ *_pd EINA_UNUSED, const Efl_Event *eo_event, Evas_Object *src EINA_UNUSED) \ | 969 | _##_pfx##_efl_ui_widget_widget_input_event_handler(Eo *obj, _typ *_pd EINA_UNUSED, const Efl_Event *eo_event, Evas_Object *src EINA_UNUSED) \ |
882 | { \ | 970 | { \ |
883 | Evas_Event_Key_Down *ev; \ | 971 | Evas_Event_Key_Down *ev; \ |
884 | if (eo_event->desc != EFL_EVENT_KEY_DOWN) return EINA_FALSE; \ | 972 | if (eo_event->desc != EFL_EVENT_KEY_DOWN) return EINA_FALSE; \ |