summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Zaoui <daniel.zaoui@samsung.com>2014-09-30 10:03:31 +0300
committerYakov Goldberg <yakov.g@samsung.com>2014-10-02 14:58:51 +0300
commitf4cb472ad0c717b35b54318fd1497ed139e25d3d (patch)
tree8359d4fad738a347aadf09f6c85dea0a2a92d057
parentd3d7313576b79924d168b0202cd544a2e0c007bb (diff)
Remove old non-generated layout files
-rw-r--r--src/bin/egui_gui/egui_layout_c.src1249
-rw-r--r--src/bin/egui_gui/egui_layout_h.src106
2 files changed, 0 insertions, 1355 deletions
diff --git a/src/bin/egui_gui/egui_layout_c.src b/src/bin/egui_gui/egui_layout_c.src
deleted file mode 100644
index 4921412..0000000
--- a/src/bin/egui_gui/egui_layout_c.src
+++ /dev/null
@@ -1,1249 +0,0 @@
1#include <Elementary.h>
2#include "elm_widget_container.h"
3#include "elm_interface_scrollable.h"
4#include "egui_layout.h"
5
6static GUI pub_widgets;
7static Eo *main_win;
8
9extern Eina_Bool
10_itemview_item_add_but_clicked_cb(void *data, Eo *obj, const Eo_Event_Description *desc, void *event_info);
11extern Eina_Bool
12_itemview_item_nested_add_but_clicked_cb(void *data, Eo *obj, const Eo_Event_Description *desc, void *event_info);
13extern Eina_Bool
14_itemview_separator_add_but_clicked_cb(void *data, Eo *obj, const Eo_Event_Description *desc, void *event_info);
15extern Eina_Bool
16_itemview_item_del_but_clicked_cb(void *data, Eo *obj, const Eo_Event_Description *desc, void *event_info);
17extern Eina_Bool
18_rm_add_button_clicked(void *data, Eo *obj, const Eo_Event_Description *desc, void *event_info);
19extern Eina_Bool
20_settings_apply_button_clicked(void *data, Eo *obj, const Eo_Event_Description *desc, void *event_info);
21extern Eina_Bool
22_settings_win_request_delete(void *data, Eo *obj, const Eo_Event_Description *desc, void *event_info);
23extern Eina_Bool
24_rm_win_request_delete(void *data, Eo *obj, const Eo_Event_Description *desc, void *event_info);
25extern Eina_Bool
26_rm_win_show_post_cb(void *data, Eo *obj, const Eo_Event_Description *desc, void *event_info);
27extern Eina_Bool
28_gvc_win_show_post_cb(void *data, Eo *obj, const Eo_Event_Description *desc, void *event_info);
29extern Eina_Bool
30_settings_win_show_post_cb(void *data, Eo *obj, const Eo_Event_Description *desc, void *event_info);
31extern Eina_Bool
32_graphview_generate(void *data, Eo *obj, const Eo_Event_Description *desc, void *event_info);
33extern void
34_toolbar_item_sel_cb(void *data, Evas_Object *obj, void *event_info);
35
36static Eina_Bool
37_sequence_itemview_item_add_but_clicked_execute(void *data EINA_UNUSED, Eo *obj EINA_UNUSED, const Eo_Event_Description *desc EINA_UNUSED, void *event_info EINA_UNUSED)
38{
39 if (!_itemview_item_add_but_clicked_cb(NULL, obj, desc, event_info)) return EO_CALLBACK_STOP;
40 return EO_CALLBACK_CONTINUE;
41}
42
43static Eina_Bool
44_sequence_itemview_item_nested_add_but_clicked_execute(void *data EINA_UNUSED, Eo *obj EINA_UNUSED, const Eo_Event_Description *desc EINA_UNUSED, void *event_info EINA_UNUSED)
45{
46 if (!_itemview_item_nested_add_but_clicked_cb(NULL, obj, desc, event_info)) return EO_CALLBACK_STOP;
47 return EO_CALLBACK_CONTINUE;
48}
49
50static Eina_Bool
51_sequence_itemview_separator_add_but_clicked_execute(void *data EINA_UNUSED, Eo *obj EINA_UNUSED, const Eo_Event_Description *desc EINA_UNUSED, void *event_info EINA_UNUSED)
52{
53 if (!_itemview_separator_add_but_clicked_cb(NULL, obj, desc, event_info)) return EO_CALLBACK_STOP;
54 return EO_CALLBACK_CONTINUE;
55}
56
57static Eina_Bool
58_sequence_itemview_item_del_but_clicked_execute(void *data EINA_UNUSED, Eo *obj EINA_UNUSED, const Eo_Event_Description *desc EINA_UNUSED, void *event_info EINA_UNUSED)
59{
60 if (!_itemview_item_del_but_clicked_cb(NULL, obj, desc, event_info)) return EO_CALLBACK_STOP;
61 return EO_CALLBACK_CONTINUE;
62}
63
64static void
65_create_gvc_win()
66{
67 Eo *gvc_win;
68 Eo *gvc_img;
69
70 gvc_win = eo_add_custom(ELM_WIN_CLASS, NULL, elm_obj_win_constructor("Graph", ELM_WIN_BASIC));
71 eo_do(gvc_win, elm_obj_win_title_set("Graph View"));
72 eo_do(gvc_win, elm_obj_win_autodel_set(EINA_TRUE));
73 eo_do(gvc_win, evas_obj_size_set(400, 400));
74
75 gvc_img = eo_add(ELM_IMAGE_CLASS, gvc_win);
76 pub_widgets.gvc_img = gvc_img;
77 eo_do(gvc_img, evas_obj_size_hint_weight_set(1.000000, 1.000000));
78 eo_do(gvc_img, evas_obj_visibility_set(EINA_TRUE));
79 eo_do(gvc_win, elm_obj_win_resize_object_add(gvc_img));
80 eo_do(gvc_win, evas_obj_visibility_set(EINA_TRUE));
81}
82
83static Eina_Bool
84egui_layout_graphviz_button_clicked(void *data EINA_UNUSED, Eo *obj EINA_UNUSED, const Eo_Event_Description *desc EINA_UNUSED, void *event_info EINA_UNUSED)
85{
86 if (!_graphview_generate(NULL, obj, desc, event_info)) return EO_CALLBACK_STOP;
87 _create_gvc_win();
88
89 if (!_gvc_win_show_post_cb(NULL, obj, desc, event_info)) return EO_CALLBACK_STOP;
90 return EO_CALLBACK_CONTINUE;
91}
92
93static void
94_create_fs_win()
95{
96 Eo *fs_win;
97 Eo *bg2;
98 Eo *vbox;
99 Eo *fs_radio_box;
100 Eo *fs_radio_label;
101 Eo *fs_radio_c;
102 Eo *fs_radio_cpp;
103 Eo *fileselector;
104
105 fs_win = eo_add_custom(ELM_WIN_CLASS, main_win, elm_obj_win_constructor(NULL, ELM_WIN_BASIC));
106 pub_widgets.fs_win = fs_win;
107 eo_do(fs_win, elm_obj_win_title_set("Select file"));
108 eo_do(fs_win, elm_obj_win_autodel_set(EINA_TRUE));
109 eo_do(fs_win, evas_obj_size_set(300, 450));
110 eo_do(fs_win, elm_obj_win_modal_set(EINA_TRUE));
111
112 bg2 = eo_add(ELM_BG_CLASS, fs_win);
113 eo_do(bg2, elm_obj_bg_color_set(80, 80, 80, 255));
114 eo_do(bg2, evas_obj_size_hint_weight_set(1.000000, 1.000000));
115 eo_do(bg2, evas_obj_visibility_set(EINA_TRUE));
116 eo_do(fs_win, elm_obj_win_resize_object_add(bg2));
117
118 vbox = eo_add(ELM_BOX_CLASS, fs_win);
119 eo_do(vbox, evas_obj_size_hint_weight_set(1.000000, 1.000000));
120 eo_do(vbox, evas_obj_visibility_set(EINA_TRUE));
121 eo_do(fs_win, elm_obj_win_resize_object_add(vbox));
122
123 fs_radio_box = eo_add(ELM_BOX_CLASS, vbox);
124 pub_widgets.fs_radio_box = fs_radio_box;
125 eo_do(fs_radio_box, evas_obj_size_hint_weight_set(1.000000, 0.000000));
126 eo_do(fs_radio_box, elm_obj_box_horizontal_set(EINA_TRUE));
127
128 fs_radio_label = eo_add(ELM_LABEL_CLASS, fs_radio_box);
129 eo_do(fs_radio_label, elm_obj_widget_part_text_set(NULL, "Export Format: "));
130 eo_do(fs_radio_label, evas_obj_visibility_set(EINA_TRUE));
131
132 fs_radio_c = eo_add(ELM_RADIO_CLASS, vbox);
133 pub_widgets.fs_radio_c = fs_radio_c;
134 eo_do(fs_radio_c, elm_obj_widget_part_text_set(NULL, "C"));
135 eo_do(fs_radio_c, evas_obj_visibility_set(EINA_TRUE));
136 eo_do(fs_radio_c, elm_obj_radio_state_value_set(0));
137
138 fs_radio_cpp = eo_add(ELM_RADIO_CLASS, vbox);
139 pub_widgets.fs_radio_cpp = fs_radio_cpp;
140 eo_do(fs_radio_cpp, elm_obj_widget_part_text_set(NULL, "CPP"));
141 eo_do(fs_radio_cpp, evas_obj_visibility_set(EINA_TRUE));
142 eo_do(fs_radio_cpp, elm_obj_radio_state_value_set(1));
143 eo_do(fs_radio_c, elm_obj_radio_group_add(fs_radio_cpp));
144
145 eo_do(fs_radio_box, elm_obj_box_pack_end(fs_radio_label));
146 eo_do(fs_radio_box, elm_obj_box_pack_end(fs_radio_c));
147 eo_do(fs_radio_box, elm_obj_box_pack_end(fs_radio_cpp));
148
149 fileselector = eo_add(ELM_FILESELECTOR_CLASS, vbox);
150 pub_widgets.fileselector = fileselector;
151 eo_do(fileselector, evas_obj_size_hint_weight_set(1.000000, 1.000000));
152 eo_do(fileselector, evas_obj_size_hint_align_set(-1.000000, -1.000000));
153 eo_do(fileselector, evas_obj_visibility_set(EINA_TRUE));
154
155 eo_do(vbox, elm_obj_box_pack_end(fs_radio_box));
156 eo_do(vbox, elm_obj_box_pack_end(fileselector));
157 eo_do(fs_win, evas_obj_visibility_set(EINA_TRUE));
158}
159
160Eina_Bool
161egui_layout_fs_win_show(void *data EINA_UNUSED, Eo *obj EINA_UNUSED, const Eo_Event_Description *desc EINA_UNUSED, void *event_info EINA_UNUSED)
162{
163 _create_fs_win();
164
165 return EO_CALLBACK_CONTINUE;
166}
167
168static void
169_create_rm_win()
170{
171 Eo *rm_win;
172 Eo *bg3;
173 Eo *rm_vbox;
174 Eo *rm_toolbar;
175 Eo *rm_sc;
176 Eo *rm_table;
177 Eo *rm_buttons_box;
178 Eo *rm_alias_entry;
179 Eo *rm_value_entry;
180 Eo *rm_cb_type_hoversel;
181 Eo *rm_seq_pub_check;
182 Eo *rm_image_fileselector;
183 Eo *rm_button_add;
184
185 rm_win = eo_add_custom(ELM_WIN_CLASS, main_win, elm_obj_win_constructor(NULL, ELM_WIN_BASIC));
186 pub_widgets.rm_win = rm_win;
187 eo_do(rm_win, elm_obj_win_title_set("Resource Manager"));
188 eo_do(rm_win, elm_obj_win_autodel_set(EINA_TRUE));
189 eo_do(rm_win, evas_obj_size_set(640, 480));
190 eo_do(rm_win, elm_obj_win_modal_set(EINA_TRUE));
191 eo_do(rm_win, eo_event_callback_add(ELM_WIN_EVENT_DELETE_REQUEST, _rm_win_request_delete, NULL));
192
193 bg3 = eo_add(ELM_BG_CLASS, rm_win);
194 eo_do(bg3, elm_obj_bg_color_set(80, 80, 80, 255));
195 eo_do(bg3, evas_obj_size_hint_weight_set(1.000000, 1.000000));
196 eo_do(bg3, evas_obj_visibility_set(EINA_TRUE));
197 eo_do(rm_win, elm_obj_win_resize_object_add(bg3));
198 rm_vbox = eo_add(ELM_BOX_CLASS, rm_win);
199 eo_do(rm_vbox, evas_obj_size_hint_weight_set(1.000000, 1.000000));
200 eo_do(rm_vbox, evas_obj_visibility_set(EINA_TRUE));
201 eo_do(rm_win, elm_obj_win_resize_object_add(rm_vbox));
202 rm_toolbar = eo_add(ELM_TOOLBAR_CLASS, rm_vbox);
203 pub_widgets.rm_toolbar = rm_toolbar;
204 eo_do(rm_toolbar, elm_obj_widget_style_set("item_horizontal"));
205 eo_do(rm_toolbar, elm_obj_toolbar_shrink_mode_set(ELM_TOOLBAR_SHRINK_MENU));
206 eo_do(rm_toolbar, elm_obj_toolbar_select_mode_set(ELM_OBJECT_SELECT_MODE_ALWAYS));
207 eo_do(rm_toolbar, elm_obj_toolbar_icon_size_set(16));
208 eo_do(rm_toolbar, evas_obj_size_hint_weight_set(1, 0));
209 eo_do(rm_toolbar, evas_obj_size_hint_align_set(EVAS_HINT_FILL, 0));
210 eo_do(rm_toolbar, evas_obj_visibility_set(EINA_TRUE));
211 rm_sc = eo_add(ELM_SCROLLER_CLASS, rm_vbox);
212 eo_do(rm_sc, evas_obj_visibility_set(EINA_TRUE));
213 eo_do(rm_sc, evas_obj_size_hint_weight_set(1.000000, 1.000000));
214 eo_do(rm_sc, evas_obj_size_hint_align_set(-1.000000, -1.000000));
215 eo_do(rm_sc, elm_interface_scrollable_bounce_allow_set(EINA_FALSE, EINA_TRUE));
216 rm_table = eo_add(ELM_TABLE_CLASS, rm_sc);
217 pub_widgets.rm_table = rm_table;
218 eo_do(rm_table, evas_obj_visibility_set(EINA_TRUE));
219 eo_do(rm_table, elm_obj_table_padding_set(6, 7));
220 eo_do(rm_table, evas_obj_size_hint_align_set(-1, 0));
221 eo_do(rm_table, evas_obj_size_hint_weight_set(1.000000, 0));
222 eo_do(rm_sc, elm_obj_container_content_set(NULL, rm_table));
223 rm_buttons_box = eo_add(ELM_BOX_CLASS, rm_vbox);
224 pub_widgets.rm_buttons_box = rm_buttons_box;
225 eo_do(rm_buttons_box, evas_obj_size_hint_weight_set(1.000000, 0));
226 eo_do(rm_buttons_box, evas_obj_size_hint_align_set(-1.000000, 0));
227 eo_do(rm_buttons_box, evas_obj_visibility_set(EINA_TRUE));
228 eo_do(rm_buttons_box, elm_obj_box_horizontal_set(EINA_TRUE));
229 eo_do(rm_vbox, elm_obj_box_pack_end(rm_toolbar));
230 eo_do(rm_vbox, elm_obj_box_pack_end(rm_sc));
231 eo_do(rm_vbox, elm_obj_box_pack_end(rm_buttons_box));
232 rm_alias_entry = eo_add(ELM_ENTRY_CLASS, rm_buttons_box);
233 pub_widgets.rm_alias_entry = rm_alias_entry;
234 eo_do(rm_alias_entry, evas_obj_size_hint_weight_set(1.000000, 0));
235 eo_do(rm_alias_entry, evas_obj_size_hint_align_set(-1.000000, 0));
236 eo_do(rm_alias_entry, elm_obj_entry_scrollable_set(EINA_TRUE));
237 eo_do(rm_alias_entry, elm_obj_entry_single_line_set(EINA_TRUE));
238 eo_do(rm_alias_entry, elm_interface_scrollable_policy_set(ELM_SCROLLER_POLICY_OFF, ELM_SCROLLER_POLICY_OFF));
239 eo_do(rm_alias_entry, evas_obj_visibility_set(EINA_TRUE));
240 rm_value_entry = eo_add(ELM_ENTRY_CLASS, rm_buttons_box);
241 pub_widgets.rm_value_entry = rm_value_entry;
242 eo_do(rm_value_entry, evas_obj_size_hint_weight_set(1.000000, 0));
243 eo_do(rm_value_entry, evas_obj_size_hint_align_set(-1.000000, 0));
244 eo_do(rm_value_entry, elm_obj_entry_scrollable_set(EINA_TRUE));
245 eo_do(rm_value_entry, elm_obj_entry_single_line_set(EINA_TRUE));
246 eo_do(rm_value_entry, elm_interface_scrollable_policy_set(ELM_SCROLLER_POLICY_OFF, ELM_SCROLLER_POLICY_OFF));
247 eo_do(rm_value_entry, evas_obj_visibility_set(EINA_TRUE));
248 rm_cb_type_hoversel = eo_add(ELM_HOVERSEL_CLASS, rm_buttons_box);
249 pub_widgets.rm_cb_type_hoversel = rm_cb_type_hoversel;
250 eo_do(rm_cb_type_hoversel, elm_obj_hoversel_hover_parent_set(rm_win));
251 rm_seq_pub_check = eo_add(ELM_CHECK_CLASS, rm_buttons_box);
252 pub_widgets.rm_seq_pub_check = rm_seq_pub_check;
253 eo_do(rm_cb_type_hoversel, elm_obj_hoversel_hover_parent_set(rm_win));
254 rm_image_fileselector = eo_add(ELM_FILESELECTOR_ENTRY_CLASS, rm_buttons_box);
255 pub_widgets.rm_image_fileselector = rm_image_fileselector;
256 eo_do(rm_image_fileselector, evas_obj_size_hint_weight_set(1, 0.0));
257 eo_do(rm_image_fileselector, evas_obj_size_hint_align_set(EVAS_HINT_FILL, 0));
258 eo_do(rm_image_fileselector, elm_obj_widget_part_text_set(NULL, "..."));
259 rm_button_add = eo_add(ELM_BUTTON_CLASS, rm_buttons_box);
260 pub_widgets.rm_button_add = rm_button_add;
261 eo_do(rm_button_add, elm_obj_widget_part_text_set(NULL, "Add Resource"));
262 eo_do(rm_button_add, evas_obj_visibility_set(EINA_TRUE));
263 eo_do(rm_button_add, eo_event_callback_add(EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, _rm_add_button_clicked, NULL));
264 eo_do(rm_buttons_box, elm_obj_box_pack_end(rm_alias_entry));
265 eo_do(rm_buttons_box, elm_obj_box_pack_end(rm_value_entry));
266 eo_do(rm_buttons_box, elm_obj_box_pack_end(rm_button_add));
267 eo_do(rm_win, evas_obj_visibility_set(EINA_TRUE));
268}
269
270static void
271_create_settings_win()
272{
273 Eo *settings_win;
274 Eo *settings_bg;
275 Eo *settings_vbox;
276 Eo *settings_toolbar;
277 Eo *settings_table;
278 Eo *project_name_label;
279 Eo *project_name_entry;
280 Eo *images_prefix_label;
281 Eo *images_prefix_entry;
282 Eo *settings_buttons_box;
283 Eo *settings_button_apply;
284
285 settings_win = eo_add_custom(ELM_WIN_CLASS, main_win, elm_obj_win_constructor(NULL, ELM_WIN_BASIC));
286 pub_widgets.settings_win = settings_win;
287 eo_do(settings_win, elm_obj_win_title_set("Settings Manager"));
288 eo_do(settings_win, elm_obj_win_autodel_set(EINA_TRUE));
289 eo_do(settings_win, evas_obj_size_set(640, 480));
290 eo_do(settings_win, elm_obj_win_modal_set(EINA_TRUE));
291 eo_do(settings_win, eo_event_callback_add(ELM_WIN_EVENT_DELETE_REQUEST, _settings_win_request_delete, NULL));
292 settings_bg = eo_add(ELM_BG_CLASS, settings_win);
293 eo_do(settings_bg, elm_obj_bg_color_set(80, 80, 80, 255));
294 eo_do(settings_bg, evas_obj_size_hint_weight_set(1.000000, 1.000000));
295 eo_do(settings_bg, evas_obj_visibility_set(EINA_TRUE));
296 eo_do(settings_win, elm_obj_win_resize_object_add(settings_bg));
297
298 settings_vbox = eo_add(ELM_BOX_CLASS, settings_win);
299 eo_do(settings_vbox, evas_obj_size_hint_weight_set(1.000000, 1.000000));
300 eo_do(settings_vbox, evas_obj_visibility_set(EINA_TRUE));
301 eo_do(settings_win, elm_obj_win_resize_object_add(settings_vbox));
302
303 settings_toolbar = eo_add(ELM_TOOLBAR_CLASS, settings_vbox);
304 pub_widgets.settings_toolbar = settings_toolbar;
305 eo_do(settings_toolbar, elm_obj_widget_style_set("item_horizontal"));
306 eo_do(settings_toolbar, elm_obj_toolbar_shrink_mode_set(ELM_TOOLBAR_SHRINK_MENU));
307 eo_do(settings_toolbar, elm_obj_toolbar_select_mode_set(ELM_OBJECT_SELECT_MODE_ALWAYS));
308 eo_do(settings_toolbar, elm_obj_toolbar_icon_size_set(16));
309 eo_do(settings_toolbar, evas_obj_size_hint_weight_set(1, 0));
310 eo_do(settings_toolbar, evas_obj_size_hint_align_set(EVAS_HINT_FILL, 0));
311 eo_do(settings_toolbar, evas_obj_visibility_set(EINA_TRUE));
312
313 settings_table = eo_add(ELM_TABLE_CLASS, settings_vbox);
314 pub_widgets.settings_table = settings_table;
315 eo_do(settings_table, evas_obj_visibility_set(EINA_TRUE));
316 eo_do(settings_table, elm_obj_table_padding_set(6, 7));
317 eo_do(settings_table, evas_obj_size_hint_align_set(-1, -1));
318 eo_do(settings_table, evas_obj_size_hint_weight_set(1.000000, 1));
319
320
321 settings_buttons_box = eo_add(ELM_BOX_CLASS, settings_vbox);
322 pub_widgets.settings_buttons_box = settings_buttons_box;
323 eo_do(settings_buttons_box, evas_obj_size_hint_weight_set(1.000000, 0));
324 eo_do(settings_buttons_box, evas_obj_size_hint_align_set(-1.000000, 0));
325 eo_do(settings_buttons_box, evas_obj_visibility_set(EINA_TRUE));
326 eo_do(settings_buttons_box, elm_obj_box_horizontal_set(EINA_TRUE));
327 eo_do(settings_vbox, elm_obj_box_pack_end(settings_toolbar));
328 eo_do(settings_vbox, elm_obj_box_pack_end(settings_table));
329 eo_do(settings_vbox, elm_obj_box_pack_end(settings_buttons_box));
330
331
332 settings_button_apply = eo_add(ELM_BUTTON_CLASS, settings_buttons_box);
333 pub_widgets.settings_button_apply = settings_button_apply;
334 eo_do(settings_button_apply, elm_obj_widget_part_text_set(NULL, "Apply"));
335 eo_do(settings_button_apply, evas_obj_visibility_set(EINA_TRUE));
336 eo_do(settings_button_apply, elm_obj_widget_disabled_set(EINA_TRUE));
337 eo_do(settings_button_apply, eo_event_callback_add(EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, _settings_apply_button_clicked, NULL));
338 eo_do(settings_buttons_box, elm_obj_box_pack_end(settings_button_apply));
339
340 project_name_label = eo_add(ELM_LABEL_CLASS, settings_table);
341 pub_widgets.project_name_label = project_name_label;
342 eo_do(project_name_label, elm_obj_widget_part_text_set(NULL, "Project Name"));
343 eo_do(project_name_label, evas_obj_visibility_set(EINA_TRUE));
344
345 project_name_entry = eo_add(ELM_ENTRY_CLASS, settings_table);
346 pub_widgets.project_name_entry = project_name_entry;
347 eo_do(project_name_entry, evas_obj_size_hint_weight_set(1.000000, 0));
348 eo_do(project_name_entry, evas_obj_size_hint_align_set(-1.000000, 0));
349 eo_do(project_name_entry, elm_obj_entry_scrollable_set(EINA_TRUE));
350 eo_do(project_name_entry, elm_obj_entry_single_line_set(EINA_TRUE));
351 eo_do(project_name_entry, elm_interface_scrollable_policy_set(ELM_SCROLLER_POLICY_OFF, ELM_SCROLLER_POLICY_OFF));
352 eo_do(project_name_entry, evas_obj_visibility_set(EINA_TRUE));
353 eo_do(settings_win, evas_obj_visibility_set(EINA_TRUE));
354
355 images_prefix_label = eo_add(ELM_LABEL_CLASS, settings_table);
356 pub_widgets.images_prefix_label = images_prefix_label;
357 eo_do(images_prefix_label, elm_obj_widget_part_text_set(NULL, "Images prefix name:"));
358 eo_do(images_prefix_label, evas_obj_visibility_set(EINA_TRUE));
359 images_prefix_entry = eo_add(ELM_ENTRY_CLASS, settings_table);
360 pub_widgets.images_prefix_entry = images_prefix_entry;
361 eo_do(images_prefix_entry, evas_obj_size_hint_weight_set(1.000000, 0.000000));
362 eo_do(images_prefix_entry, evas_obj_size_hint_align_set(-1.000000, 0.000000));
363 eo_do(images_prefix_entry, elm_obj_entry_scrollable_set(EINA_TRUE));
364 eo_do(images_prefix_entry, elm_obj_entry_single_line_set(EINA_TRUE));
365 eo_do(images_prefix_entry, elm_interface_scrollable_policy_set(ELM_SCROLLER_POLICY_OFF, ELM_SCROLLER_POLICY_OFF));
366 eo_do(images_prefix_entry, evas_obj_visibility_set(EINA_TRUE));
367
368}
369
370
371Eina_Bool
372egui_layout_rm_win_show(void *data EINA_UNUSED, Eo *obj EINA_UNUSED, const Eo_Event_Description *desc EINA_UNUSED, void *event_info EINA_UNUSED)
373{
374 _create_rm_win();
375
376 if (!_rm_win_show_post_cb(NULL, obj, desc, event_info)) return EO_CALLBACK_STOP;
377
378
379 return EO_CALLBACK_CONTINUE;
380}
381
382
383Eina_Bool
384egui_layout_settings_win_show(void *data EINA_UNUSED, Eo *obj EINA_UNUSED, const Eo_Event_Description *desc EINA_UNUSED, void *event_info EINA_UNUSED)
385{
386 _create_settings_win();
387
388 if (!_settings_win_show_post_cb(NULL, obj, desc, event_info)) return EO_CALLBACK_STOP;
389
390
391 return EO_CALLBACK_CONTINUE;
392}
393
394static void
395_create_main_win()
396{
397
398 Eo *main_bg;
399 Eo *canvas_bg;
400 Eo *main_box;
401 Eo *toolbar;
402 Elm_Object_Item *toolbar_project_it;
403 Elm_Object_Item *toolbar_separator1_it;
404 Elm_Object_Item *toolbar_rm_it;
405 Elm_Object_Item *toolbar_settings_it;
406 Elm_Object_Item *toolbar_separator2_it;
407 Elm_Object_Item *toolbar_undo_it;
408 Elm_Object_Item *toolbar_redo_it;
409 Elm_Object_Item *toolbar_reload_it;
410 Elm_Object_Item *toolbar_delete_it;
411 Elm_Object_Item *toolbar_view_it;
412 Elm_Object_Item *toolbar_simulate_it;
413 Elm_Object_Item *toolbar_graph_it;
414 Eo *hor_box;
415 Eo *left_panes;
416 Eo *left_panel_box;
417 Eo *left_panes_internal;
418 Eo *fctr_scroll;
419 Eo *fctr_scroll_box;
420 Eo *fctr_table;
421 Eo *fctr_win_it;
422 Eo *fctr_win_image;
423 Eo *fctr_win_label;
424 Eo *fctr_bg_it;
425 Eo *fctr_bg_image;
426 Eo *fctr_bg_label;
427 Eo *fctr_box_it;
428 Eo *fctr_box_image;
429 Eo *fctr_box_label;
430 Eo *fctr_button_it;
431 Eo *fctr_button_image;
432 Eo *fctr_button_label;
433 Eo *fctr_label_it;
434 Eo *fctr_label_image;
435 Eo *fctr_label_label;
436 Eo *fctr_check_it;
437 Eo *fctr_check_image;
438 Eo *fctr_check_label;
439 Eo *fctr_radio_it;
440 Eo *fctr_radio_image;
441 Eo *fctr_radio_label;
442 Eo *fctr_icon_it;
443 Eo *fctr_icon_image;
444 Eo *fctr_icon_label;
445 Eo *fctr_image_it;
446 Eo *fctr_image_image;
447 Eo *fctr_image_label;
448 Eo *fctr_actionslider_it;
449 Eo *fctr_actionslider_image;
450 Eo *fctr_actionslider_label;
451 Eo *fctr_bubble_it;
452 Eo *fctr_bubble_image;
453 Eo *fctr_bubble_label;
454 Eo *fctr_calendar_it;
455 Eo *fctr_calendar_image;
456 Eo *fctr_calendar_label;
457 Eo *fctr_colorselector_it;
458 Eo *fctr_colorselector_image;
459 Eo *fctr_colorselector_label;
460 Eo *fctr_dayselector_it;
461 Eo *fctr_dayselector_image;
462 Eo *fctr_dayselector_label;
463 Eo *fctr_clock_it;
464 Eo *fctr_clock_image;
465 Eo *fctr_clock_label;
466 Eo *fctr_entry_it;
467 Eo *fctr_entry_image;
468 Eo *fctr_entry_label;
469 Eo *fctr_flip_it;
470 Eo *fctr_flip_image;
471 Eo *fctr_flip_label;
472 Eo *fctr_genlist_it;
473 Eo *fctr_genlist_image;
474 Eo *fctr_genlist_label;
475 Eo *fctr_gengrid_it;
476 Eo *fctr_gengrid_image;
477 Eo *fctr_gengrid_label;
478 Eo *fctr_table_it;
479 Eo *fctr_table_image;
480 Eo *fctr_table_label;
481 Eo *fctr_menu_it;
482 Eo *fctr_menu_image;
483 Eo *fctr_menu_label;
484 Eo *fctr_diskselector_it;
485 Eo *fctr_diskselector_image;
486 Eo *fctr_diskselector_label;
487 Eo *fctr_ctxpopup_it;
488 Eo *fctr_ctxpopup_image;
489 Eo *fctr_ctxpopup_label;
490 Eo *fctr_toolbar_it;
491 Eo *fctr_toolbar_image;
492 Eo *fctr_toolbar_label;
493 Eo *sequences_box;
494 Eo *seq_table;
495 Eo *seq_list;
496 Eo *right_panes;
497 Eo *right_panel_box;
498 Eo *right_panes_internal;
499 Eo *objtree_table;
500 Eo *objtree_list;
501 Eo *objtree_filter_box;
502 Eo *objtree_filter_label;
503 Eo *objtree_filter_entry;
504 Eo *propsview_table;
505 Eo *properties_list;
506 Eo *propsview_toolbar;
507 Eo *propsview_sc;
508 Eo *propsview_box;
509 Eo *itemview_box;
510 Eo *itemview_list;
511 Eo *itemview_buttons_box;
512 Eo *itemview_add_item_but;
513 Eo *itemview_add_item_nested_but;
514 Eo *itemview_add_separator_but;
515 Eo *itemview_del_item_but;
516
517
518 main_win = eo_add_custom(ELM_WIN_CLASS, NULL, elm_obj_win_constructor(NULL, ELM_WIN_BASIC));
519 pub_widgets.main_win = main_win;
520 eo_do(main_win, elm_obj_win_title_set("Egui is Cool!"));
521 eo_do(main_win, elm_obj_win_autodel_set(EINA_TRUE));
522 eo_do(main_win, evas_obj_size_set(1000, 650));
523
524 main_bg = eo_add(ELM_BG_CLASS, main_win);
525 eo_do(main_bg, elm_obj_bg_color_set(90, 90, 90, 255));
526 eo_do(main_bg, evas_obj_size_hint_weight_set(1.00000, 1.000000));
527 eo_do(main_bg, evas_obj_visibility_set(EINA_TRUE));
528 eo_do(main_win, elm_obj_win_resize_object_add(main_bg));
529
530 canvas_bg = eo_add(ELM_BG_CLASS, main_win);
531 pub_widgets.canvas_bg = canvas_bg;
532 eo_do(canvas_bg, efl_file_set("data/images/canvas_bg.jpg", NULL));
533 eo_do(canvas_bg, evas_obj_size_hint_weight_set(1.00000, 1.000000));
534 eo_do(canvas_bg, evas_obj_visibility_set(EINA_TRUE));
535
536 main_box = eo_add(ELM_BOX_CLASS, main_win);
537 eo_do(main_box, evas_obj_size_hint_weight_set(1.000000, 1.000000));
538 eo_do(main_box, evas_obj_visibility_set(EINA_TRUE));
539 eo_do(main_win, elm_obj_win_resize_object_add(main_box));
540
541 toolbar = eo_add(ELM_TOOLBAR_CLASS, main_win);
542 pub_widgets.toolbar = toolbar;
543
544 eo_do(toolbar, toolbar_project_it = elm_obj_toolbar_item_append("folder-open", "Project", NULL, NULL));
545 pub_widgets.toolbar_project_it = toolbar_project_it;
546 eo_do(toolbar, toolbar_separator1_it = elm_obj_toolbar_item_append(NULL, NULL, NULL, NULL));
547 pub_widgets.toolbar_separator1_it = toolbar_separator1_it;
548 eo_do(toolbar, toolbar_rm_it = elm_obj_toolbar_item_append("emblem-web", "Resource manager", _toolbar_item_sel_cb, NULL));
549 pub_widgets.toolbar_rm_it = toolbar_rm_it;
550 eo_do(toolbar, toolbar_settings_it = elm_obj_toolbar_item_append("preferences-system", "Settings", _toolbar_item_sel_cb, NULL));
551 pub_widgets.toolbar_settings_it = toolbar_settings_it;
552 eo_do(toolbar, toolbar_separator2_it = elm_obj_toolbar_item_append(NULL, NULL, NULL, NULL));
553 pub_widgets.toolbar_separator2_it = toolbar_separator2_it;
554 eo_do(toolbar, toolbar_undo_it = elm_obj_toolbar_item_append("edit-undo", "Undo", _toolbar_item_sel_cb, NULL));
555 pub_widgets.toolbar_undo_it = toolbar_undo_it;
556 eo_do(toolbar, toolbar_redo_it = elm_obj_toolbar_item_append("edit-redo", "Redo", _toolbar_item_sel_cb, NULL));
557 pub_widgets.toolbar_redo_it = toolbar_redo_it;
558 eo_do(toolbar, toolbar_reload_it = elm_obj_toolbar_item_append("view-refresh", "Reload context", _toolbar_item_sel_cb, NULL));
559 pub_widgets.toolbar_reload_it = toolbar_reload_it;
560 eo_do(toolbar, toolbar_delete_it = elm_obj_toolbar_item_append("edit-delete", "Delete widget", _toolbar_item_sel_cb, NULL));
561 pub_widgets.toolbar_delete_it = toolbar_delete_it;
562 eo_do(toolbar, toolbar_view_it = elm_obj_toolbar_item_append("view-restore", "View", NULL, NULL));
563 pub_widgets.toolbar_view_it = toolbar_view_it;
564 eo_do(toolbar, toolbar_simulate_it = elm_obj_toolbar_item_append("system-run", "Simulate", NULL, NULL));
565 pub_widgets.toolbar_simulate_it = toolbar_simulate_it;
566 eo_do(toolbar, toolbar_graph_it = elm_obj_toolbar_item_append("media-playlist-repeat", "Graph", egui_layout_graphviz_button_clicked, NULL));
567 pub_widgets.toolbar_graph_it = toolbar_graph_it;
568
569 eo_do(toolbar, elm_obj_widget_style_set("item_centered"));
570 eo_do(toolbar, elm_obj_toolbar_shrink_mode_set(ELM_TOOLBAR_SHRINK_MENU));
571 eo_do(toolbar, elm_obj_toolbar_select_mode_set(ELM_OBJECT_SELECT_MODE_ALWAYS));
572 eo_do(toolbar, evas_obj_size_hint_weight_set(0, 0));
573 eo_do(toolbar, evas_obj_size_hint_align_set(EVAS_HINT_FILL, 0));
574 eo_do(toolbar, evas_obj_visibility_set(EINA_TRUE));
575
576 hor_box = eo_add(ELM_BOX_CLASS, main_win);
577 eo_do(hor_box, elm_obj_box_horizontal_set(EINA_TRUE));
578 eo_do(hor_box, evas_obj_size_hint_weight_set(0, 1.000000));
579 eo_do(hor_box, evas_obj_size_hint_align_set(-1.000000, -1.000000));
580 eo_do(hor_box, evas_obj_visibility_set(EINA_TRUE));
581 eo_do(main_box, elm_obj_box_pack_end(toolbar));
582 eo_do(main_box, elm_obj_box_pack_end(hor_box));
583
584 left_panes = eo_add(ELM_PANES_CLASS, hor_box);
585 pub_widgets.left_panes = left_panes;
586 eo_do(left_panes, evas_obj_size_hint_weight_set(1.000000, 1.000000));
587 eo_do(left_panes, evas_obj_size_hint_align_set(0, -1.000000));
588 eo_do(left_panes, evas_obj_visibility_set(EINA_TRUE));
589
590 left_panel_box = eo_add(ELM_BOX_CLASS, left_panes);
591 pub_widgets.left_panel_box = left_panel_box;
592 eo_do(left_panel_box, evas_obj_size_hint_weight_set(1.000000, 1.000000));
593 eo_do(left_panel_box, evas_obj_size_hint_align_set(-1.000000, -1.000000));
594 eo_do(left_panel_box, evas_obj_visibility_set(EINA_TRUE));
595 eo_do(left_panes, elm_obj_container_content_set("left", left_panel_box));
596
597 left_panes_internal = eo_add(ELM_PANES_CLASS, left_panel_box);
598 eo_do(left_panes_internal, evas_obj_size_hint_weight_set(1.000000, 1.000000));
599 eo_do(left_panes_internal, evas_obj_size_hint_align_set(-1, -1.000000));
600 eo_do(left_panes_internal, evas_obj_visibility_set(EINA_TRUE));
601 eo_do(left_panes_internal, elm_obj_panes_horizontal_set(EINA_TRUE));
602 eo_do(left_panes_internal, elm_obj_panes_fixed_set(EINA_FALSE));
603 eo_do(left_panes_internal, elm_obj_panes_content_left_size_set(0.65));
604 eo_do(left_panel_box, elm_obj_box_pack_end(left_panes_internal));
605
606 fctr_scroll = eo_add(ELM_SCROLLER_CLASS, left_panes_internal);
607 eo_do(fctr_scroll, evas_obj_size_hint_weight_set(1.000000, 1.000000));
608 eo_do(fctr_scroll, evas_obj_size_hint_align_set(-1.000000, -1.000000));
609 eo_do(fctr_scroll, elm_interface_scrollable_bounce_allow_set(EINA_FALSE, EINA_TRUE));
610 eo_do(fctr_scroll, evas_obj_visibility_set(EINA_TRUE));
611
612 fctr_scroll_box = eo_add(ELM_BOX_CLASS, fctr_scroll);
613 eo_do(fctr_scroll_box, evas_obj_size_hint_weight_set(1.000000, 0.000000));
614 eo_do(fctr_scroll_box, evas_obj_size_hint_align_set(-1, 0.000000));
615 eo_do(fctr_scroll_box, evas_obj_visibility_set(EINA_TRUE));
616 eo_do(fctr_scroll, elm_obj_container_content_set(NULL, fctr_scroll_box));
617
618 fctr_table = eo_add(ELM_TABLE_CLASS, left_panes_internal);
619 pub_widgets.fctr_table = fctr_table;
620 eo_do(fctr_table, evas_obj_size_hint_align_set(0.050000, -1.000000));
621 eo_do(fctr_table, elm_obj_table_padding_set(6, 7));
622 eo_do(fctr_table, evas_obj_visibility_set(EINA_TRUE));
623 eo_do(fctr_scroll_box, elm_obj_box_pack_end(fctr_table));
624
625 fctr_win_it = eo_add(ELM_BOX_CLASS, fctr_table);
626 pub_widgets.fctr_win_it = fctr_win_it;
627 eo_do(fctr_win_it, elm_obj_box_horizontal_set(EINA_TRUE));
628 eo_do(fctr_win_it, elm_obj_box_padding_set(7, 0));
629 eo_do(fctr_win_it, evas_obj_visibility_set(EINA_TRUE));
630 eo_do(fctr_table, elm_obj_table_pack(fctr_win_it, 0, 0, 1, 1));
631
632 fctr_win_image = eo_add(ELM_IMAGE_CLASS, fctr_win_it);
633 eo_do(fctr_win_image, evas_obj_size_hint_min_set(25, 25));
634 eo_do(fctr_win_image, elm_obj_image_resizable_set(EINA_TRUE, EINA_TRUE));
635 eo_do(fctr_win_image, evas_obj_visibility_set(EINA_TRUE));
636
637 fctr_win_label = eo_add(ELM_LABEL_CLASS, fctr_win_it);
638 eo_do(fctr_win_label, elm_obj_widget_part_text_set(NULL, "Window"));
639 eo_do(fctr_win_label, evas_obj_visibility_set(EINA_TRUE));
640 eo_do(fctr_win_it, elm_obj_box_pack_end(fctr_win_image));
641 eo_do(fctr_win_it, elm_obj_box_pack_end(fctr_win_label));
642
643 fctr_bg_it = eo_add(ELM_BOX_CLASS, fctr_table);
644 pub_widgets.fctr_bg_it = fctr_bg_it;
645 eo_do(fctr_bg_it, elm_obj_box_horizontal_set(EINA_TRUE));
646 eo_do(fctr_bg_it, elm_obj_box_padding_set(7, 0));
647 eo_do(fctr_bg_it, evas_obj_visibility_set(EINA_TRUE));
648 eo_do(fctr_table, elm_obj_table_pack(fctr_bg_it, 0, 1, 1, 1));
649
650 fctr_bg_image = eo_add(ELM_IMAGE_CLASS, fctr_bg_it);
651 eo_do(fctr_bg_image, evas_obj_size_hint_min_set(25, 25));
652 eo_do(fctr_bg_image, elm_obj_image_resizable_set(EINA_TRUE, EINA_TRUE));
653 eo_do(fctr_bg_image, evas_obj_visibility_set(EINA_TRUE));
654
655 fctr_bg_label = eo_add(ELM_LABEL_CLASS, fctr_bg_it);
656 eo_do(fctr_bg_label, elm_obj_widget_part_text_set(NULL, "Background"));
657 eo_do(fctr_bg_label, evas_obj_visibility_set(EINA_TRUE));
658 eo_do(fctr_bg_it, elm_obj_box_pack_end(fctr_bg_image));
659 eo_do(fctr_bg_it, elm_obj_box_pack_end(fctr_bg_label));
660
661 fctr_box_it = eo_add(ELM_BOX_CLASS, fctr_table);
662 pub_widgets.fctr_box_it = fctr_box_it;
663 eo_do(fctr_box_it, elm_obj_box_horizontal_set(EINA_TRUE));
664 eo_do(fctr_box_it, elm_obj_box_padding_set(7, 0));
665 eo_do(fctr_box_it, evas_obj_visibility_set(EINA_TRUE));
666 eo_do(fctr_table, elm_obj_table_pack(fctr_box_it, 0, 2, 1, 1));
667
668 fctr_box_image = eo_add(ELM_IMAGE_CLASS, fctr_box_it);
669 eo_do(fctr_box_image, evas_obj_size_hint_min_set(25, 25));
670 eo_do(fctr_box_image, elm_obj_image_resizable_set(EINA_TRUE, EINA_TRUE));
671 eo_do(fctr_box_image, evas_obj_visibility_set(EINA_TRUE));
672
673 fctr_box_label = eo_add(ELM_LABEL_CLASS, fctr_box_it);
674 eo_do(fctr_box_label, elm_obj_widget_part_text_set(NULL, "Box"));
675 eo_do(fctr_box_label, evas_obj_visibility_set(EINA_TRUE));
676 eo_do(fctr_box_it, elm_obj_box_pack_end(fctr_box_image));
677 eo_do(fctr_box_it, elm_obj_box_pack_end(fctr_box_label));
678
679 fctr_button_it = eo_add(ELM_BOX_CLASS, fctr_table);
680 pub_widgets.fctr_button_it = fctr_button_it;
681 eo_do(fctr_button_it, elm_obj_box_horizontal_set(EINA_TRUE));
682 eo_do(fctr_button_it, elm_obj_box_padding_set(7, 0));
683 eo_do(fctr_button_it, evas_obj_visibility_set(EINA_TRUE));
684 eo_do(fctr_table, elm_obj_table_pack(fctr_button_it, 0, 3, 1, 1));
685
686 fctr_button_image = eo_add(ELM_IMAGE_CLASS, fctr_button_it);
687 eo_do(fctr_button_image, evas_obj_size_hint_min_set(25, 25));
688 eo_do(fctr_button_image, elm_obj_image_resizable_set(EINA_TRUE, EINA_TRUE));
689 eo_do(fctr_button_image, evas_obj_visibility_set(EINA_TRUE));
690
691 fctr_button_label = eo_add(ELM_LABEL_CLASS, fctr_button_it);
692 eo_do(fctr_button_label, elm_obj_widget_part_text_set(NULL, "Button"));
693 eo_do(fctr_button_label, evas_obj_visibility_set(EINA_TRUE));
694 eo_do(fctr_button_it, elm_obj_box_pack_end(fctr_button_image));
695 eo_do(fctr_button_it, elm_obj_box_pack_end(fctr_button_label));
696
697 fctr_label_it = eo_add(ELM_BOX_CLASS, fctr_table);
698 pub_widgets.fctr_label_it = fctr_label_it;
699 eo_do(fctr_label_it, elm_obj_box_horizontal_set(EINA_TRUE));
700 eo_do(fctr_label_it, elm_obj_box_padding_set(7, 0));
701 eo_do(fctr_label_it, evas_obj_visibility_set(EINA_TRUE));
702 eo_do(fctr_table, elm_obj_table_pack(fctr_label_it, 0, 4, 1, 1));
703
704 fctr_label_image = eo_add(ELM_IMAGE_CLASS, fctr_label_it);
705 eo_do(fctr_label_image, evas_obj_size_hint_min_set(25, 25));
706 eo_do(fctr_label_image, elm_obj_image_resizable_set(EINA_TRUE, EINA_TRUE));
707 eo_do(fctr_label_image, evas_obj_visibility_set(EINA_TRUE));
708
709 fctr_label_label = eo_add(ELM_LABEL_CLASS, fctr_label_it);
710 eo_do(fctr_label_label, evas_obj_visibility_set(EINA_TRUE));
711 eo_do(fctr_label_label, elm_obj_widget_part_text_set(NULL, "Label"));
712 eo_do(fctr_label_it, elm_obj_box_pack_end(fctr_label_image));
713 eo_do(fctr_label_it, elm_obj_box_pack_end(fctr_label_label));
714
715 fctr_check_it = eo_add(ELM_BOX_CLASS, fctr_table);
716 pub_widgets.fctr_check_it = fctr_check_it;
717 eo_do(fctr_check_it, elm_obj_box_horizontal_set(EINA_TRUE));
718 eo_do(fctr_check_it, elm_obj_box_padding_set(7, 0));
719 eo_do(fctr_check_it, evas_obj_visibility_set(EINA_TRUE));
720 eo_do(fctr_table, elm_obj_table_pack(fctr_check_it, 0, 5, 1, 1));
721
722 fctr_check_image = eo_add(ELM_IMAGE_CLASS, fctr_check_it);
723 eo_do(fctr_check_image, evas_obj_size_hint_min_set(25, 25));
724 eo_do(fctr_check_image, elm_obj_image_resizable_set(EINA_TRUE, EINA_TRUE));
725 eo_do(fctr_check_image, evas_obj_visibility_set(EINA_TRUE));
726
727 fctr_check_label = eo_add(ELM_LABEL_CLASS, fctr_check_it);
728 eo_do(fctr_check_label, elm_obj_widget_part_text_set(NULL, "Check"));
729 eo_do(fctr_check_label, evas_obj_visibility_set(EINA_TRUE));
730 eo_do(fctr_check_it, elm_obj_box_pack_end(fctr_check_image));
731 eo_do(fctr_check_it, elm_obj_box_pack_end(fctr_check_label));
732
733 fctr_radio_it = eo_add(ELM_BOX_CLASS, fctr_table);
734 pub_widgets.fctr_radio_it = fctr_radio_it;
735 eo_do(fctr_radio_it, elm_obj_box_horizontal_set(EINA_TRUE));
736 eo_do(fctr_radio_it, elm_obj_box_padding_set(7, 0));
737 eo_do(fctr_radio_it, evas_obj_visibility_set(EINA_TRUE));
738 eo_do(fctr_table, elm_obj_table_pack(fctr_radio_it, 0, 6, 1, 1));
739
740 fctr_radio_image = eo_add(ELM_IMAGE_CLASS, fctr_radio_it);
741 eo_do(fctr_radio_image, evas_obj_size_hint_min_set(25, 25));
742 eo_do(fctr_radio_image, elm_obj_image_resizable_set(EINA_TRUE, EINA_TRUE));
743 eo_do(fctr_radio_image, evas_obj_visibility_set(EINA_TRUE));
744
745 fctr_radio_label = eo_add(ELM_LABEL_CLASS, fctr_radio_it);
746 eo_do(fctr_radio_label, elm_obj_widget_part_text_set(NULL, "Radio"));
747 eo_do(fctr_radio_label, evas_obj_visibility_set(EINA_TRUE));
748 eo_do(fctr_radio_it, elm_obj_box_pack_end(fctr_radio_image));
749 eo_do(fctr_radio_it, elm_obj_box_pack_end(fctr_radio_label));
750
751 fctr_icon_it = eo_add(ELM_BOX_CLASS, fctr_table);
752 pub_widgets.fctr_icon_it = fctr_icon_it;
753 eo_do(fctr_icon_it, elm_obj_box_horizontal_set(EINA_TRUE));
754 eo_do(fctr_icon_it, elm_obj_box_padding_set(7, 0));
755 eo_do(fctr_icon_it, evas_obj_visibility_set(EINA_TRUE));
756 eo_do(fctr_table, elm_obj_table_pack(fctr_icon_it, 0, 7, 1, 1));
757
758 fctr_icon_image = eo_add(ELM_IMAGE_CLASS, fctr_icon_it);
759 eo_do(fctr_icon_image, evas_obj_size_hint_min_set(25, 25));
760 eo_do(fctr_icon_image, elm_obj_image_resizable_set(EINA_TRUE, EINA_TRUE));
761 eo_do(fctr_icon_image, evas_obj_visibility_set(EINA_TRUE));
762
763 fctr_icon_label = eo_add(ELM_LABEL_CLASS, fctr_icon_it);
764 eo_do(fctr_icon_label, elm_obj_widget_part_text_set(NULL, "Icon"));
765 eo_do(fctr_icon_label, evas_obj_visibility_set(EINA_TRUE));
766 eo_do(fctr_icon_it, elm_obj_box_pack_end(fctr_icon_image));
767 eo_do(fctr_icon_it, elm_obj_box_pack_end(fctr_icon_label));
768
769 fctr_image_it = eo_add(ELM_BOX_CLASS, fctr_table);
770 pub_widgets.fctr_image_it = fctr_image_it;
771 eo_do(fctr_image_it, elm_obj_box_horizontal_set(EINA_TRUE));
772 eo_do(fctr_image_it, elm_obj_box_padding_set(7, 0));
773 eo_do(fctr_image_it, evas_obj_visibility_set(EINA_TRUE));
774 eo_do(fctr_table, elm_obj_table_pack(fctr_image_it, 0, 8, 1, 1));
775
776 fctr_image_image = eo_add(ELM_IMAGE_CLASS, fctr_image_it);
777 eo_do(fctr_image_image, evas_obj_size_hint_min_set(25, 25));
778 eo_do(fctr_image_image, elm_obj_image_resizable_set(EINA_TRUE, EINA_TRUE));
779 eo_do(fctr_image_image, evas_obj_visibility_set(EINA_TRUE));
780
781 fctr_image_label = eo_add(ELM_LABEL_CLASS, fctr_image_it);
782 eo_do(fctr_image_label, elm_obj_widget_part_text_set(NULL, "Image"));
783 eo_do(fctr_image_label, evas_obj_visibility_set(EINA_TRUE));
784 eo_do(fctr_image_it, elm_obj_box_pack_end(fctr_image_image));
785 eo_do(fctr_image_it, elm_obj_box_pack_end(fctr_image_label));
786
787 fctr_actionslider_it = eo_add(ELM_BOX_CLASS, fctr_table);
788 pub_widgets.fctr_actionslider_it = fctr_actionslider_it;
789 eo_do(fctr_actionslider_it, elm_obj_box_horizontal_set(EINA_TRUE));
790 eo_do(fctr_actionslider_it, elm_obj_box_padding_set(7, 0));
791 eo_do(fctr_actionslider_it, evas_obj_visibility_set(EINA_TRUE));
792 eo_do(fctr_table, elm_obj_table_pack(fctr_actionslider_it, 0, 9, 1, 1));
793
794 fctr_actionslider_image = eo_add(ELM_IMAGE_CLASS, fctr_actionslider_it);
795 eo_do(fctr_actionslider_image, evas_obj_size_hint_min_set(25, 25));
796 eo_do(fctr_actionslider_image, elm_obj_image_resizable_set(EINA_TRUE, EINA_TRUE));
797 eo_do(fctr_actionslider_image, evas_obj_visibility_set(EINA_TRUE));
798
799 fctr_actionslider_label = eo_add(ELM_LABEL_CLASS, fctr_actionslider_it);
800 eo_do(fctr_actionslider_label, elm_obj_widget_part_text_set(NULL, "Actionslider"));
801 eo_do(fctr_actionslider_label, evas_obj_visibility_set(EINA_TRUE));
802 eo_do(fctr_actionslider_it, elm_obj_box_pack_end(fctr_actionslider_image));
803 eo_do(fctr_actionslider_it, elm_obj_box_pack_end(fctr_actionslider_label));
804
805 fctr_bubble_it = eo_add(ELM_BOX_CLASS, fctr_table);
806 pub_widgets.fctr_bubble_it = fctr_bubble_it;
807 eo_do(fctr_bubble_it, elm_obj_box_horizontal_set(EINA_TRUE));
808 eo_do(fctr_bubble_it, elm_obj_box_padding_set(7, 0));
809 eo_do(fctr_bubble_it, evas_obj_visibility_set(EINA_TRUE));
810 eo_do(fctr_table, elm_obj_table_pack(fctr_bubble_it, 0, 13, 1, 1));
811
812 fctr_bubble_image = eo_add(ELM_IMAGE_CLASS, fctr_bubble_it);
813 eo_do(fctr_bubble_image, evas_obj_size_hint_min_set(25, 25));
814 eo_do(fctr_bubble_image, elm_obj_image_resizable_set(EINA_TRUE, EINA_TRUE));
815 eo_do(fctr_bubble_image, evas_obj_visibility_set(EINA_TRUE));
816
817 fctr_bubble_label = eo_add(ELM_LABEL_CLASS, fctr_bubble_it);
818 eo_do(fctr_bubble_label, evas_obj_visibility_set(EINA_TRUE));
819 eo_do(fctr_bubble_label, elm_obj_widget_part_text_set(NULL, "Bubble"));
820 eo_do(fctr_bubble_it, elm_obj_box_pack_end(fctr_bubble_image));
821 eo_do(fctr_bubble_it, elm_obj_box_pack_end(fctr_bubble_label));
822
823 fctr_calendar_it = eo_add(ELM_BOX_CLASS, fctr_table);
824 pub_widgets.fctr_calendar_it = fctr_calendar_it;
825 eo_do(fctr_calendar_it, elm_obj_box_horizontal_set(EINA_TRUE));
826 eo_do(fctr_calendar_it, evas_obj_visibility_set(EINA_TRUE));
827 eo_do(fctr_calendar_it, elm_obj_box_padding_set(7, 0));
828 eo_do(fctr_table, elm_obj_table_pack(fctr_calendar_it, 0, 12, 1, 1));
829
830 fctr_calendar_image = eo_add(ELM_IMAGE_CLASS, fctr_calendar_it);
831 eo_do(fctr_calendar_image, evas_obj_size_hint_min_set(25, 25));
832 eo_do(fctr_calendar_image, elm_obj_image_resizable_set(EINA_TRUE, EINA_TRUE));
833 eo_do(fctr_calendar_image, evas_obj_visibility_set(EINA_TRUE));
834
835 fctr_calendar_label = eo_add(ELM_LABEL_CLASS, fctr_calendar_it);
836 eo_do(fctr_calendar_label, elm_obj_widget_part_text_set(NULL, "Calendar"));
837 eo_do(fctr_calendar_label, evas_obj_visibility_set(EINA_TRUE));
838 eo_do(fctr_calendar_it, elm_obj_box_pack_end(fctr_calendar_image));
839 eo_do(fctr_calendar_it, elm_obj_box_pack_end(fctr_calendar_label));
840
841 fctr_colorselector_it = eo_add(ELM_BOX_CLASS, fctr_table);
842 pub_widgets.fctr_colorselector_it = fctr_colorselector_it;
843 eo_do(fctr_colorselector_it, elm_obj_box_horizontal_set(EINA_TRUE));
844 eo_do(fctr_colorselector_it, elm_obj_box_padding_set(7, 0));
845 eo_do(fctr_colorselector_it, evas_obj_visibility_set(EINA_TRUE));
846 eo_do(fctr_table, elm_obj_table_pack(fctr_colorselector_it, 0, 14, 1, 1));
847
848 fctr_colorselector_image = eo_add(ELM_IMAGE_CLASS, fctr_colorselector_it);
849 eo_do(fctr_colorselector_image, evas_obj_size_hint_min_set(25, 25));
850 eo_do(fctr_colorselector_image, elm_obj_image_resizable_set(EINA_TRUE, EINA_TRUE));
851 eo_do(fctr_colorselector_image, evas_obj_visibility_set(EINA_TRUE));
852
853 fctr_colorselector_label = eo_add(ELM_LABEL_CLASS, fctr_colorselector_it);
854 eo_do(fctr_colorselector_label, elm_obj_widget_part_text_set(NULL, "Colorselector"));
855 eo_do(fctr_colorselector_label, evas_obj_visibility_set(EINA_TRUE));
856 eo_do(fctr_colorselector_it, elm_obj_box_pack_end(fctr_colorselector_image));
857 eo_do(fctr_colorselector_it, elm_obj_box_pack_end(fctr_colorselector_label));
858
859 fctr_dayselector_it = eo_add(ELM_BOX_CLASS, fctr_table);
860 pub_widgets.fctr_dayselector_it = fctr_dayselector_it;
861 eo_do(fctr_dayselector_it, elm_obj_box_horizontal_set(EINA_TRUE));
862 eo_do(fctr_dayselector_it, elm_obj_box_padding_set(7, 0));
863 eo_do(fctr_dayselector_it, evas_obj_visibility_set(EINA_TRUE));
864 eo_do(fctr_table, elm_obj_table_pack(fctr_dayselector_it, 0, 11, 1, 1));
865
866 fctr_dayselector_image = eo_add(ELM_IMAGE_CLASS, fctr_dayselector_it);
867 eo_do(fctr_dayselector_image, evas_obj_size_hint_min_set(25, 25));
868 eo_do(fctr_dayselector_image, elm_obj_image_resizable_set(EINA_TRUE, EINA_TRUE));
869 eo_do(fctr_dayselector_image, evas_obj_visibility_set(EINA_TRUE));
870
871 fctr_dayselector_label = eo_add(ELM_LABEL_CLASS, fctr_dayselector_it);
872 eo_do(fctr_dayselector_label, elm_obj_widget_part_text_set(NULL, "Dayselector"));
873 eo_do(fctr_dayselector_label, evas_obj_visibility_set(EINA_TRUE));
874 eo_do(fctr_dayselector_it, elm_obj_box_pack_end(fctr_dayselector_image));
875 eo_do(fctr_dayselector_it, elm_obj_box_pack_end(fctr_dayselector_label));
876
877 fctr_clock_it = eo_add(ELM_BOX_CLASS, fctr_table);
878 pub_widgets.fctr_clock_it = fctr_clock_it;
879 eo_do(fctr_clock_it, elm_obj_box_horizontal_set(EINA_TRUE));
880 eo_do(fctr_clock_it, elm_obj_box_padding_set(7, 0));
881 eo_do(fctr_clock_it, evas_obj_visibility_set(EINA_TRUE));
882 eo_do(fctr_table, elm_obj_table_pack(fctr_clock_it, 0, 10, 1, 1));
883
884 fctr_clock_image = eo_add(ELM_IMAGE_CLASS, fctr_clock_it);
885 eo_do(fctr_clock_image, evas_obj_size_hint_min_set(25, 25));
886 eo_do(fctr_clock_image, elm_obj_image_resizable_set(EINA_TRUE, EINA_TRUE));
887 eo_do(fctr_clock_image, evas_obj_visibility_set(EINA_TRUE));
888
889 fctr_clock_label = eo_add(ELM_LABEL_CLASS, fctr_clock_it);
890 eo_do(fctr_clock_label, elm_obj_widget_part_text_set(NULL, "Clock"));
891 eo_do(fctr_clock_label, evas_obj_visibility_set(EINA_TRUE));
892 eo_do(fctr_clock_it, elm_obj_box_pack_end(fctr_clock_image));
893 eo_do(fctr_clock_it, elm_obj_box_pack_end(fctr_clock_label));
894
895 fctr_entry_it = eo_add(ELM_BOX_CLASS, fctr_table);
896 pub_widgets.fctr_entry_it = fctr_entry_it;
897 eo_do(fctr_entry_it, elm_obj_box_horizontal_set(EINA_TRUE));
898 eo_do(fctr_entry_it, elm_obj_box_padding_set(7, 0));
899 eo_do(fctr_entry_it, evas_obj_visibility_set(EINA_TRUE));
900 eo_do(fctr_table, elm_obj_table_pack(fctr_entry_it, 0, 15, 1, 1));
901
902 fctr_entry_image = eo_add(ELM_IMAGE_CLASS, fctr_entry_it);
903 eo_do(fctr_entry_image, evas_obj_size_hint_min_set(25, 25));
904 eo_do(fctr_entry_image, elm_obj_image_resizable_set(EINA_TRUE, EINA_TRUE));
905 eo_do(fctr_entry_image, evas_obj_visibility_set(EINA_TRUE));
906
907 fctr_entry_label = eo_add(ELM_LABEL_CLASS, fctr_entry_it);
908 eo_do(fctr_entry_label, elm_obj_widget_part_text_set(NULL, "Entry"));
909 eo_do(fctr_entry_label, evas_obj_visibility_set(EINA_TRUE));
910 eo_do(fctr_entry_it, elm_obj_box_pack_end(fctr_entry_image));
911 eo_do(fctr_entry_it, elm_obj_box_pack_end(fctr_entry_label));
912
913 fctr_flip_it = eo_add(ELM_BOX_CLASS, fctr_table);
914 pub_widgets.fctr_flip_it = fctr_flip_it;
915 eo_do(fctr_flip_it, elm_obj_box_horizontal_set(EINA_TRUE));
916 eo_do(fctr_flip_it, elm_obj_box_padding_set(7, 0));
917 eo_do(fctr_flip_it, evas_obj_visibility_set(EINA_TRUE));
918 eo_do(fctr_table, elm_obj_table_pack(fctr_flip_it, 0, 16, 1, 1));
919
920 fctr_flip_image = eo_add(ELM_IMAGE_CLASS, fctr_flip_it);
921 eo_do(fctr_flip_image, evas_obj_size_hint_min_set(25, 25));
922 eo_do(fctr_flip_image, elm_obj_image_resizable_set(EINA_TRUE, EINA_TRUE));
923 eo_do(fctr_flip_image, evas_obj_visibility_set(EINA_TRUE));
924
925 fctr_flip_label = eo_add(ELM_LABEL_CLASS, fctr_flip_it);
926 eo_do(fctr_flip_label, elm_obj_widget_part_text_set(NULL, "Flip"));
927 eo_do(fctr_flip_label, evas_obj_visibility_set(EINA_TRUE));
928 eo_do(fctr_flip_it, elm_obj_box_pack_end(fctr_flip_image));
929 eo_do(fctr_flip_it, elm_obj_box_pack_end(fctr_flip_label));
930
931 fctr_genlist_it = eo_add(ELM_BOX_CLASS, fctr_table);
932 pub_widgets.fctr_genlist_it = fctr_genlist_it;
933 eo_do(fctr_genlist_it, elm_obj_box_horizontal_set(EINA_TRUE));
934 eo_do(fctr_genlist_it, elm_obj_box_padding_set(7, 0));
935 eo_do(fctr_genlist_it, evas_obj_visibility_set(EINA_TRUE));
936 eo_do(fctr_table, elm_obj_table_pack(fctr_genlist_it, 0, 17, 1, 1));
937
938 fctr_genlist_image = eo_add(ELM_IMAGE_CLASS, fctr_genlist_it);
939 eo_do(fctr_genlist_image, evas_obj_size_hint_min_set(25, 25));
940 eo_do(fctr_genlist_image, elm_obj_image_resizable_set(EINA_TRUE, EINA_TRUE));
941 eo_do(fctr_genlist_image, evas_obj_visibility_set(EINA_TRUE));
942
943 fctr_genlist_label = eo_add(ELM_LABEL_CLASS, fctr_genlist_it);
944 eo_do(fctr_genlist_label, elm_obj_widget_part_text_set(NULL, "Genlist"));
945 eo_do(fctr_genlist_label, evas_obj_visibility_set(EINA_TRUE));
946 eo_do(fctr_genlist_it, elm_obj_box_pack_end(fctr_genlist_image));
947 eo_do(fctr_genlist_it, elm_obj_box_pack_end(fctr_genlist_label));
948
949 fctr_gengrid_it = eo_add(ELM_BOX_CLASS, fctr_table);
950 pub_widgets.fctr_gengrid_it = fctr_gengrid_it;
951 eo_do(fctr_gengrid_it, elm_obj_box_horizontal_set(EINA_TRUE));
952 eo_do(fctr_gengrid_it, elm_obj_box_padding_set(7, 0));
953 eo_do(fctr_gengrid_it, evas_obj_visibility_set(EINA_TRUE));
954 eo_do(fctr_table, elm_obj_table_pack(fctr_gengrid_it, 0, 18, 1, 1));
955
956 fctr_gengrid_image = eo_add(ELM_IMAGE_CLASS, fctr_gengrid_it);
957 eo_do(fctr_gengrid_image, evas_obj_size_hint_min_set(25, 25));
958 eo_do(fctr_gengrid_image, elm_obj_image_resizable_set(EINA_TRUE, EINA_TRUE));
959 eo_do(fctr_gengrid_image, evas_obj_visibility_set(EINA_TRUE));
960
961 fctr_gengrid_label = eo_add(ELM_LABEL_CLASS, fctr_gengrid_it);
962 eo_do(fctr_gengrid_label, elm_obj_widget_part_text_set(NULL, "Gengrid"));
963 eo_do(fctr_gengrid_label, evas_obj_visibility_set(EINA_TRUE));
964 eo_do(fctr_gengrid_it, elm_obj_box_pack_end(fctr_gengrid_image));
965 eo_do(fctr_gengrid_it, elm_obj_box_pack_end(fctr_gengrid_label));
966
967 fctr_table_it = eo_add(ELM_BOX_CLASS, fctr_table);
968 pub_widgets.fctr_table_it = fctr_table_it;
969 eo_do(fctr_table_it, elm_obj_box_horizontal_set(EINA_TRUE));
970 eo_do(fctr_table_it, elm_obj_box_padding_set(7, 0));
971 eo_do(fctr_table_it, evas_obj_visibility_set(EINA_TRUE));
972 eo_do(fctr_table, elm_obj_table_pack(fctr_table_it, 0, 19, 1, 1));
973
974 fctr_table_image = eo_add(ELM_IMAGE_CLASS, fctr_table_it);
975 eo_do(fctr_table_image, evas_obj_size_hint_min_set(25, 25));
976 eo_do(fctr_table_image, elm_obj_image_resizable_set(EINA_TRUE, EINA_TRUE));
977 eo_do(fctr_table_image, evas_obj_visibility_set(EINA_TRUE));
978
979 fctr_table_label = eo_add(ELM_LABEL_CLASS, fctr_table_it);
980 eo_do(fctr_table_label, elm_obj_widget_part_text_set(NULL, "Table"));
981 eo_do(fctr_table_label, evas_obj_visibility_set(EINA_TRUE));
982 eo_do(fctr_table_it, elm_obj_box_pack_end(fctr_table_image));
983 eo_do(fctr_table_it, elm_obj_box_pack_end(fctr_table_label));
984
985 fctr_menu_it = eo_add(ELM_BOX_CLASS, fctr_table);
986 pub_widgets.fctr_menu_it = fctr_menu_it;
987 eo_do(fctr_menu_it, elm_obj_box_horizontal_set(EINA_TRUE));
988 eo_do(fctr_menu_it, elm_obj_box_padding_set(7, 0));
989 eo_do(fctr_menu_it, evas_obj_visibility_set(EINA_TRUE));
990 eo_do(fctr_table, elm_obj_table_pack(fctr_menu_it, 0, 20, 1, 1));
991
992 fctr_menu_image = eo_add(ELM_IMAGE_CLASS, fctr_menu_it);
993 eo_do(fctr_menu_image, evas_obj_size_hint_min_set(25, 25));
994 eo_do(fctr_menu_image, elm_obj_image_resizable_set(EINA_TRUE, EINA_TRUE));
995 eo_do(fctr_menu_image, evas_obj_visibility_set(EINA_TRUE));
996
997 fctr_menu_label = eo_add(ELM_LABEL_CLASS, fctr_menu_it);
998 eo_do(fctr_menu_label, elm_obj_widget_part_text_set(NULL, "Menu"));
999 eo_do(fctr_menu_label, evas_obj_visibility_set(EINA_TRUE));
1000 eo_do(fctr_menu_it, elm_obj_box_pack_end(fctr_menu_image));
1001 eo_do(fctr_menu_it, elm_obj_box_pack_end(fctr_menu_label));
1002
1003 fctr_diskselector_it = eo_add(ELM_BOX_CLASS, fctr_table);
1004 pub_widgets.fctr_diskselector_it = fctr_diskselector_it;
1005 eo_do(fctr_diskselector_it, elm_obj_box_horizontal_set(EINA_TRUE));
1006 eo_do(fctr_diskselector_it, elm_obj_box_padding_set(7, 0));
1007 eo_do(fctr_diskselector_it, evas_obj_visibility_set(EINA_TRUE));
1008 eo_do(fctr_table, elm_obj_table_pack(fctr_diskselector_it, 0, 21, 1, 1));
1009
1010 fctr_diskselector_image = eo_add(ELM_IMAGE_CLASS, fctr_diskselector_it);
1011 eo_do(fctr_diskselector_image, evas_obj_size_hint_min_set(25, 25));
1012 eo_do(fctr_diskselector_image, elm_obj_image_resizable_set(EINA_TRUE, EINA_TRUE));
1013 eo_do(fctr_diskselector_image, evas_obj_visibility_set(EINA_TRUE));
1014
1015 fctr_diskselector_label = eo_add(ELM_LABEL_CLASS, fctr_diskselector_it);
1016 eo_do(fctr_diskselector_label, elm_obj_widget_part_text_set(NULL, "Diskselector"));
1017 eo_do(fctr_diskselector_label, evas_obj_visibility_set(EINA_TRUE));
1018 eo_do(fctr_diskselector_it, elm_obj_box_pack_end(fctr_diskselector_image));
1019 eo_do(fctr_diskselector_it, elm_obj_box_pack_end(fctr_diskselector_label));
1020
1021 fctr_ctxpopup_it = eo_add(ELM_BOX_CLASS, fctr_table);
1022 pub_widgets.fctr_ctxpopup_it = fctr_ctxpopup_it;
1023 eo_do(fctr_ctxpopup_it, elm_obj_box_horizontal_set(EINA_TRUE));
1024 eo_do(fctr_ctxpopup_it, elm_obj_box_padding_set(7, 0));
1025 eo_do(fctr_ctxpopup_it, evas_obj_visibility_set(EINA_TRUE));
1026 eo_do(fctr_table, elm_obj_table_pack(fctr_ctxpopup_it, 0, 22, 1, 1));
1027
1028 fctr_ctxpopup_image = eo_add(ELM_IMAGE_CLASS, fctr_ctxpopup_it);
1029 eo_do(fctr_ctxpopup_image, evas_obj_size_hint_min_set(25, 25));
1030 eo_do(fctr_ctxpopup_image, elm_obj_image_resizable_set(EINA_TRUE, EINA_TRUE));
1031 eo_do(fctr_ctxpopup_image, evas_obj_visibility_set(EINA_TRUE));
1032
1033 fctr_ctxpopup_label = eo_add(ELM_LABEL_CLASS, fctr_ctxpopup_it);
1034 eo_do(fctr_ctxpopup_label, elm_obj_widget_part_text_set(NULL, "Ctxpopup"));
1035 eo_do(fctr_ctxpopup_label, evas_obj_visibility_set(EINA_TRUE));
1036 eo_do(fctr_ctxpopup_it, elm_obj_box_pack_end(fctr_ctxpopup_image));
1037 eo_do(fctr_ctxpopup_it, elm_obj_box_pack_end(fctr_ctxpopup_label));
1038
1039 fctr_toolbar_it = eo_add(ELM_BOX_CLASS, fctr_table);
1040 pub_widgets.fctr_toolbar_it = fctr_toolbar_it;
1041 eo_do(fctr_toolbar_it, elm_obj_box_horizontal_set(EINA_TRUE));
1042 eo_do(fctr_toolbar_it, elm_obj_box_padding_set(7, 0));
1043 eo_do(fctr_toolbar_it, evas_obj_visibility_set(EINA_TRUE));
1044 eo_do(fctr_table, elm_obj_table_pack(fctr_toolbar_it, 0, 23, 1, 1));
1045
1046 fctr_toolbar_image = eo_add(ELM_IMAGE_CLASS, fctr_toolbar_it);
1047 eo_do(fctr_toolbar_image, evas_obj_size_hint_min_set(25, 25));
1048 eo_do(fctr_toolbar_image, elm_obj_image_resizable_set(EINA_TRUE, EINA_TRUE));
1049 eo_do(fctr_toolbar_image, evas_obj_visibility_set(EINA_TRUE));
1050
1051 fctr_toolbar_label = eo_add(ELM_LABEL_CLASS, fctr_toolbar_it);
1052 eo_do(fctr_toolbar_label, elm_obj_widget_part_text_set(NULL, "Toolbar"));
1053 eo_do(fctr_toolbar_label, evas_obj_visibility_set(EINA_TRUE));
1054 eo_do(fctr_toolbar_it, elm_obj_box_pack_end(fctr_toolbar_image));
1055 eo_do(fctr_toolbar_it, elm_obj_box_pack_end(fctr_toolbar_label));
1056
1057 sequences_box = eo_add(ELM_BOX_CLASS, left_panes_internal);
1058 pub_widgets.sequences_box = sequences_box;
1059 eo_do(sequences_box, evas_obj_size_hint_weight_set(1.000000, 1.000000));
1060 eo_do(sequences_box, evas_obj_size_hint_align_set(-1.000000, -1.000000));
1061 eo_do(sequences_box, evas_obj_visibility_set(EINA_TRUE));
1062 eo_do(left_panes_internal, elm_obj_container_content_set("left", fctr_scroll));
1063 eo_do(left_panes_internal, elm_obj_container_content_set("right", sequences_box));
1064
1065 seq_table = eo_add(ELM_TABLE_CLASS, sequences_box);
1066 pub_widgets.seq_table = seq_table;
1067 eo_do(seq_table, evas_obj_size_hint_weight_set(1.000000, 1.000000));
1068 eo_do(seq_table, evas_obj_size_hint_align_set(-1.000000, -1.000000));
1069 eo_do(seq_table, evas_obj_visibility_set(EINA_TRUE));
1070 eo_do(sequences_box, elm_obj_box_pack_end(seq_table));
1071
1072 seq_list = eo_add(ELM_GENLIST_CLASS, seq_table);
1073 pub_widgets.seq_list = seq_list;
1074 eo_do(seq_list, evas_obj_visibility_set(EINA_TRUE));
1075 eo_do(seq_list, evas_obj_size_hint_weight_set(1.000000, 1.000000));
1076 eo_do(seq_list, evas_obj_size_hint_align_set(-1.000000, -1.000000));
1077 eo_do(seq_table, elm_obj_table_pack(seq_list, 0, 0, 1, 1));
1078
1079 right_panes = eo_add(ELM_PANES_CLASS, hor_box);
1080 pub_widgets.right_panes = right_panes;
1081 eo_do(right_panes, evas_obj_size_hint_weight_set(1.000000, 1.000000));
1082 eo_do(right_panes, evas_obj_size_hint_align_set(1.000000, -1.000000));
1083 eo_do(right_panes, evas_obj_visibility_set(EINA_TRUE));
1084 eo_do(hor_box, elm_obj_box_pack_end(left_panes));
1085 eo_do(hor_box, elm_obj_box_pack_end(right_panes));
1086
1087 right_panel_box = eo_add(ELM_BOX_CLASS, right_panes);
1088 pub_widgets.right_panel_box = right_panel_box;
1089 eo_do(right_panel_box, evas_obj_size_hint_weight_set(1.000000, 1.000000));
1090 eo_do(right_panel_box, evas_obj_size_hint_align_set(-1.000000, -1.000000));
1091 eo_do(right_panel_box, evas_obj_visibility_set(EINA_TRUE));
1092 eo_do(right_panes, elm_obj_container_content_set("right", right_panel_box));
1093
1094 right_panes_internal = eo_add(ELM_PANES_CLASS, right_panel_box);
1095 eo_do(right_panes_internal, evas_obj_size_hint_weight_set(1.000000, 1.000000));
1096 eo_do(right_panes_internal, evas_obj_size_hint_align_set(-1, -1.000000));
1097 eo_do(right_panes_internal, evas_obj_visibility_set(EINA_TRUE));
1098 eo_do(right_panes_internal, elm_obj_panes_horizontal_set(EINA_TRUE));
1099 eo_do(right_panel_box, elm_obj_box_pack_end(right_panes_internal));
1100
1101 objtree_table = eo_add(ELM_TABLE_CLASS, right_panes_internal);
1102 pub_widgets.objtree_table = objtree_table;
1103 eo_do(objtree_table, evas_obj_size_hint_weight_set(1.000000, 1.000000));
1104 eo_do(objtree_table, evas_obj_size_hint_align_set(-1.000000, -1.000000));
1105 eo_do(objtree_table, evas_obj_visibility_set(EINA_TRUE));
1106
1107 objtree_list = eo_add(ELM_GENLIST_CLASS, objtree_table);
1108 pub_widgets.objtree_list = objtree_list;
1109 eo_do(objtree_list, evas_obj_visibility_set(EINA_TRUE));
1110 eo_do(objtree_list, evas_obj_size_hint_weight_set(1.000000, 1.000000));
1111 eo_do(objtree_list, evas_obj_size_hint_align_set(-1.000000, -1.000000));
1112 eo_do(objtree_table, elm_obj_table_pack(objtree_list, 0, 1, 1, 1));
1113
1114 objtree_filter_box = eo_add(ELM_BOX_CLASS, objtree_table);
1115 pub_widgets.objtree_filter_box = objtree_filter_box;
1116 eo_do(objtree_filter_box, elm_obj_box_horizontal_set(EINA_TRUE));
1117 eo_do(objtree_filter_box, evas_obj_size_hint_weight_set(1.000000, 0.000000));
1118 eo_do(objtree_filter_box, evas_obj_size_hint_align_set(-1.000000, 0.000000));
1119 eo_do(objtree_filter_box, evas_obj_visibility_set(EINA_TRUE));
1120 eo_do(objtree_table, elm_obj_table_pack(objtree_filter_box, 0, 0, 1, 1));
1121
1122 objtree_filter_label = eo_add(ELM_LABEL_CLASS, objtree_filter_box);
1123 eo_do(objtree_filter_label, elm_obj_widget_part_text_set(NULL, "Search Menu :"));
1124 eo_do(objtree_filter_label, evas_obj_size_hint_weight_set(0.000000, 1.000000));
1125 eo_do(objtree_filter_label, evas_obj_size_hint_align_set(0.000000, -1.000000));
1126 eo_do(objtree_filter_label, evas_obj_visibility_set(EINA_TRUE));
1127
1128 objtree_filter_entry = eo_add(ELM_ENTRY_CLASS, objtree_filter_box);
1129 pub_widgets.objtree_filter_entry = objtree_filter_entry;
1130 eo_do(objtree_filter_entry, evas_obj_size_hint_weight_set(1.000000, 1.000000));
1131 eo_do(objtree_filter_entry, evas_obj_size_hint_align_set(-1.000000, -1.000000));
1132 eo_do(objtree_filter_entry, elm_obj_entry_scrollable_set(EINA_TRUE));
1133 eo_do(objtree_filter_entry, elm_obj_entry_single_line_set(EINA_TRUE));
1134 eo_do(objtree_filter_entry, elm_interface_scrollable_policy_set(ELM_SCROLLER_POLICY_OFF, ELM_SCROLLER_POLICY_OFF));
1135 eo_do(objtree_filter_entry, elm_obj_widget_part_text_set("guide", "Type widget name here to search"));
1136 eo_do(objtree_filter_entry, evas_obj_visibility_set(EINA_TRUE));
1137 eo_do(objtree_filter_box, elm_obj_box_pack_end(objtree_filter_label));
1138 eo_do(objtree_filter_box, elm_obj_box_pack_end(objtree_filter_entry));
1139
1140 propsview_table = eo_add(ELM_TABLE_CLASS, right_panes_internal);
1141 pub_widgets.propsview_table = propsview_table;
1142 eo_do(propsview_table, evas_obj_size_hint_weight_set(1.000000, 1.000000));
1143 eo_do(propsview_table, evas_obj_size_hint_align_set(-1.000000, -1.000000));
1144 eo_do(propsview_table, evas_obj_visibility_set(EINA_TRUE));
1145 eo_do(right_panes_internal, elm_obj_container_content_set("left", objtree_table));
1146 eo_do(right_panes_internal, elm_obj_container_content_set("right", propsview_table));
1147
1148 properties_list = eo_add(ELM_GENLIST_CLASS, propsview_table);
1149 pub_widgets.properties_list = properties_list;
1150 eo_do(properties_list, evas_obj_size_hint_weight_set(1.000000, 1.000000));
1151 eo_do(properties_list, evas_obj_size_hint_align_set(-1.000000, -1.000000));
1152
1153 propsview_toolbar = eo_add(ELM_TOOLBAR_CLASS, propsview_table);
1154 pub_widgets.propsview_toolbar = propsview_toolbar;
1155 eo_do(propsview_toolbar, elm_obj_widget_style_set("item_horizontal"));
1156 eo_do(propsview_toolbar, elm_obj_toolbar_shrink_mode_set(ELM_TOOLBAR_SHRINK_MENU));
1157 eo_do(propsview_toolbar, elm_obj_toolbar_select_mode_set(ELM_OBJECT_SELECT_MODE_ALWAYS));
1158 eo_do(propsview_toolbar, elm_obj_toolbar_icon_size_set(16));
1159 eo_do(propsview_toolbar, evas_obj_size_hint_weight_set(1, 0));
1160 eo_do(propsview_toolbar, evas_obj_size_hint_align_set(EVAS_HINT_FILL, 0));
1161 eo_do(propsview_toolbar, evas_obj_visibility_set(EINA_TRUE));
1162
1163 propsview_sc = eo_add(ELM_SCROLLER_CLASS, propsview_table);
1164 pub_widgets.propsview_sc = propsview_sc;
1165 eo_do(propsview_sc, evas_obj_visibility_set(EINA_TRUE));
1166 eo_do(propsview_sc, evas_obj_size_hint_weight_set(1.000000, 1.000000));
1167 eo_do(propsview_sc, evas_obj_size_hint_align_set(-1.000000, -1.000000));
1168 eo_do(propsview_sc, elm_interface_scrollable_bounce_allow_set(EINA_FALSE, EINA_TRUE));
1169
1170 propsview_box = eo_add(ELM_BOX_CLASS, propsview_sc);
1171 pub_widgets.propsview_box = propsview_box;
1172 eo_do(propsview_box, evas_obj_visibility_set(EINA_TRUE));
1173 eo_do(propsview_box, evas_obj_size_hint_weight_set(1.000000, 0));
1174 eo_do(propsview_box, evas_obj_size_hint_align_set(-1.000000, 0));
1175 eo_do(propsview_sc, elm_obj_container_content_set(NULL, propsview_box));
1176
1177 itemview_box = eo_add(ELM_BOX_CLASS, propsview_table);
1178 pub_widgets.itemview_box = itemview_box;
1179 eo_do(itemview_box, evas_obj_visibility_set(EINA_FALSE));
1180 eo_do(itemview_box, evas_obj_size_hint_weight_set(1.000000, 1));
1181 eo_do(itemview_box, evas_obj_size_hint_align_set(-1.000000, -1));
1182 eo_do(propsview_table, elm_obj_table_pack(propsview_toolbar, 0, 0, 1, 1));
1183 eo_do(propsview_table, elm_obj_table_pack(propsview_sc, 0, 1, 1, 1));
1184 eo_do(propsview_table, elm_obj_table_pack(properties_list, 0, 1, 1, 1));
1185 eo_do(propsview_table, elm_obj_table_pack(itemview_box, 0, 1, 1, 1));
1186
1187 itemview_list = eo_add(ELM_GENLIST_CLASS, itemview_box);
1188 pub_widgets.itemview_list = itemview_list;
1189 eo_do(itemview_list, evas_obj_visibility_set(EINA_TRUE));
1190 eo_do(itemview_list, evas_obj_size_hint_weight_set(1.000000, 1.000000));
1191 eo_do(itemview_list, evas_obj_size_hint_align_set(-1.000000, -1.000000));
1192
1193 itemview_buttons_box = eo_add(ELM_BOX_CLASS, itemview_box);
1194 pub_widgets.itemview_buttons_box = itemview_buttons_box;
1195 eo_do(itemview_buttons_box, evas_obj_visibility_set(EINA_TRUE));
1196 eo_do(itemview_buttons_box, elm_obj_box_horizontal_set(EINA_TRUE));
1197 eo_do(itemview_buttons_box, evas_obj_size_hint_weight_set(1.000000, 0));
1198 eo_do(itemview_buttons_box, evas_obj_size_hint_align_set(-1.000000, 0));
1199 eo_do(itemview_box, elm_obj_box_pack_end(itemview_list));
1200 eo_do(itemview_box, elm_obj_box_pack_end(itemview_buttons_box));
1201
1202 itemview_add_item_but = eo_add(ELM_BUTTON_CLASS, itemview_buttons_box);
1203 eo_do(itemview_add_item_but, elm_obj_widget_part_text_set(NULL, "Add Item"));
1204 eo_do(itemview_add_item_but, evas_obj_visibility_set(EINA_TRUE));
1205 eo_do(itemview_add_item_but, eo_event_callback_add(EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, _sequence_itemview_item_add_but_clicked_execute, NULL));
1206
1207 itemview_add_item_nested_but = eo_add(ELM_BUTTON_CLASS, itemview_buttons_box);
1208 pub_widgets.itemview_add_item_nested_but = itemview_add_item_nested_but;
1209 eo_do(itemview_add_item_nested_but, elm_obj_widget_part_text_set(NULL, "Add Subitem"));
1210 eo_do(itemview_add_item_nested_but, evas_obj_visibility_set(EINA_TRUE));
1211 eo_do(itemview_add_item_nested_but, eo_event_callback_add(EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, _sequence_itemview_item_nested_add_but_clicked_execute, NULL));
1212
1213 itemview_add_separator_but = eo_add(ELM_BUTTON_CLASS, itemview_buttons_box);
1214 pub_widgets.itemview_add_separator_but = itemview_add_separator_but;
1215 eo_do(itemview_add_separator_but, elm_obj_widget_part_text_set(NULL, "Add Separator"));
1216 eo_do(itemview_add_separator_but, evas_obj_visibility_set(EINA_TRUE));
1217 eo_do(itemview_add_separator_but, eo_event_callback_add(EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, _sequence_itemview_separator_add_but_clicked_execute, NULL));
1218
1219 itemview_del_item_but = eo_add(ELM_BUTTON_CLASS, itemview_buttons_box);
1220 eo_do(itemview_del_item_but, elm_obj_widget_part_text_set(NULL, "Delete Item"));
1221 eo_do(itemview_del_item_but, evas_obj_visibility_set(EINA_TRUE));
1222 eo_do(itemview_del_item_but, eo_event_callback_add(EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, _sequence_itemview_item_del_but_clicked_execute, NULL));
1223 eo_do(itemview_buttons_box, elm_obj_box_pack_end(itemview_add_item_but));
1224 eo_do(itemview_buttons_box, elm_obj_box_pack_end(itemview_add_item_nested_but));
1225 eo_do(itemview_buttons_box, elm_obj_box_pack_end(itemview_add_separator_but));
1226 eo_do(itemview_buttons_box, elm_obj_box_pack_end(itemview_del_item_but));
1227 eo_do(main_win, evas_obj_visibility_set(EINA_TRUE));
1228}
1229
1230
1231
1232static Eina_Bool
1233_sequence_BigBang_execute(void *data EINA_UNUSED, Eo *obj EINA_UNUSED, const Eo_Event_Description *desc EINA_UNUSED, void *event_info EINA_UNUSED)
1234{
1235 _create_main_win();
1236
1237 return EO_CALLBACK_CONTINUE;
1238}
1239
1240GUI* egui_layout_gui_get()
1241{
1242 static Eina_Bool initialized = EINA_FALSE;
1243 if (!initialized)
1244 {
1245 _sequence_BigBang_execute(NULL, NULL, NULL, NULL);
1246 initialized = EINA_TRUE;
1247 }
1248 return &pub_widgets;
1249}
diff --git a/src/bin/egui_gui/egui_layout_h.src b/src/bin/egui_gui/egui_layout_h.src
deleted file mode 100644
index cbcfc06..0000000
--- a/src/bin/egui_gui/egui_layout_h.src
+++ /dev/null
@@ -1,106 +0,0 @@
1#ifndef _egui_layout_h
2#define _egui_layout_h
3#include <Eo.h>
4
5
6typedef struct
7{
8 Eo *gvc_img;
9 Eo *fs_win;
10 Eo *fs_radio_box;
11 Eo *fs_radio_c;
12 Eo *fs_radio_cpp;
13 Eo *fileselector;
14 Eo *rm_win;
15 Eo *rm_toolbar;
16 Eo *rm_table;
17 Eo *rm_buttons_box;
18 Eo *rm_alias_entry;
19 Eo *rm_value_entry;
20 Eo *rm_cb_type_hoversel;
21 Eo *rm_seq_pub_check;
22 Eo *rm_image_fileselector;
23 Eo *rm_button_add;
24 Eo *main_win;
25 Eo *canvas_bg;
26 Eo *toolbar;
27 Elm_Object_Item *toolbar_project_it;
28 Elm_Object_Item *toolbar_separator1_it;
29 Elm_Object_Item *toolbar_rm_it;
30 Elm_Object_Item *toolbar_settings_it;
31 Elm_Object_Item *toolbar_separator2_it;
32 Elm_Object_Item *toolbar_undo_it;
33 Elm_Object_Item *toolbar_redo_it;
34 Elm_Object_Item *toolbar_reload_it;
35 Elm_Object_Item *toolbar_delete_it;
36 Elm_Object_Item *toolbar_view_it;
37 Elm_Object_Item *toolbar_simulate_it;
38 Elm_Object_Item *toolbar_graph_it;
39 Eo *left_panes;
40 Eo *left_panel_box;
41 Eo *fctr_table;
42 Eo *fctr_win_it;
43 Eo *fctr_bg_it;
44 Eo *fctr_box_it;
45 Eo *fctr_button_it;
46 Eo *fctr_label_it;
47 Eo *fctr_check_it;
48 Eo *fctr_radio_it;
49 Eo *fctr_icon_it;
50 Eo *fctr_image_it;
51 Eo *fctr_actionslider_it;
52 Eo *fctr_bubble_it;
53 Eo *fctr_calendar_it;
54 Eo *fctr_colorselector_it;
55 Eo *fctr_dayselector_it;
56 Eo *fctr_clock_it;
57 Eo *fctr_entry_it;
58 Eo *fctr_flip_it;
59 Eo *fctr_genlist_it;
60 Eo *fctr_gengrid_it;
61 Eo *fctr_table_it;
62 Eo *fctr_menu_it;
63 Eo *fctr_diskselector_it;
64 Eo *fctr_ctxpopup_it;
65 Eo *fctr_toolbar_it;
66 Eo *sequences_box;
67 Eo *seq_table;
68 Eo *seq_list;
69 Eo *right_panes;
70 Eo *right_panel_box;
71 Eo *objtree_table;
72 Eo *objtree_list;
73 Eo *objtree_filter_box;
74 Eo *objtree_filter_entry;
75 Eo *propsview_table;
76 Eo *properties_list;
77 Eo *propsview_toolbar;
78 Eo *propsview_sc;
79 Eo *propsview_box;
80 Eo *settings_win;
81 Eo *settings_toolbar;
82 Eo *settings_table;
83 Eo *settings_buttons_box;
84 Eo *settings_button_apply;
85 Eo *project_name_label;
86 Eo *project_name_entry;
87 Eo *images_prefix_label;
88 Eo *images_prefix_entry;
89 Eo *itemview_box;
90 Eo *itemview_list;
91 Eo *itemview_buttons_box;
92 Eo *itemview_add_item_nested_but;
93 Eo *itemview_add_separator_but;
94} GUI;
95
96Eina_Bool
97egui_layout_fs_win_show(void *data, Eo *obj, const Eo_Event_Description *desc, void *event_info);
98
99Eina_Bool
100egui_layout_rm_win_show(void *data, Eo *obj, const Eo_Event_Description *desc, void *event_info);
101
102Eina_Bool
103egui_layout_settings_win_show(void *data, Eo *obj, const Eo_Event_Description *desc, void *event_info);
104
105GUI *egui_layout_gui_get();
106#endif