summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2016-03-23 12:56:14 -0700
committerCedric BAIL <cedric@osg.samsung.com>2016-03-23 13:24:41 -0700
commitc2a1c49ab2042f559b28e840e54feb8494888e0e (patch)
treec6eb110b7c479499854eede9d0c3ab0a80c9a11a /src
parent9340855597e7e465435c69b6278650346688da14 (diff)
elementary: move all legacy files to their expected new location.
Diffstat (limited to 'src')
-rw-r--r--src/bin/elementary/.gitignore7
-rw-r--r--src/bin/elementary/Makefile.am195
-rw-r--r--src/bin/elementary/config.c4115
-rw-r--r--src/bin/elementary/elementary_codegen.c887
-rw-r--r--src/bin/elementary/elm_prefs_cc.c201
-rw-r--r--src/bin/elementary/elm_prefs_cc.h107
-rw-r--r--src/bin/elementary/elm_prefs_cc_handlers.c1218
-rw-r--r--src/bin/elementary/elm_prefs_cc_mem.c35
-rw-r--r--src/bin/elementary/elm_prefs_cc_out.c52
-rw-r--r--src/bin/elementary/elm_prefs_cc_parse.c1401
-rw-r--r--src/bin/elementary/quicklaunch.c347
-rw-r--r--src/bin/elementary/run.c213
-rw-r--r--src/bin/elementary/test.c1030
-rw-r--r--src/bin/elementary/test.h12
-rw-r--r--src/bin/elementary/test_3d.c333
-rw-r--r--src/bin/elementary/test_access.c398
-rw-r--r--src/bin/elementary/test_actionslider.c209
-rw-r--r--src/bin/elementary/test_anim.c97
-rw-r--r--src/bin/elementary/test_application_server.c206
-rw-r--r--src/bin/elementary/test_bg.c270
-rw-r--r--src/bin/elementary/test_box.c882
-rw-r--r--src/bin/elementary/test_bubble.c176
-rw-r--r--src/bin/elementary/test_button.c205
-rw-r--r--src/bin/elementary/test_calendar.c375
-rw-r--r--src/bin/elementary/test_check.c190
-rw-r--r--src/bin/elementary/test_clock.c363
-rw-r--r--src/bin/elementary/test_cnp.c135
-rw-r--r--src/bin/elementary/test_colorclass.c24
-rw-r--r--src/bin/elementary/test_colorselector.c212
-rw-r--r--src/bin/elementary/test_combobox.c278
-rw-r--r--src/bin/elementary/test_config.c534
-rw-r--r--src/bin/elementary/test_conform.c195
-rw-r--r--src/bin/elementary/test_conform_indicator.c384
-rw-r--r--src/bin/elementary/test_ctxpopup.c433
-rw-r--r--src/bin/elementary/test_cursor.c473
-rw-r--r--src/bin/elementary/test_datetime.c107
-rw-r--r--src/bin/elementary/test_dayselector.c125
-rw-r--r--src/bin/elementary/test_disable.c207
-rw-r--r--src/bin/elementary/test_diskselector.c355
-rw-r--r--src/bin/elementary/test_dnd.c1399
-rw-r--r--src/bin/elementary/test_eio.c245
-rw-r--r--src/bin/elementary/test_entry.c2716
-rw-r--r--src/bin/elementary/test_entry_anchor.c236
-rw-r--r--src/bin/elementary/test_entry_anchor2.c109
-rw-r--r--src/bin/elementary/test_explode.c211
-rw-r--r--src/bin/elementary/test_explode.h1
-rw-r--r--src/bin/elementary/test_external.c182
-rw-r--r--src/bin/elementary/test_factory.c181
-rw-r--r--src/bin/elementary/test_fileselector.c589
-rw-r--r--src/bin/elementary/test_fileselector_button.c248
-rw-r--r--src/bin/elementary/test_fileselector_entry.c259
-rw-r--r--src/bin/elementary/test_flip.c711
-rw-r--r--src/bin/elementary/test_flip_page.c909
-rw-r--r--src/bin/elementary/test_flipselector.c188
-rw-r--r--src/bin/elementary/test_floating.c101
-rw-r--r--src/bin/elementary/test_focus.c902
-rw-r--r--src/bin/elementary/test_focus_custom_chain.c243
-rw-r--r--src/bin/elementary/test_focus_policy.c150
-rw-r--r--src/bin/elementary/test_focus_style.c234
-rw-r--r--src/bin/elementary/test_gengrid.c2231
-rw-r--r--src/bin/elementary/test_genlist.c5300
-rw-r--r--src/bin/elementary/test_gesture_layer.c400
-rw-r--r--src/bin/elementary/test_gesture_layer2.c808
-rw-r--r--src/bin/elementary/test_gesture_layer3.c585
-rw-r--r--src/bin/elementary/test_glview.c717
-rw-r--r--src/bin/elementary/test_glview_manygears.c951
-rw-r--r--src/bin/elementary/test_glview_simple.c290
-rw-r--r--src/bin/elementary/test_grid.c189
-rw-r--r--src/bin/elementary/test_hover.c249
-rw-r--r--src/bin/elementary/test_hoversel.c416
-rw-r--r--src/bin/elementary/test_icon.c437
-rw-r--r--src/bin/elementary/test_icon_animated.c57
-rw-r--r--src/bin/elementary/test_icon_desktops.c106
-rw-r--r--src/bin/elementary/test_image.c193
-rw-r--r--src/bin/elementary/test_index.c585
-rw-r--r--src/bin/elementary/test_inwin.c129
-rw-r--r--src/bin/elementary/test_label.c376
-rw-r--r--src/bin/elementary/test_launcher.c921
-rw-r--r--src/bin/elementary/test_layout.c271
-rw-r--r--src/bin/elementary/test_list.c1953
-rw-r--r--src/bin/elementary/test_main_menu.c77
-rw-r--r--src/bin/elementary/test_map.c1208
-rw-r--r--src/bin/elementary/test_menu.c312
-rw-r--r--src/bin/elementary/test_multi.c132
-rw-r--r--src/bin/elementary/test_multibuttonentry.c254
-rw-r--r--src/bin/elementary/test_naviframe.c388
-rw-r--r--src/bin/elementary/test_naviframe_complex.c367
-rw-r--r--src/bin/elementary/test_notify.c448
-rw-r--r--src/bin/elementary/test_panel.c369
-rw-r--r--src/bin/elementary/test_panes.c105
-rw-r--r--src/bin/elementary/test_photo.c100
-rw-r--r--src/bin/elementary/test_photocam.c616
-rw-r--r--src/bin/elementary/test_popup.c934
-rw-r--r--src/bin/elementary/test_prefs.c119
-rw-r--r--src/bin/elementary/test_progressbar.c397
-rw-r--r--src/bin/elementary/test_radio.c189
-rw-r--r--src/bin/elementary/test_scaling.c119
-rw-r--r--src/bin/elementary/test_scroller.c730
-rw-r--r--src/bin/elementary/test_segment_control.c156
-rw-r--r--src/bin/elementary/test_separator.c67
-rw-r--r--src/bin/elementary/test_slider.c307
-rw-r--r--src/bin/elementary/test_slideshow.c236
-rw-r--r--src/bin/elementary/test_spinner.c113
-rw-r--r--src/bin/elementary/test_store.c267
-rw-r--r--src/bin/elementary/test_sys_notify.c148
-rw-r--r--src/bin/elementary/test_systray.c192
-rw-r--r--src/bin/elementary/test_table.c539
-rw-r--r--src/bin/elementary/test_task_switcher.c400
-rw-r--r--src/bin/elementary/test_thumb.c63
-rw-r--r--src/bin/elementary/test_toolbar.c1314
-rw-r--r--src/bin/elementary/test_tooltip.c745
-rw-r--r--src/bin/elementary/test_transit.c770
-rw-r--r--src/bin/elementary/test_transit_bezier.c315
-rw-r--r--src/bin/elementary/test_video.c58
-rw-r--r--src/bin/elementary/test_weather.c168
-rw-r--r--src/bin/elementary/test_web.c693
-rw-r--r--src/bin/elementary/test_win_dialog.c48
-rw-r--r--src/bin/elementary/test_win_inline.c254
-rw-r--r--src/bin/elementary/test_win_keygrab.c243
-rw-r--r--src/bin/elementary/test_win_plug.c211
-rw-r--r--src/bin/elementary/test_win_socket.c202
-rw-r--r--src/bin/elementary/test_win_state.c630
-rw-r--r--src/bin/elementary/test_win_wm_rotation.c214
-rw-r--r--src/edje_external/elementary/Makefile.am59
-rw-r--r--src/edje_external/elementary/elm.c342
-rw-r--r--src/edje_external/elementary/elm_actionslider.c106
-rw-r--r--src/edje_external/elementary/elm_bg.c159
-rw-r--r--src/edje_external/elementary/elm_bubble.c175
-rw-r--r--src/edje_external/elementary/elm_button.c207
-rw-r--r--src/edje_external/elementary/elm_calendar.c200
-rw-r--r--src/edje_external/elementary/elm_check.c154
-rw-r--r--src/edje_external/elementary/elm_clock.c245
-rw-r--r--src/edje_external/elementary/elm_entry.c380
-rw-r--r--src/edje_external/elementary/elm_fileselector.c188
-rw-r--r--src/edje_external/elementary/elm_fileselector_button.c261
-rw-r--r--src/edje_external/elementary/elm_fileselector_entry.c261
-rw-r--r--src/edje_external/elementary/elm_frame.c131
-rw-r--r--src/edje_external/elementary/elm_gengrid.c475
-rw-r--r--src/edje_external/elementary/elm_genlist.c344
-rw-r--r--src/edje_external/elementary/elm_hoversel.c154
-rw-r--r--src/edje_external/elementary/elm_icon.c338
-rw-r--r--src/edje_external/elementary/elm_index.c109
-rw-r--r--src/edje_external/elementary/elm_label.c106
-rw-r--r--src/edje_external/elementary/elm_list.c325
-rw-r--r--src/edje_external/elementary/elm_map.c191
-rw-r--r--src/edje_external/elementary/elm_multibuttonentry.c134
-rw-r--r--src/edje_external/elementary/elm_naviframe.c135
-rw-r--r--src/edje_external/elementary/elm_notify.c295
-rw-r--r--src/edje_external/elementary/elm_panes.c197
-rw-r--r--src/edje_external/elementary/elm_photocam.c215
-rw-r--r--src/edje_external/elementary/elm_progressbar.c284
-rw-r--r--src/edje_external/elementary/elm_radio.c181
-rw-r--r--src/edje_external/elementary/elm_scroller.c109
-rw-r--r--src/edje_external/elementary/elm_segment_control.c82
-rw-r--r--src/edje_external/elementary/elm_slider.c345
-rw-r--r--src/edje_external/elementary/elm_slideshow.c187
-rw-r--r--src/edje_external/elementary/elm_spinner.c251
-rw-r--r--src/edje_external/elementary/elm_thumb.c154
-rw-r--r--src/edje_external/elementary/elm_toolbar.c320
-rw-r--r--src/edje_external/elementary/elm_video.c276
-rw-r--r--src/edje_external/elementary/elm_web.c217
-rw-r--r--src/edje_external/elementary/modules.inc36
-rw-r--r--src/edje_external/elementary/private.h135
-rw-r--r--src/examples/elementary/.gitignore156
-rw-r--r--src/examples/elementary/Makefile.am536
-rw-r--r--src/examples/elementary/actionslider_example_01.c136
-rw-r--r--src/examples/elementary/bg_cxx_example_01.cc23
-rw-r--r--src/examples/elementary/bg_cxx_example_02.cc33
-rw-r--r--src/examples/elementary/bg_example_01.c27
-rw-r--r--src/examples/elementary/bg_example_01.js15
-rw-r--r--src/examples/elementary/bg_example_02.c36
-rw-r--r--src/examples/elementary/bg_example_02.js19
-rw-r--r--src/examples/elementary/bg_example_03.c156
-rw-r--r--src/examples/elementary/box_cxx_example_02.cc142
-rw-r--r--src/examples/elementary/box_example_02.c163
-rw-r--r--src/examples/elementary/box_js_example_01.js34
-rw-r--r--src/examples/elementary/box_js_example_02.js86
-rw-r--r--src/examples/elementary/bubble_cxx_example_01.cc62
-rw-r--r--src/examples/elementary/bubble_example_01.c63
-rw-r--r--src/examples/elementary/bubble_example_01.js54
-rw-r--r--src/examples/elementary/button_cxx_example_00.cc35
-rw-r--r--src/examples/elementary/button_cxx_example_01.cc233
-rw-r--r--src/examples/elementary/button_example_00.c41
-rw-r--r--src/examples/elementary/button_example_00.js21
-rw-r--r--src/examples/elementary/button_example_01.c260
-rw-r--r--src/examples/elementary/button_example_01.js208
-rw-r--r--src/examples/elementary/calendar_cxx_example_01.cc21
-rw-r--r--src/examples/elementary/calendar_cxx_example_02.cc38
-rw-r--r--src/examples/elementary/calendar_cxx_example_03.cc23
-rw-r--r--src/examples/elementary/calendar_cxx_example_04.cc43
-rw-r--r--src/examples/elementary/calendar_cxx_example_05.cc50
-rw-r--r--src/examples/elementary/calendar_example_01.c34
-rw-r--r--src/examples/elementary/calendar_example_01.js14
-rw-r--r--src/examples/elementary/calendar_example_02.c53
-rw-r--r--src/examples/elementary/calendar_example_02.js17
-rw-r--r--src/examples/elementary/calendar_example_03.c37
-rw-r--r--src/examples/elementary/calendar_example_03.js15
-rw-r--r--src/examples/elementary/calendar_example_04.c55
-rw-r--r--src/examples/elementary/calendar_example_04.js32
-rw-r--r--src/examples/elementary/calendar_example_05.c62
-rw-r--r--src/examples/elementary/calendar_example_05.js29
-rw-r--r--src/examples/elementary/calendar_example_06.c89
-rw-r--r--src/examples/elementary/check_example_01.c51
-rw-r--r--src/examples/elementary/clock_cxx_example.cc53
-rw-r--r--src/examples/elementary/clock_example.c72
-rw-r--r--src/examples/elementary/clock_example.js43
-rw-r--r--src/examples/elementary/codegen_example.c140
-rw-r--r--src/examples/elementary/codegen_example.edc109
-rw-r--r--src/examples/elementary/colorselector_example_01.c92
-rw-r--r--src/examples/elementary/combobox_example_01.c135
-rw-r--r--src/examples/elementary/conformant_example_01.c68
-rw-r--r--src/examples/elementary/conformant_example_02.c77
-rw-r--r--src/examples/elementary/ctxpopup_example_01.c136
-rw-r--r--src/examples/elementary/datetime_cxx_example.cc51
-rw-r--r--src/examples/elementary/datetime_example.c55
-rw-r--r--src/examples/elementary/datetime_example.js42
-rw-r--r--src/examples/elementary/dayselector_example.c79
-rw-r--r--src/examples/elementary/dict.txt2913
-rw-r--r--src/examples/elementary/diskselector_example_01.c90
-rw-r--r--src/examples/elementary/diskselector_example_02.c346
-rw-r--r--src/examples/elementary/efl_thread_1.c79
-rw-r--r--src/examples/elementary/efl_thread_2.c95
-rw-r--r--src/examples/elementary/efl_thread_3.c99
-rw-r--r--src/examples/elementary/efl_thread_4.c129
-rw-r--r--src/examples/elementary/efl_thread_5.c112
-rw-r--r--src/examples/elementary/efl_thread_6.c170
-rw-r--r--src/examples/elementary/efl_thread_win32_1.c79
-rw-r--r--src/examples/elementary/efl_thread_win32_2.c95
-rw-r--r--src/examples/elementary/efl_thread_win32_3.c97
-rw-r--r--src/examples/elementary/efl_thread_win32_4.c121
-rw-r--r--src/examples/elementary/entry_example.c576
-rw-r--r--src/examples/elementary/evas3d_map_example.c1210
-rw-r--r--src/examples/elementary/evas3d_map_example.edc966
-rw-r--r--src/examples/elementary/evas3d_object_on_button_example.c289
-rw-r--r--src/examples/elementary/evas3d_scene_on_button_example.c282
-rw-r--r--src/examples/elementary/filemvc.c214
-rw-r--r--src/examples/elementary/fileselector_button_example.c168
-rw-r--r--src/examples/elementary/fileselector_entry_example.c157
-rw-r--r--src/examples/elementary/fileselector_example.c225
-rw-r--r--src/examples/elementary/fileviewlist.c79
-rw-r--r--src/examples/elementary/flip_example_01.c85
-rw-r--r--src/examples/elementary/flipselector_example.c182
-rw-r--r--src/examples/elementary/frame_example_01.c71
-rw-r--r--src/examples/elementary/general_funcs_example.c173
-rw-r--r--src/examples/elementary/gengrid_example.c615
-rw-r--r--src/examples/elementary/genlist_example_01.c79
-rw-r--r--src/examples/elementary/genlist_example_02.c192
-rw-r--r--src/examples/elementary/genlist_example_03.c118
-rw-r--r--src/examples/elementary/genlist_example_04.c353
-rw-r--r--src/examples/elementary/genlist_example_05.c418
-rw-r--r--src/examples/elementary/glview_cxx_example_01.cc263
-rw-r--r--src/examples/elementary/glview_example_01.c321
-rw-r--r--src/examples/elementary/hover_example_01.c74
-rw-r--r--src/examples/elementary/hoversel_cxx_example_01.cc84
-rw-r--r--src/examples/elementary/hoversel_example_01.c128
-rw-r--r--src/examples/elementary/icon_cxx_example_01.cc38
-rw-r--r--src/examples/elementary/icon_example_01.c44
-rw-r--r--src/examples/elementary/icon_example_01.js33
-rw-r--r--src/examples/elementary/image_example_01.c46
-rw-r--r--src/examples/elementary/index_example_01.c177
-rw-r--r--src/examples/elementary/index_example_02.c139
-rw-r--r--src/examples/elementary/inwin_example.c147
-rw-r--r--src/examples/elementary/label_example_01.c75
-rw-r--r--src/examples/elementary/label_example_02.c76
-rw-r--r--src/examples/elementary/label_example_03.c138
-rw-r--r--src/examples/elementary/layout_example.edc180
-rw-r--r--src/examples/elementary/layout_example.js63
-rw-r--r--src/examples/elementary/layout_example_01.c139
-rw-r--r--src/examples/elementary/layout_example_02.c75
-rw-r--r--src/examples/elementary/layout_example_03.c86
-rw-r--r--src/examples/elementary/list_example_01.c57
-rw-r--r--src/examples/elementary/list_example_02.c66
-rw-r--r--src/examples/elementary/list_example_03.c438
-rw-r--r--src/examples/elementary/location_cxx_example_01.cc82
-rw-r--r--src/examples/elementary/location_example_01.c91
-rw-r--r--src/examples/elementary/map_example_01.c110
-rw-r--r--src/examples/elementary/map_example_02.c266
-rw-r--r--src/examples/elementary/map_example_03.c195
-rw-r--r--src/examples/elementary/mapbuf_example.c112
-rw-r--r--src/examples/elementary/menu_cxx_example_01.cc69
-rw-r--r--src/examples/elementary/menu_example_01.c68
-rw-r--r--src/examples/elementary/menu_example_01.js37
-rw-r--r--src/examples/elementary/naviframe_example.c47
-rw-r--r--src/examples/elementary/notify_example_01.c71
-rw-r--r--src/examples/elementary/panel_example_01.c65
-rw-r--r--src/examples/elementary/panes_example.c110
-rw-r--r--src/examples/elementary/performance/HowTo13
-rw-r--r--src/examples/elementary/performance/Makefile.am44
-rw-r--r--src/examples/elementary/performance/Tools.h19
-rw-r--r--src/examples/elementary/performance/background.pngbin0 -> 177255 bytes
-rw-r--r--src/examples/elementary/performance/camera_light.c354
-rw-r--r--src/examples/elementary/performance/graphical.c616
-rw-r--r--src/examples/elementary/performance/graphical_struct.h90
-rw-r--r--src/examples/elementary/performance/initial_config.xml11
-rw-r--r--src/examples/elementary/performance/layout.edc170
-rw-r--r--src/examples/elementary/performance/performance.c957
-rw-r--r--src/examples/elementary/performance/target_texture.pngbin0 -> 2123166 bytes
-rw-r--r--src/examples/elementary/performance/tools_private.h50
-rw-r--r--src/examples/elementary/photocam_example_01.c159
-rw-r--r--src/examples/elementary/popup_cxx_example_01.cc32
-rw-r--r--src/examples/elementary/popup_example_01.c52
-rw-r--r--src/examples/elementary/popup_example_01.js32
-rw-r--r--src/examples/elementary/popup_example_02.c77
-rw-r--r--src/examples/elementary/popup_example_03.c93
-rw-r--r--src/examples/elementary/prefs_data_example.c91
-rw-r--r--src/examples/elementary/prefs_example_01.c109
-rw-r--r--src/examples/elementary/prefs_example_01.epc84
-rw-r--r--src/examples/elementary/prefs_example_02.c110
-rw-r--r--src/examples/elementary/prefs_example_02.epc65
-rw-r--r--src/examples/elementary/prefs_example_03.c112
-rw-r--r--src/examples/elementary/prefs_example_03.edc150
-rw-r--r--src/examples/elementary/prefs_example_03.epc112
-rw-r--r--src/examples/elementary/progressbar_example.c308
-rw-r--r--src/examples/elementary/radio_cxx_example_01.cc79
-rw-r--r--src/examples/elementary/radio_example_01.c87
-rw-r--r--src/examples/elementary/radio_example_01.js65
-rw-r--r--src/examples/elementary/radio_example_02.c94
-rw-r--r--src/examples/elementary/scroller_example_01.c138
-rw-r--r--src/examples/elementary/segment_control_example.c70
-rw-r--r--src/examples/elementary/separator_cxx_example_01.cc51
-rw-r--r--src/examples/elementary/separator_example_01.c49
-rw-r--r--src/examples/elementary/separator_example_01.js41
-rw-r--r--src/examples/elementary/slider_cxx_example.cc109
-rw-r--r--src/examples/elementary/slider_example.c136
-rw-r--r--src/examples/elementary/slider_example.js104
-rw-r--r--src/examples/elementary/slideshow_example.c276
-rw-r--r--src/examples/elementary/sphere_hunter/EFL_defeat.pngbin0 -> 88373 bytes
-rw-r--r--src/examples/elementary/sphere_hunter/EFL_victory.pngbin0 -> 108064 bytes
-rw-r--r--src/examples/elementary/sphere_hunter/Makefile.am42
-rw-r--r--src/examples/elementary/sphere_hunter/evas_3d_sphere_hunter.c858
-rw-r--r--src/examples/elementary/sphere_hunter/score.jpgbin0 -> 51305 bytes
-rw-r--r--src/examples/elementary/sphere_hunter/sphere_hunter.edc251
-rw-r--r--src/examples/elementary/spinner_cxx_example.cc95
-rw-r--r--src/examples/elementary/spinner_example.c120
-rw-r--r--src/examples/elementary/spinner_example.js90
-rw-r--r--src/examples/elementary/table_cxx_example_01.cc43
-rw-r--r--src/examples/elementary/table_cxx_example_02.cc46
-rw-r--r--src/examples/elementary/table_example_01.c48
-rw-r--r--src/examples/elementary/table_example_01.js34
-rw-r--r--src/examples/elementary/table_example_02.c51
-rw-r--r--src/examples/elementary/table_example_02.js38
-rw-r--r--src/examples/elementary/theme_example.edc194
-rw-r--r--src/examples/elementary/theme_example_01.c74
-rw-r--r--src/examples/elementary/theme_example_02.c65
-rw-r--r--src/examples/elementary/thumb_cxx_example_01.cc48
-rw-r--r--src/examples/elementary/thumb_example_01.c63
-rw-r--r--src/examples/elementary/thumb_example_01.js38
-rw-r--r--src/examples/elementary/toolbar_example_01.c83
-rw-r--r--src/examples/elementary/toolbar_example_02.c74
-rw-r--r--src/examples/elementary/toolbar_example_03.c67
-rw-r--r--src/examples/elementary/track_example_01.c68
-rw-r--r--src/examples/elementary/transit_example_01.c38
-rw-r--r--src/examples/elementary/transit_example_02.c80
-rw-r--r--src/examples/elementary/transit_example_03.c312
-rw-r--r--src/examples/elementary/transit_example_04.c162
-rw-r--r--src/examples/elementary/twitter_example_01.edc89
-rw-r--r--src/examples/elementary/twitter_example_01.js82
-rw-r--r--src/examples/elementary/web_example_01.c49
-rw-r--r--src/examples/elementary/web_example_02.c617
-rw-r--r--src/examples/elementary/win_example.c328
-rw-r--r--src/lib/elementary/.gitignore13
-rw-r--r--src/lib/elementary/Elementary.h.in279
-rw-r--r--src/lib/elementary/Elementary.hh.in142
-rw-r--r--src/lib/elementary/Elementary_Cursor.h87
-rw-r--r--src/lib/elementary/Makefile.am716
-rw-r--r--src/lib/elementary/elc_combobox.c635
-rw-r--r--src/lib/elementary/elc_combobox.h64
-rw-r--r--src/lib/elementary/elc_combobox_legacy.h11
-rw-r--r--src/lib/elementary/elc_ctxpopup.c1479
-rw-r--r--src/lib/elementary/elc_ctxpopup.h74
-rw-r--r--src/lib/elementary/elc_ctxpopup_eo.h2
-rw-r--r--src/lib/elementary/elc_ctxpopup_legacy.h12
-rw-r--r--src/lib/elementary/elc_fileselector.c2511
-rw-r--r--src/lib/elementary/elc_fileselector.h80
-rw-r--r--src/lib/elementary/elc_fileselector_button.c517
-rw-r--r--src/lib/elementary/elc_fileselector_button.h75
-rw-r--r--src/lib/elementary/elc_fileselector_button_eo.h1
-rw-r--r--src/lib/elementary/elc_fileselector_button_legacy.h13
-rw-r--r--src/lib/elementary/elc_fileselector_common.h3
-rw-r--r--src/lib/elementary/elc_fileselector_entry.c558
-rw-r--r--src/lib/elementary/elc_fileselector_entry.h84
-rw-r--r--src/lib/elementary/elc_fileselector_entry_eo.h1
-rw-r--r--src/lib/elementary/elc_fileselector_entry_legacy.h14
-rw-r--r--src/lib/elementary/elc_fileselector_eo.h11
-rw-r--r--src/lib/elementary/elc_fileselector_legacy.h414
-rw-r--r--src/lib/elementary/elc_hoversel.c971
-rw-r--r--src/lib/elementary/elc_hoversel.h68
-rw-r--r--src/lib/elementary/elc_hoversel_eo.h2
-rw-r--r--src/lib/elementary/elc_hoversel_legacy.h12
-rw-r--r--src/lib/elementary/elc_multibuttonentry.c2064
-rw-r--r--src/lib/elementary/elc_multibuttonentry.h69
-rw-r--r--src/lib/elementary/elc_multibuttonentry_common.h33
-rw-r--r--src/lib/elementary/elc_multibuttonentry_eo.h2
-rw-r--r--src/lib/elementary/elc_multibuttonentry_legacy.h13
-rw-r--r--src/lib/elementary/elc_naviframe.c2007
-rw-r--r--src/lib/elementary/elc_naviframe.h102
-rw-r--r--src/lib/elementary/elc_naviframe_common.h40
-rw-r--r--src/lib/elementary/elc_naviframe_eo.h12
-rw-r--r--src/lib/elementary/elc_naviframe_legacy.h2
-rw-r--r--src/lib/elementary/elc_player.c750
-rw-r--r--src/lib/elementary/elc_popup.c1869
-rw-r--r--src/lib/elementary/elc_popup.h125
-rw-r--r--src/lib/elementary/elc_popup_eo.h11
-rw-r--r--src/lib/elementary/elc_popup_legacy.h11
-rw-r--r--src/lib/elementary/elc_scrolled_entry.c197
-rw-r--r--src/lib/elementary/elementary_js.cc290
-rw-r--r--src/lib/elementary/elm_access.c1453
-rw-r--r--src/lib/elementary/elm_access.eo13
-rw-r--r--src/lib/elementary/elm_access.h275
-rw-r--r--src/lib/elementary/elm_actionslider.c654
-rw-r--r--src/lib/elementary/elm_actionslider.eo82
-rw-r--r--src/lib/elementary/elm_actionslider.h61
-rw-r--r--src/lib/elementary/elm_actionslider_eo.h1
-rw-r--r--src/lib/elementary/elm_actionslider_legacy.h11
-rw-r--r--src/lib/elementary/elm_app.h297
-rw-r--r--src/lib/elementary/elm_app_client.c332
-rw-r--r--src/lib/elementary/elm_app_client.eo64
-rw-r--r--src/lib/elementary/elm_app_client.h3
-rw-r--r--src/lib/elementary/elm_app_client_eo.h11
-rw-r--r--src/lib/elementary/elm_app_client_view.c315
-rw-r--r--src/lib/elementary/elm_app_client_view.eo126
-rw-r--r--src/lib/elementary/elm_app_client_view.h3
-rw-r--r--src/lib/elementary/elm_app_client_view_eo.h3
-rw-r--r--src/lib/elementary/elm_app_common.c56
-rw-r--r--src/lib/elementary/elm_app_common.h9
-rw-r--r--src/lib/elementary/elm_app_server.c453
-rw-r--r--src/lib/elementary/elm_app_server.eo103
-rw-r--r--src/lib/elementary/elm_app_server.h3
-rw-r--r--src/lib/elementary/elm_app_server_eet.c310
-rw-r--r--src/lib/elementary/elm_app_server_eet.h46
-rw-r--r--src/lib/elementary/elm_app_server_eo.h15
-rw-r--r--src/lib/elementary/elm_app_server_view.c388
-rw-r--r--src/lib/elementary/elm_app_server_view.eo107
-rw-r--r--src/lib/elementary/elm_app_server_view.h3
-rw-r--r--src/lib/elementary/elm_app_server_view_eo.h1
-rw-r--r--src/lib/elementary/elm_atspi_app_object.c73
-rw-r--r--src/lib/elementary/elm_atspi_app_object.eo12
-rw-r--r--src/lib/elementary/elm_atspi_app_object.h6
-rw-r--r--src/lib/elementary/elm_atspi_bridge.c4702
-rw-r--r--src/lib/elementary/elm_atspi_bridge.eo22
-rw-r--r--src/lib/elementary/elm_atspi_bridge.h8
-rw-r--r--src/lib/elementary/elm_authors.h172
-rw-r--r--src/lib/elementary/elm_bg.c287
-rw-r--r--src/lib/elementary/elm_bg.eo117
-rw-r--r--src/lib/elementary/elm_bg.h40
-rw-r--r--src/lib/elementary/elm_bg_eo.h1
-rw-r--r--src/lib/elementary/elm_bg_legacy.h94
-rw-r--r--src/lib/elementary/elm_box.c725
-rw-r--r--src/lib/elementary/elm_box.eo298
-rw-r--r--src/lib/elementary/elm_box.h84
-rw-r--r--src/lib/elementary/elm_box_common.h101
-rw-r--r--src/lib/elementary/elm_box_eo.h1
-rw-r--r--src/lib/elementary/elm_box_legacy.h13
-rw-r--r--src/lib/elementary/elm_bubble.c289
-rw-r--r--src/lib/elementary/elm_bubble.eo54
-rw-r--r--src/lib/elementary/elm_bubble.h72
-rw-r--r--src/lib/elementary/elm_bubble_eo.h1
-rw-r--r--src/lib/elementary/elm_bubble_legacy.h13
-rw-r--r--src/lib/elementary/elm_button.c445
-rw-r--r--src/lib/elementary/elm_button.eo102
-rw-r--r--src/lib/elementary/elm_button.h78
-rw-r--r--src/lib/elementary/elm_button_eo.h1
-rw-r--r--src/lib/elementary/elm_button_legacy.h11
-rw-r--r--src/lib/elementary/elm_cache.h31
-rw-r--r--src/lib/elementary/elm_calendar.c1874
-rw-r--r--src/lib/elementary/elm_calendar.eo452
-rw-r--r--src/lib/elementary/elm_calendar.h60
-rw-r--r--src/lib/elementary/elm_calendar_common.h21
-rw-r--r--src/lib/elementary/elm_calendar_eo.h1
-rw-r--r--src/lib/elementary/elm_calendar_legacy.h30
-rw-r--r--src/lib/elementary/elm_check.c460
-rw-r--r--src/lib/elementary/elm_check.eo60
-rw-r--r--src/lib/elementary/elm_check.h70
-rw-r--r--src/lib/elementary/elm_check_eo.h1
-rw-r--r--src/lib/elementary/elm_check_legacy.h11
-rw-r--r--src/lib/elementary/elm_clock.c960
-rw-r--r--src/lib/elementary/elm_clock.eo235
-rw-r--r--src/lib/elementary/elm_clock.h68
-rw-r--r--src/lib/elementary/elm_clock_eo.h1
-rw-r--r--src/lib/elementary/elm_clock_legacy.h14
-rw-r--r--src/lib/elementary/elm_cnp.c5139
-rw-r--r--src/lib/elementary/elm_cnp.h545
-rw-r--r--src/lib/elementary/elm_color_class.c826
-rw-r--r--src/lib/elementary/elm_color_class.h81
-rw-r--r--src/lib/elementary/elm_color_item.eo43
-rw-r--r--src/lib/elementary/elm_colorselector.c2546
-rw-r--r--src/lib/elementary/elm_colorselector.eo127
-rw-r--r--src/lib/elementary/elm_colorselector.h48
-rw-r--r--src/lib/elementary/elm_colorselector_common.h33
-rw-r--r--src/lib/elementary/elm_colorselector_eo.h1
-rw-r--r--src/lib/elementary/elm_colorselector_legacy.h11
-rw-r--r--src/lib/elementary/elm_combobox.eo78
-rw-r--r--src/lib/elementary/elm_config.c4185
-rw-r--r--src/lib/elementary/elm_config.h2109
-rw-r--r--src/lib/elementary/elm_conform.c1020
-rw-r--r--src/lib/elementary/elm_conform.h61
-rw-r--r--src/lib/elementary/elm_conform_eo.h11
-rw-r--r--src/lib/elementary/elm_conform_legacy.h13
-rw-r--r--src/lib/elementary/elm_conformant.eo20
-rw-r--r--src/lib/elementary/elm_container.c13
-rw-r--r--src/lib/elementary/elm_container.eo45
-rw-r--r--src/lib/elementary/elm_container.h6
-rw-r--r--src/lib/elementary/elm_ctxpopup.eo243
-rw-r--r--src/lib/elementary/elm_ctxpopup_item.eo52
-rw-r--r--src/lib/elementary/elm_cursor.h120
-rw-r--r--src/lib/elementary/elm_datetime.c1130
-rw-r--r--src/lib/elementary/elm_datetime.eo305
-rw-r--r--src/lib/elementary/elm_datetime.h208
-rw-r--r--src/lib/elementary/elm_datetime_common.h9
-rw-r--r--src/lib/elementary/elm_datetime_eo.h1
-rw-r--r--src/lib/elementary/elm_datetime_legacy.h15
-rw-r--r--src/lib/elementary/elm_dayselector.c617
-rw-r--r--src/lib/elementary/elm_dayselector.eo164
-rw-r--r--src/lib/elementary/elm_dayselector.h86
-rw-r--r--src/lib/elementary/elm_dayselector_eo.h1
-rw-r--r--src/lib/elementary/elm_dayselector_item.eo7
-rw-r--r--src/lib/elementary/elm_dayselector_legacy.h11
-rw-r--r--src/lib/elementary/elm_dbus_menu.c1034
-rw-r--r--src/lib/elementary/elm_debug.h28
-rw-r--r--src/lib/elementary/elm_deprecated.h1642
-rw-r--r--src/lib/elementary/elm_diskselector.c1832
-rw-r--r--src/lib/elementary/elm_diskselector.eo217
-rw-r--r--src/lib/elementary/elm_diskselector.h78
-rw-r--r--src/lib/elementary/elm_diskselector_common.h8
-rw-r--r--src/lib/elementary/elm_diskselector_eo.h2
-rw-r--r--src/lib/elementary/elm_diskselector_item.eo90
-rw-r--r--src/lib/elementary/elm_diskselector_legacy.h15
-rw-r--r--src/lib/elementary/elm_entry.c5858
-rw-r--r--src/lib/elementary/elm_entry.eo1001
-rw-r--r--src/lib/elementary/elm_entry.h315
-rw-r--r--src/lib/elementary/elm_entry_common.h259
-rw-r--r--src/lib/elementary/elm_entry_eo.h1
-rw-r--r--src/lib/elementary/elm_entry_legacy.h73
-rw-r--r--src/lib/elementary/elm_factory.c342
-rw-r--r--src/lib/elementary/elm_factory.h6
-rw-r--r--src/lib/elementary/elm_fileselector.eo68
-rw-r--r--src/lib/elementary/elm_fileselector_button.eo106
-rw-r--r--src/lib/elementary/elm_fileselector_entry.eo112
-rw-r--r--src/lib/elementary/elm_finger.h45
-rw-r--r--src/lib/elementary/elm_flip.c2069
-rw-r--r--src/lib/elementary/elm_flip.eo250
-rw-r--r--src/lib/elementary/elm_flip.h49
-rw-r--r--src/lib/elementary/elm_flip_eo.h1
-rw-r--r--src/lib/elementary/elm_flip_legacy.h25
-rw-r--r--src/lib/elementary/elm_flipselector.c811
-rw-r--r--src/lib/elementary/elm_flipselector.eo174
-rw-r--r--src/lib/elementary/elm_flipselector.h70
-rw-r--r--src/lib/elementary/elm_flipselector_eo.h2
-rw-r--r--src/lib/elementary/elm_flipselector_item.eo54
-rw-r--r--src/lib/elementary/elm_flipselector_legacy.h15
-rw-r--r--src/lib/elementary/elm_focus.h402
-rw-r--r--src/lib/elementary/elm_focus_item.h61
-rw-r--r--src/lib/elementary/elm_font.c207
-rw-r--r--src/lib/elementary/elm_font.h99
-rw-r--r--src/lib/elementary/elm_frame.c269
-rw-r--r--src/lib/elementary/elm_frame.eo64
-rw-r--r--src/lib/elementary/elm_frame.h59
-rw-r--r--src/lib/elementary/elm_frame_eo.h1
-rw-r--r--src/lib/elementary/elm_frame_legacy.h11
-rw-r--r--src/lib/elementary/elm_gen.h59
-rw-r--r--src/lib/elementary/elm_gen_common.h74
-rw-r--r--src/lib/elementary/elm_general.eot254
-rw-r--r--src/lib/elementary/elm_general.h309
-rw-r--r--src/lib/elementary/elm_gengrid.c5778
-rw-r--r--src/lib/elementary/elm_gengrid.eo592
-rw-r--r--src/lib/elementary/elm_gengrid.h288
-rw-r--r--src/lib/elementary/elm_gengrid_common.h398
-rw-r--r--src/lib/elementary/elm_gengrid_eo.h14
-rw-r--r--src/lib/elementary/elm_gengrid_item.eo228
-rw-r--r--src/lib/elementary/elm_gengrid_legacy.h215
-rw-r--r--src/lib/elementary/elm_gengrid_pan.eo18
-rw-r--r--src/lib/elementary/elm_genlist.c8452
-rw-r--r--src/lib/elementary/elm_genlist.eo598
-rw-r--r--src/lib/elementary/elm_genlist.h428
-rw-r--r--src/lib/elementary/elm_genlist_common.h350
-rw-r--r--src/lib/elementary/elm_genlist_eo.h14
-rw-r--r--src/lib/elementary/elm_genlist_item.eo441
-rw-r--r--src/lib/elementary/elm_genlist_legacy.h35
-rw-r--r--src/lib/elementary/elm_genlist_pan.eo21
-rw-r--r--src/lib/elementary/elm_gesture_layer.c4162
-rw-r--r--src/lib/elementary/elm_gesture_layer.eo160
-rw-r--r--src/lib/elementary/elm_gesture_layer.h79
-rw-r--r--src/lib/elementary/elm_gesture_layer_common.h351
-rw-r--r--src/lib/elementary/elm_gesture_layer_eo.h1
-rw-r--r--src/lib/elementary/elm_gesture_layer_extra_gestures.c241
-rw-r--r--src/lib/elementary/elm_gesture_layer_legacy.h54
-rw-r--r--src/lib/elementary/elm_getting_started.h195
-rw-r--r--src/lib/elementary/elm_glview.c600
-rw-r--r--src/lib/elementary/elm_glview.eo221
-rw-r--r--src/lib/elementary/elm_glview.h38
-rw-r--r--src/lib/elementary/elm_glview_common.h11
-rw-r--r--src/lib/elementary/elm_glview_eo.h1
-rw-r--r--src/lib/elementary/elm_glview_legacy.h92
-rw-r--r--src/lib/elementary/elm_grid.c274
-rw-r--r--src/lib/elementary/elm_grid.eo65
-rw-r--r--src/lib/elementary/elm_grid.h29
-rw-r--r--src/lib/elementary/elm_grid_eo.h11
-rw-r--r--src/lib/elementary/elm_grid_legacy.h37
-rw-r--r--src/lib/elementary/elm_helper.c50
-rw-r--r--src/lib/elementary/elm_helper.h110
-rw-r--r--src/lib/elementary/elm_hover.c851
-rw-r--r--src/lib/elementary/elm_hover.eo85
-rw-r--r--src/lib/elementary/elm_hover.h91
-rw-r--r--src/lib/elementary/elm_hover_eo.h1
-rw-r--r--src/lib/elementary/elm_hover_legacy.h36
-rw-r--r--src/lib/elementary/elm_hoversel.eo111
-rw-r--r--src/lib/elementary/elm_hoversel_item.eo32
-rw-r--r--src/lib/elementary/elm_icon.c954
-rw-r--r--src/lib/elementary/elm_icon.eo114
-rw-r--r--src/lib/elementary/elm_icon.h154
-rw-r--r--src/lib/elementary/elm_icon_eo.h1
-rw-r--r--src/lib/elementary/elm_icon_legacy.h13
-rw-r--r--src/lib/elementary/elm_image.c1665
-rw-r--r--src/lib/elementary/elm_image.eo265
-rw-r--r--src/lib/elementary/elm_image.h53
-rw-r--r--src/lib/elementary/elm_image_eo.h11
-rw-r--r--src/lib/elementary/elm_image_legacy.h323
-rw-r--r--src/lib/elementary/elm_index.c1725
-rw-r--r--src/lib/elementary/elm_index.eo255
-rw-r--r--src/lib/elementary/elm_index.h74
-rw-r--r--src/lib/elementary/elm_index_eo.h12
-rw-r--r--src/lib/elementary/elm_index_item.eo48
-rw-r--r--src/lib/elementary/elm_index_legacy.h15
-rw-r--r--src/lib/elementary/elm_interface_atspi_accessible.c610
-rw-r--r--src/lib/elementary/elm_interface_atspi_accessible.eo436
-rw-r--r--src/lib/elementary/elm_interface_atspi_accessible.h156
-rw-r--r--src/lib/elementary/elm_interface_atspi_action.c23
-rw-r--r--src/lib/elementary/elm_interface_atspi_action.eo76
-rw-r--r--src/lib/elementary/elm_interface_atspi_component.c152
-rw-r--r--src/lib/elementary/elm_interface_atspi_component.eo102
-rw-r--r--src/lib/elementary/elm_interface_atspi_editable_text.c11
-rw-r--r--src/lib/elementary/elm_interface_atspi_editable_text.eo49
-rw-r--r--src/lib/elementary/elm_interface_atspi_image.c55
-rw-r--r--src/lib/elementary/elm_interface_atspi_image.eo43
-rw-r--r--src/lib/elementary/elm_interface_atspi_selection.c11
-rw-r--r--src/lib/elementary/elm_interface_atspi_selection.eo61
-rw-r--r--src/lib/elementary/elm_interface_atspi_text.c20
-rw-r--r--src/lib/elementary/elm_interface_atspi_text.eo225
-rw-r--r--src/lib/elementary/elm_interface_atspi_text.h19
-rw-r--r--src/lib/elementary/elm_interface_atspi_value.c11
-rw-r--r--src/lib/elementary/elm_interface_atspi_value.eo37
-rw-r--r--src/lib/elementary/elm_interface_atspi_widget_action.c143
-rw-r--r--src/lib/elementary/elm_interface_atspi_widget_action.eo24
-rw-r--r--src/lib/elementary/elm_interface_atspi_widget_action.h24
-rw-r--r--src/lib/elementary/elm_interface_atspi_window.c9
-rw-r--r--src/lib/elementary/elm_interface_atspi_window.eo12
-rw-r--r--src/lib/elementary/elm_interface_atspi_window.h56
-rw-r--r--src/lib/elementary/elm_interface_fileselector.c8
-rw-r--r--src/lib/elementary/elm_interface_fileselector.eo180
-rw-r--r--src/lib/elementary/elm_interface_fileselector.h15
-rw-r--r--src/lib/elementary/elm_interface_scrollable.c4552
-rw-r--r--src/lib/elementary/elm_interface_scrollable.eo628
-rw-r--r--src/lib/elementary/elm_interface_scrollable.h241
-rw-r--r--src/lib/elementary/elm_interfaces.h26
-rw-r--r--src/lib/elementary/elm_intro.h.in34
-rw-r--r--src/lib/elementary/elm_inwin.c169
-rw-r--r--src/lib/elementary/elm_inwin.eo31
-rw-r--r--src/lib/elementary/elm_inwin.h55
-rw-r--r--src/lib/elementary/elm_inwin_eo.h1
-rw-r--r--src/lib/elementary/elm_inwin_legacy.h66
-rw-r--r--src/lib/elementary/elm_label.c624
-rw-r--r--src/lib/elementary/elm_label.eo136
-rw-r--r--src/lib/elementary/elm_label.h50
-rw-r--r--src/lib/elementary/elm_label_eo.h11
-rw-r--r--src/lib/elementary/elm_label_legacy.h11
-rw-r--r--src/lib/elementary/elm_layout.c1807
-rw-r--r--src/lib/elementary/elm_layout.eo499
-rw-r--r--src/lib/elementary/elm_layout.h179
-rw-r--r--src/lib/elementary/elm_layout_common.h53
-rw-r--r--src/lib/elementary/elm_layout_eo.h11
-rw-r--r--src/lib/elementary/elm_layout_legacy.h104
-rw-r--r--src/lib/elementary/elm_list.c3285
-rw-r--r--src/lib/elementary/elm_list.eo477
-rw-r--r--src/lib/elementary/elm_list.h108
-rw-r--r--src/lib/elementary/elm_list_eo.h12
-rw-r--r--src/lib/elementary/elm_list_item.eo123
-rw-r--r--src/lib/elementary/elm_list_legacy.h15
-rw-r--r--src/lib/elementary/elm_macros.h16
-rw-r--r--src/lib/elementary/elm_main.c1782
-rw-r--r--src/lib/elementary/elm_map.c5561
-rw-r--r--src/lib/elementary/elm_map.eo647
-rw-r--r--src/lib/elementary/elm_map.h83
-rw-r--r--src/lib/elementary/elm_map_common.h607
-rw-r--r--src/lib/elementary/elm_map_eo.h2
-rw-r--r--src/lib/elementary/elm_map_legacy.h13
-rw-r--r--src/lib/elementary/elm_map_pan.eo30
-rw-r--r--src/lib/elementary/elm_mapbuf.c420
-rw-r--r--src/lib/elementary/elm_mapbuf.eo144
-rw-r--r--src/lib/elementary/elm_mapbuf.h48
-rw-r--r--src/lib/elementary/elm_mapbuf_eo.h11
-rw-r--r--src/lib/elementary/elm_mapbuf_legacy.h14
-rw-r--r--src/lib/elementary/elm_menu.c1410
-rw-r--r--src/lib/elementary/elm_menu.eo89
-rw-r--r--src/lib/elementary/elm_menu.h49
-rw-r--r--src/lib/elementary/elm_menu_eo.h2
-rw-r--r--src/lib/elementary/elm_menu_item.eo92
-rw-r--r--src/lib/elementary/elm_menu_legacy.h34
-rw-r--r--src/lib/elementary/elm_mirroring.h60
-rw-r--r--src/lib/elementary/elm_module.c240
-rw-r--r--src/lib/elementary/elm_multibuttonentry.eo201
-rw-r--r--src/lib/elementary/elm_multibuttonentry_item.eo35
-rw-r--r--src/lib/elementary/elm_naviframe.eo169
-rw-r--r--src/lib/elementary/elm_naviframe_item.eo84
-rw-r--r--src/lib/elementary/elm_need.h110
-rw-r--r--src/lib/elementary/elm_notify.c695
-rw-r--r--src/lib/elementary/elm_notify.eo105
-rw-r--r--src/lib/elementary/elm_notify.h45
-rw-r--r--src/lib/elementary/elm_notify_common.h1
-rw-r--r--src/lib/elementary/elm_notify_eo.h11
-rw-r--r--src/lib/elementary/elm_notify_legacy.h36
-rw-r--r--src/lib/elementary/elm_object.h510
-rw-r--r--src/lib/elementary/elm_object_item.h79
-rw-r--r--src/lib/elementary/elm_pan.eo65
-rw-r--r--src/lib/elementary/elm_panel.c1527
-rw-r--r--src/lib/elementary/elm_panel.eo88
-rw-r--r--src/lib/elementary/elm_panel.h48
-rw-r--r--src/lib/elementary/elm_panel_common.h27
-rw-r--r--src/lib/elementary/elm_panel_eo.h1
-rw-r--r--src/lib/elementary/elm_panel_legacy.h12
-rw-r--r--src/lib/elementary/elm_panes.c541
-rw-r--r--src/lib/elementary/elm_panes.eo147
-rw-r--r--src/lib/elementary/elm_panes.h65
-rw-r--r--src/lib/elementary/elm_panes_eo.h1
-rw-r--r--src/lib/elementary/elm_panes_legacy.h14
-rw-r--r--src/lib/elementary/elm_photo.c420
-rw-r--r--src/lib/elementary/elm_photo.eo69
-rw-r--r--src/lib/elementary/elm_photo.h36
-rw-r--r--src/lib/elementary/elm_photo_eo.h11
-rw-r--r--src/lib/elementary/elm_photo_legacy.h47
-rw-r--r--src/lib/elementary/elm_photocam.c2224
-rw-r--r--src/lib/elementary/elm_photocam.eo213
-rw-r--r--src/lib/elementary/elm_photocam.h91
-rw-r--r--src/lib/elementary/elm_photocam_eo.h2
-rw-r--r--src/lib/elementary/elm_photocam_legacy.h58
-rw-r--r--src/lib/elementary/elm_photocam_pan.eo26
-rw-r--r--src/lib/elementary/elm_player.eo29
-rw-r--r--src/lib/elementary/elm_plug.c192
-rw-r--r--src/lib/elementary/elm_plug.eo42
-rw-r--r--src/lib/elementary/elm_plug.h42
-rw-r--r--src/lib/elementary/elm_plug_eo.h1
-rw-r--r--src/lib/elementary/elm_plug_legacy.h11
-rw-r--r--src/lib/elementary/elm_popup.eo197
-rw-r--r--src/lib/elementary/elm_popup_item.eo15
-rw-r--r--src/lib/elementary/elm_prefs.c1891
-rw-r--r--src/lib/elementary/elm_prefs.eo225
-rw-r--r--src/lib/elementary/elm_prefs.h86
-rw-r--r--src/lib/elementary/elm_prefs_common.h319
-rw-r--r--src/lib/elementary/elm_prefs_data.c1069
-rw-r--r--src/lib/elementary/elm_prefs_data.h298
-rw-r--r--src/lib/elementary/elm_prefs_edd.x326
-rw-r--r--src/lib/elementary/elm_prefs_eo.h11
-rw-r--r--src/lib/elementary/elm_prefs_legacy.h65
-rw-r--r--src/lib/elementary/elm_priv.h611
-rw-r--r--src/lib/elementary/elm_progressbar.c559
-rw-r--r--src/lib/elementary/elm_progressbar.eo174
-rw-r--r--src/lib/elementary/elm_progressbar.h74
-rw-r--r--src/lib/elementary/elm_progressbar_common.h12
-rw-r--r--src/lib/elementary/elm_progressbar_eo.h1
-rw-r--r--src/lib/elementary/elm_progressbar_legacy.h14
-rw-r--r--src/lib/elementary/elm_radio.c409
-rw-r--r--src/lib/elementary/elm_radio.eo92
-rw-r--r--src/lib/elementary/elm_radio.h75
-rw-r--r--src/lib/elementary/elm_radio_eo.h1
-rw-r--r--src/lib/elementary/elm_radio_legacy.h11
-rw-r--r--src/lib/elementary/elm_removed.h6447
-rw-r--r--src/lib/elementary/elm_route.c264
-rw-r--r--src/lib/elementary/elm_route.eo48
-rw-r--r--src/lib/elementary/elm_route.h21
-rw-r--r--src/lib/elementary/elm_route_eo.h1
-rw-r--r--src/lib/elementary/elm_route_legacy.h11
-rw-r--r--src/lib/elementary/elm_scale.h36
-rw-r--r--src/lib/elementary/elm_scroll.h167
-rw-r--r--src/lib/elementary/elm_scroller.c1417
-rw-r--r--src/lib/elementary/elm_scroller.eo136
-rw-r--r--src/lib/elementary/elm_scroller.h76
-rw-r--r--src/lib/elementary/elm_scroller_eo.h11
-rw-r--r--src/lib/elementary/elm_scroller_legacy.h560
-rw-r--r--src/lib/elementary/elm_segment_control.c844
-rw-r--r--src/lib/elementary/elm_segment_control.eo151
-rw-r--r--src/lib/elementary/elm_segment_control.h72
-rw-r--r--src/lib/elementary/elm_segment_control_eo.h2
-rw-r--r--src/lib/elementary/elm_segment_control_item.eo45
-rw-r--r--src/lib/elementary/elm_segment_control_legacy.h15
-rw-r--r--src/lib/elementary/elm_separator.c114
-rw-r--r--src/lib/elementary/elm_separator.eo27
-rw-r--r--src/lib/elementary/elm_separator.h29
-rw-r--r--src/lib/elementary/elm_separator_eo.h1
-rw-r--r--src/lib/elementary/elm_separator_legacy.h12
-rw-r--r--src/lib/elementary/elm_slider.c1304
-rw-r--r--src/lib/elementary/elm_slider.eo295
-rw-r--r--src/lib/elementary/elm_slider.h86
-rw-r--r--src/lib/elementary/elm_slider_common.h12
-rw-r--r--src/lib/elementary/elm_slider_eo.h1
-rw-r--r--src/lib/elementary/elm_slider_legacy.h14
-rw-r--r--src/lib/elementary/elm_slideshow.c737
-rw-r--r--src/lib/elementary/elm_slideshow.eo316
-rw-r--r--src/lib/elementary/elm_slideshow.h85
-rw-r--r--src/lib/elementary/elm_slideshow_common.h36
-rw-r--r--src/lib/elementary/elm_slideshow_eo.h2
-rw-r--r--src/lib/elementary/elm_slideshow_item.eo33
-rw-r--r--src/lib/elementary/elm_slideshow_legacy.h15
-rw-r--r--src/lib/elementary/elm_spinner.c1712
-rw-r--r--src/lib/elementary/elm_spinner.eo248
-rw-r--r--src/lib/elementary/elm_spinner.h68
-rw-r--r--src/lib/elementary/elm_spinner_eo.h1
-rw-r--r--src/lib/elementary/elm_spinner_legacy.h45
-rw-r--r--src/lib/elementary/elm_store.c731
-rw-r--r--src/lib/elementary/elm_store.h407
-rw-r--r--src/lib/elementary/elm_sys_notify.c288
-rw-r--r--src/lib/elementary/elm_sys_notify.eo95
-rw-r--r--src/lib/elementary/elm_sys_notify.h85
-rw-r--r--src/lib/elementary/elm_sys_notify_dbus.c398
-rw-r--r--src/lib/elementary/elm_sys_notify_dbus.eo14
-rw-r--r--src/lib/elementary/elm_sys_notify_interface.c9
-rw-r--r--src/lib/elementary/elm_sys_notify_interface.eo66
-rw-r--r--src/lib/elementary/elm_systray.c518
-rw-r--r--src/lib/elementary/elm_systray.eo124
-rw-r--r--src/lib/elementary/elm_systray.h4
-rw-r--r--src/lib/elementary/elm_systray_common.h6
-rw-r--r--src/lib/elementary/elm_systray_eo.h11
-rw-r--r--src/lib/elementary/elm_systray_watcher.c116
-rw-r--r--src/lib/elementary/elm_systray_watcher.h10
-rw-r--r--src/lib/elementary/elm_table.c417
-rw-r--r--src/lib/elementary/elm_table.eo132
-rw-r--r--src/lib/elementary/elm_table.h40
-rw-r--r--src/lib/elementary/elm_table_eo.h1
-rw-r--r--src/lib/elementary/elm_table_legacy.h45
-rw-r--r--src/lib/elementary/elm_theme.c958
-rw-r--r--src/lib/elementary/elm_theme.h585
-rw-r--r--src/lib/elementary/elm_thumb.c878
-rw-r--r--src/lib/elementary/elm_thumb.eo221
-rw-r--r--src/lib/elementary/elm_thumb.h67
-rw-r--r--src/lib/elementary/elm_thumb_common.h28
-rw-r--r--src/lib/elementary/elm_thumb_eo.h1
-rw-r--r--src/lib/elementary/elm_thumb_legacy.h70
-rw-r--r--src/lib/elementary/elm_toolbar.c4002
-rw-r--r--src/lib/elementary/elm_toolbar.eo402
-rw-r--r--src/lib/elementary/elm_toolbar.h81
-rw-r--r--src/lib/elementary/elm_toolbar_common.h21
-rw-r--r--src/lib/elementary/elm_toolbar_eo.h13
-rw-r--r--src/lib/elementary/elm_toolbar_item.eo323
-rw-r--r--src/lib/elementary/elm_toolbar_legacy.h64
-rw-r--r--src/lib/elementary/elm_tooltip.h247
-rw-r--r--src/lib/elementary/elm_transit.c2571
-rw-r--r--src/lib/elementary/elm_transit.h995
-rw-r--r--src/lib/elementary/elm_url.c152
-rw-r--r--src/lib/elementary/elm_util.c65
-rw-r--r--src/lib/elementary/elm_video.c484
-rw-r--r--src/lib/elementary/elm_video.eo122
-rw-r--r--src/lib/elementary/elm_video.h65
-rw-r--r--src/lib/elementary/elm_video_eo.h2
-rw-r--r--src/lib/elementary/elm_video_legacy.h63
-rw-r--r--src/lib/elementary/elm_view_form.c266
-rw-r--r--src/lib/elementary/elm_view_form.eo32
-rw-r--r--src/lib/elementary/elm_view_form.h10
-rw-r--r--src/lib/elementary/elm_view_list.c429
-rw-r--r--src/lib/elementary/elm_view_list.eo71
-rw-r--r--src/lib/elementary/elm_view_list.h10
-rw-r--r--src/lib/elementary/elm_web.eo544
-rw-r--r--src/lib/elementary/elm_web.h110
-rw-r--r--src/lib/elementary/elm_web2.c227
-rw-r--r--src/lib/elementary/elm_web_common.h283
-rw-r--r--src/lib/elementary/elm_web_eo.h1
-rw-r--r--src/lib/elementary/elm_web_legacy.h50
-rw-r--r--src/lib/elementary/elm_widget.c6003
-rw-r--r--src/lib/elementary/elm_widget.eo871
-rw-r--r--src/lib/elementary/elm_widget.h847
-rw-r--r--src/lib/elementary/elm_widget_actionslider.h66
-rw-r--r--src/lib/elementary/elm_widget_bg.h68
-rw-r--r--src/lib/elementary/elm_widget_box.h97
-rw-r--r--src/lib/elementary/elm_widget_bubble.h62
-rw-r--r--src/lib/elementary/elm_widget_button.h68
-rw-r--r--src/lib/elementary/elm_widget_calendar.h86
-rw-r--r--src/lib/elementary/elm_widget_check.h62
-rw-r--r--src/lib/elementary/elm_widget_clipper.h66
-rw-r--r--src/lib/elementary/elm_widget_clock.h85
-rw-r--r--src/lib/elementary/elm_widget_colorselector.h150
-rw-r--r--src/lib/elementary/elm_widget_combobox.h84
-rw-r--r--src/lib/elementary/elm_widget_conform.h97
-rw-r--r--src/lib/elementary/elm_widget_container.h45
-rw-r--r--src/lib/elementary/elm_widget_ctxpopup.h101
-rw-r--r--src/lib/elementary/elm_widget_datetime.h127
-rw-r--r--src/lib/elementary/elm_widget_dayselector.h78
-rw-r--r--src/lib/elementary/elm_widget_diskselector.h114
-rw-r--r--src/lib/elementary/elm_widget_entry.h180
-rw-r--r--src/lib/elementary/elm_widget_fileselector.h167
-rw-r--r--src/lib/elementary/elm_widget_fileselector_button.h84
-rw-r--r--src/lib/elementary/elm_widget_fileselector_entry.h68
-rw-r--r--src/lib/elementary/elm_widget_flip.h109
-rw-r--r--src/lib/elementary/elm_widget_flipselector.h93
-rw-r--r--src/lib/elementary/elm_widget_frame.h63
-rw-r--r--src/lib/elementary/elm_widget_gengrid.h227
-rw-r--r--src/lib/elementary/elm_widget_genlist.h371
-rw-r--r--src/lib/elementary/elm_widget_glview.h82
-rw-r--r--src/lib/elementary/elm_widget_grid.h31
-rw-r--r--src/lib/elementary/elm_widget_hover.h80
-rw-r--r--src/lib/elementary/elm_widget_hoversel.h102
-rw-r--r--src/lib/elementary/elm_widget_icon.h89
-rw-r--r--src/lib/elementary/elm_widget_image.h120
-rw-r--r--src/lib/elementary/elm_widget_index.h115
-rw-r--r--src/lib/elementary/elm_widget_inwin.h60
-rw-r--r--src/lib/elementary/elm_widget_item.eo539
-rw-r--r--src/lib/elementary/elm_widget_label.h59
-rw-r--r--src/lib/elementary/elm_widget_layout.h79
-rw-r--r--src/lib/elementary/elm_widget_list.h143
-rw-r--r--src/lib/elementary/elm_widget_map.h534
-rw-r--r--src/lib/elementary/elm_widget_mapbuf.h74
-rw-r--r--src/lib/elementary/elm_widget_menu.h107
-rw-r--r--src/lib/elementary/elm_widget_multibuttonentry.h153
-rw-r--r--src/lib/elementary/elm_widget_naviframe.h136
-rw-r--r--src/lib/elementary/elm_widget_notify.h70
-rw-r--r--src/lib/elementary/elm_widget_panel.h79
-rw-r--r--src/lib/elementary/elm_widget_panes.h77
-rw-r--r--src/lib/elementary/elm_widget_photo.h76
-rw-r--r--src/lib/elementary/elm_widget_photocam.h172
-rw-r--r--src/lib/elementary/elm_widget_player.h79
-rw-r--r--src/lib/elementary/elm_widget_plug.h51
-rw-r--r--src/lib/elementary/elm_widget_popup.h118
-rw-r--r--src/lib/elementary/elm_widget_prefs.h131
-rw-r--r--src/lib/elementary/elm_widget_progressbar.h82
-rw-r--r--src/lib/elementary/elm_widget_radio.h73
-rw-r--r--src/lib/elementary/elm_widget_route.h84
-rw-r--r--src/lib/elementary/elm_widget_scroller.h71
-rw-r--r--src/lib/elementary/elm_widget_segment_control.h88
-rw-r--r--src/lib/elementary/elm_widget_separator.h61
-rw-r--r--src/lib/elementary/elm_widget_slider.h89
-rw-r--r--src/lib/elementary/elm_widget_slideshow.h103
-rw-r--r--src/lib/elementary/elm_widget_spinner.h90
-rw-r--r--src/lib/elementary/elm_widget_table.h31
-rw-r--r--src/lib/elementary/elm_widget_thumb.h99
-rw-r--r--src/lib/elementary/elm_widget_toolbar.h137
-rw-r--r--src/lib/elementary/elm_widget_video.h65
-rw-r--r--src/lib/elementary/elm_widget_web.h66
-rw-r--r--src/lib/elementary/elm_win.c5773
-rw-r--r--src/lib/elementary/elm_win.eo1316
-rw-r--r--src/lib/elementary/elm_win.h116
-rw-r--r--src/lib/elementary/elm_win_common.h76
-rw-r--r--src/lib/elementary/elm_win_eo.h11
-rw-r--r--src/lib/elementary/elm_win_legacy.h246
-rw-r--r--src/lib/elementary/elm_win_standard.c36
-rw-r--r--src/lib/elementary/elm_win_standard.eo7
-rw-r--r--src/lib/elementary/elm_win_standard.h3
-rw-r--r--src/lib/elementary/els_box.c500
-rw-r--r--src/lib/elementary/els_box.h1
-rw-r--r--src/lib/elementary/els_cursor.c714
-rw-r--r--src/lib/elementary/els_tooltip.c1066
-rw-r--r--src/lib/elementary/elu_ews_wm.c532
-rw-r--r--src/modules/elementary/Makefile.am10
-rw-r--r--src/modules/elementary/access_output/Makefile.am22
-rw-r--r--src/modules/elementary/access_output/mod.c137
-rw-r--r--src/modules/elementary/datetime_input_ctxpopup/Makefile.am23
-rw-r--r--src/modules/elementary/datetime_input_ctxpopup/datetime_input_ctxpopup.c398
-rw-r--r--src/modules/elementary/prefs/Makefile.am56
-rw-r--r--src/modules/elementary/prefs/elm_button.c72
-rw-r--r--src/modules/elementary/prefs/elm_check.c99
-rw-r--r--src/modules/elementary/prefs/elm_datetime.c100
-rw-r--r--src/modules/elementary/prefs/elm_entry.c283
-rw-r--r--src/modules/elementary/prefs/elm_horizontal_box.c99
-rw-r--r--src/modules/elementary/prefs/elm_horizontal_frame.c118
-rw-r--r--src/modules/elementary/prefs/elm_label.c37
-rw-r--r--src/modules/elementary/prefs/elm_prefs_swallow.edc15
-rw-r--r--src/modules/elementary/prefs/elm_separator.c59
-rw-r--r--src/modules/elementary/prefs/elm_slider.c124
-rw-r--r--src/modules/elementary/prefs/elm_spinner.c124
-rw-r--r--src/modules/elementary/prefs/elm_swallow.c63
-rw-r--r--src/modules/elementary/prefs/elm_vertical_box.c99
-rw-r--r--src/modules/elementary/prefs/elm_vertical_frame.c117
-rw-r--r--src/modules/elementary/prefs/item_widgets.inc9
-rw-r--r--src/modules/elementary/prefs/page_widgets.inc4
-rw-r--r--src/modules/elementary/prefs/prefs_iface.c287
-rw-r--r--src/modules/elementary/prefs/private.h127
-rw-r--r--src/modules/elementary/test_entry/Makefile.am22
-rw-r--r--src/modules/elementary/test_entry/mod.c51
-rw-r--r--src/modules/elementary/test_map/Makefile.am22
-rw-r--r--src/modules/elementary/test_map/mod.c103
-rw-r--r--src/modules/elementary/web/Makefile.am6
-rw-r--r--src/modules/elementary/web/none/.gitignore1
-rw-r--r--src/modules/elementary/web/none/Makefile.am40
-rw-r--r--src/modules/elementary/web/none/elm_web_none.c359
-rw-r--r--src/modules/elementary/web/none/elm_web_none.eo51
-rw-r--r--src/modules/elementary/web/webkit2/.gitignore1
-rw-r--r--src/modules/elementary/web/webkit2/Makefile.am42
-rw-r--r--src/modules/elementary/web/webkit2/elm_web_webkit2.c1157
-rw-r--r--src/modules/elementary/web/webkit2/elm_web_webkit2.eo53
-rw-r--r--src/static_libs/atspi/Makefile.am4
-rw-r--r--src/static_libs/atspi/atspi-constants.h1333
-rw-r--r--src/tests/elementary/.gitignore8
-rw-r--r--src/tests/elementary/Makefile.am112
-rw-r--r--src/tests/elementary/elm_cxx_suite.cc5
-rw-r--r--src/tests/elementary/elm_suite.c123
-rw-r--r--src/tests/elementary/elm_suite.h72
-rw-r--r--src/tests/elementary/elm_test_actionslider.c29
-rw-r--r--src/tests/elementary/elm_test_atspi.c509
-rw-r--r--src/tests/elementary/elm_test_bg.c10
-rw-r--r--src/tests/elementary/elm_test_box.c29
-rw-r--r--src/tests/elementary/elm_test_bubble.c30
-rw-r--r--src/tests/elementary/elm_test_button.c49
-rw-r--r--src/tests/elementary/elm_test_calendar.c29
-rw-r--r--src/tests/elementary/elm_test_check.c75
-rw-r--r--src/tests/elementary/elm_test_clock.c30
-rw-r--r--src/tests/elementary/elm_test_colorselector.c57
-rw-r--r--src/tests/elementary/elm_test_conformant.c29
-rw-r--r--src/tests/elementary/elm_test_ctxpopup.c29
-rw-r--r--src/tests/elementary/elm_test_datetime.c29
-rw-r--r--src/tests/elementary/elm_test_dayselector.c30
-rw-r--r--src/tests/elementary/elm_test_diskselector.c29
-rw-r--r--src/tests/elementary/elm_test_entry.c362
-rw-r--r--src/tests/elementary/elm_test_fileselector.c92
-rw-r--r--src/tests/elementary/elm_test_fileselector_button.c29
-rw-r--r--src/tests/elementary/elm_test_fileselector_entry.c29
-rw-r--r--src/tests/elementary/elm_test_flip.c30
-rw-r--r--src/tests/elementary/elm_test_flipselector.c30
-rw-r--r--src/tests/elementary/elm_test_frame.c30
-rw-r--r--src/tests/elementary/elm_test_gengrid.c83
-rw-r--r--src/tests/elementary/elm_test_genlist.c190
-rw-r--r--src/tests/elementary/elm_test_glview.c34
-rw-r--r--src/tests/elementary/elm_test_grid.c30
-rw-r--r--src/tests/elementary/elm_test_helper.c45
-rw-r--r--src/tests/elementary/elm_test_helper.h8
-rw-r--r--src/tests/elementary/elm_test_hover.c30
-rw-r--r--src/tests/elementary/elm_test_hoversel.c30
-rw-r--r--src/tests/elementary/elm_test_icon.c30
-rw-r--r--src/tests/elementary/elm_test_image.c168
-rw-r--r--src/tests/elementary/elm_test_index.c30
-rw-r--r--src/tests/elementary/elm_test_init.c18
-rw-r--r--src/tests/elementary/elm_test_inwin.c30
-rw-r--r--src/tests/elementary/elm_test_label.c30
-rw-r--r--src/tests/elementary/elm_test_layout.c30
-rw-r--r--src/tests/elementary/elm_test_list.c246
-rw-r--r--src/tests/elementary/elm_test_map.c30
-rw-r--r--src/tests/elementary/elm_test_mapbuf.c30
-rw-r--r--src/tests/elementary/elm_test_menu.c30
-rw-r--r--src/tests/elementary/elm_test_multibuttonentry.c30
-rw-r--r--src/tests/elementary/elm_test_naviframe.c30
-rw-r--r--src/tests/elementary/elm_test_notify.c30
-rw-r--r--src/tests/elementary/elm_test_panel.c31
-rw-r--r--src/tests/elementary/elm_test_panes.c30
-rw-r--r--src/tests/elementary/elm_test_photo.c30
-rw-r--r--src/tests/elementary/elm_test_photocam.c30
-rw-r--r--src/tests/elementary/elm_test_player.c30
-rw-r--r--src/tests/elementary/elm_test_plug.c30
-rw-r--r--src/tests/elementary/elm_test_popup.c30
-rw-r--r--src/tests/elementary/elm_test_prefs.c30
-rw-r--r--src/tests/elementary/elm_test_progressbar.c30
-rw-r--r--src/tests/elementary/elm_test_radio.c30
-rw-r--r--src/tests/elementary/elm_test_scroller.c30
-rw-r--r--src/tests/elementary/elm_test_segmentcontrol.c30
-rw-r--r--src/tests/elementary/elm_test_separator.c30
-rw-r--r--src/tests/elementary/elm_test_slider.c30
-rw-r--r--src/tests/elementary/elm_test_slideshow.c30
-rw-r--r--src/tests/elementary/elm_test_spinner.c31
-rw-r--r--src/tests/elementary/elm_test_table.c30
-rw-r--r--src/tests/elementary/elm_test_thumb.c30
-rw-r--r--src/tests/elementary/elm_test_toolbar.c30
-rw-r--r--src/tests/elementary/elm_test_video.c30
-rw-r--r--src/tests/elementary/elm_test_web.c30
-rw-r--r--src/tests/elementary/elm_test_win.c205
1057 files changed, 310913 insertions, 0 deletions
diff --git a/src/bin/elementary/.gitignore b/src/bin/elementary/.gitignore
new file mode 100644
index 0000000..5cbbb5c
--- /dev/null
+++ b/src/bin/elementary/.gitignore
@@ -0,0 +1,7 @@
1/elementary_config
2/elementary_quicklaunch
3/elementary_run
4/elementary_test
5/elementary_codegen
6/elementary_testql
7/elm_prefs_cc
diff --git a/src/bin/elementary/Makefile.am b/src/bin/elementary/Makefile.am
new file mode 100644
index 0000000..46db673
--- /dev/null
+++ b/src/bin/elementary/Makefile.am
@@ -0,0 +1,195 @@
1AUTOMAKE_OPTIONS = 1.4 foreign
2
3MAINTAINERCLEANFILES = Makefile.in
4
5AM_CPPFLAGS = \
6-I$(top_srcdir) \
7-I$(top_srcdir)/src/lib \
8-I$(top_builddir)/src/lib \
9-I$(top_srcdir)/src/bin \
10-DPACKAGE_BIN_DIR=\"$(bindir)\" \
11-DPACKAGE_LIB_DIR=\"$(libdir)\" \
12-DPACKAGE_DATA_DIR=\"$(pkgdatadir)\" \
13@ELEMENTARY_CFLAGS@
14
15bin_PROGRAMS = \
16@ELEMENTARY_TEST_PRG@ \
17@ELEMENTARY_CONFIG_PRG@ \
18@ELEMENTARY_CODEGEN_PRG@ \
19@ELM_PREFS_CC_PRG@
20
21if BUILD_QUICKLAUNCH
22bin_PROGRAMS += elementary_quicklaunch elementary_run
23endif
24
25EXTRA_PROGRAMS = elementary_test elementary_config elementary_codegen elm_prefs_cc
26
27elementary_test_SOURCES = \
28test.c \
29test_explode.c \
30test_explode.h \
31test_3d.c \
32test_access.c \
33test_actionslider.c \
34test_anim.c \
35test_application_server.c \
36test_bg.c \
37test_box.c \
38test_bubble.c \
39test_button.c \
40test_calendar.c \
41test_check.c \
42test_clock.c \
43test_cnp.c \
44test_colorselector.c \
45test_colorclass.c \
46test_combobox.c \
47test_config.c \
48test_conform.c \
49test_conform_indicator.c \
50test_ctxpopup.c \
51test_cursor.c \
52test_datetime.c \
53test_dayselector.c \
54test_disable.c \
55test_diskselector.c \
56test_dnd.c \
57test_eio.c \
58test_entry.c \
59test_entry_anchor.c \
60test_entry_anchor2.c \
61test_external.c \
62test_fileselector_button.c \
63test_fileselector.c \
64test_fileselector_entry.c \
65test_flip.c \
66test_flip_page.c \
67test_flipselector.c \
68test_floating.c \
69test_focus.c \
70test_focus_custom_chain.c \
71test_focus_policy.c \
72test_focus_style.c \
73test_gengrid.c \
74test_genlist.c \
75test_gesture_layer.c \
76test_gesture_layer2.c \
77test_gesture_layer3.c \
78test_glview_simple.c \
79test_glview.c \
80test_glview_manygears.c \
81test_grid.c \
82test_hover.c \
83test_hoversel.c \
84test_icon.c \
85test_icon_desktops.c \
86test_icon_animated.c \
87test_image.c \
88test_index.c \
89test_inwin.c \
90test_label.c \
91test_launcher.c \
92test_layout.c \
93test_list.c \
94test_map.c \
95test_main_menu.c \
96test_menu.c \
97test_multi.c \
98test_multibuttonentry.c \
99test_naviframe.c \
100test_naviframe_complex.c \
101test_notify.c \
102test_panel.c \
103test_panes.c \
104test_photo.c \
105test_photocam.c \
106test_popup.c \
107test_prefs.c \
108test_progressbar.c \
109test_radio.c \
110test_scaling.c \
111test_scroller.c \
112test_segment_control.c \
113test_separator.c \
114test_slider.c \
115test_slideshow.c \
116test_spinner.c \
117test_store.c \
118test_sys_notify.c \
119test_systray.c \
120test_task_switcher.c \
121test_table.c \
122test_thumb.c \
123test_toolbar.c \
124test_tooltip.c \
125test_transit.c \
126test_transit_bezier.c \
127test_video.c \
128test_weather.c \
129test_web.c \
130test_win_inline.c \
131test_win_keygrab.c \
132test_win_socket.c \
133test_win_plug.c \
134test_win_state.c \
135test_win_wm_rotation.c \
136test_win_dialog.c \
137test.h
138
139elementary_test_LDADD = $(top_builddir)/src/lib/libelementary.la \
140 @ELEMENTARY_LIBS@
141elementary_test_CFLAGS =
142elementary_test_LDFLAGS =
143
144elementary_config_SOURCES = \
145config.c
146
147elementary_config_LDADD = $(top_builddir)/src/lib/libelementary.la \
148 @ELEMENTARY_LIBS@
149elementary_config_LDFLAGS =
150
151elementary_codegen_SOURCES = \
152elementary_codegen.c
153
154elementary_codegen_LDADD = \
155 $(top_builddir)/src/lib/libelementary.la \
156 @ELEMENTARY_LIBS@
157elementary_codegen_LDFLAGS =
158
159noinst_HEADERS = \
160elm_prefs_cc.h
161
162elm_prefs_cc_SOURCES = \
163elm_prefs_cc.c \
164elm_prefs_cc_mem.c \
165elm_prefs_cc_out.c \
166elm_prefs_cc_parse.c \
167elm_prefs_cc_handlers.c
168
169elm_prefs_cc_LDADD = \
170$(top_builddir)/src/lib/libelementary.la \
171@ELEMENTARY_LIBS@
172
173if BUILD_QUICKLAUNCH
174elementary_quicklaunch_SOURCES = quicklaunch.c
175elementary_quicklaunch_LDADD = $(top_builddir)/src/lib/libelementary.la \
176 @ELEMENTARY_LIBS@
177elementary_quicklaunch_LDFLAGS =
178
179if BUILD_RUN
180elementary_run_CPPFLAGS = -I$(top_srcdir) \
181-I$(top_srcdir)/src/lib \
182-I$(top_builddir)/src/lib \
183-I$(top_srcdir)/src/bin \
184-DPACKAGE_BIN_DIR=\"$(bindir)\" \
185-DPACKAGE_LIB_DIR=\"$(libdir)\" \
186-DPACKAGE_DATA_DIR=\"$(pkgdatadir)\"
187
188elementary_run_SOURCES = run.c
189elementary_run_LDADD =
190elementary_run_LDFLAGS =
191endif
192endif
193
194EXTRA_DIST = \
195test_factory.c
diff --git a/src/bin/elementary/config.c b/src/bin/elementary/config.c
new file mode 100644
index 0000000..d63bcef
--- /dev/null
+++ b/src/bin/elementary/config.c
@@ -0,0 +1,4115 @@
1#ifdef HAVE_CONFIG_H
2# include "elementary_config.h"
3#endif
4#include <Elementary.h>
5
6typedef struct _Theme Theme;
7typedef struct _Fonts_Data Fonts_Data;
8typedef struct _Elm_Text_Class_Data Elm_Text_Class_Data;
9typedef struct _Elm_Font_Size_Data Elm_Font_Size_Data;
10
11struct _Theme
12{
13 const char *label;
14 const char *name;
15 const char *path;
16 Eina_Bool in_search_path;
17};
18
19static const Eina_List *tsel = NULL;
20static Eina_List *themes = NULL;
21
22struct _Elm_Text_Class_Data
23{
24 const char *name;
25 const char *desc;
26 const char *font;
27 const char *style;
28 Evas_Font_Size size;
29};
30
31struct _Elm_Font_Size_Data
32{
33 const char *size_str;
34 Evas_Font_Size size;
35};
36
37struct _Fonts_Data
38{
39 Eina_List *text_classes;
40
41 Eina_Hash *font_hash;
42 Eina_List *font_px_list;
43 Eina_List *font_scale_list;
44
45 const char *cur_font;
46 const char *cur_style;
47 double cur_size;
48};
49
50#define ELM_LIST_DISABLE(list) \
51 do \
52 { \
53 const Eina_List *_l = elm_list_items_get(list); \
54 if (_l) \
55 { \
56 elm_list_item_show(eina_list_data_get(_l));\
57 elm_object_disabled_set(list, EINA_TRUE); \
58 } \
59 } \
60 while (0)
61
62#define ELM_LIST_ENABLE(list) \
63 do \
64 { \
65 elm_object_disabled_set(list, EINA_FALSE); \
66 } \
67 while (0)
68
69#define LABEL_FRAME_ADD(label) \
70 do \
71 { \
72 pd = elm_frame_add(win); \
73 evas_object_size_hint_weight_set(pd, EVAS_HINT_EXPAND, 0.0); \
74 evas_object_size_hint_align_set(pd, EVAS_HINT_FILL, 0.5); \
75 elm_object_style_set(pd, "pad_medium"); \
76 elm_box_pack_end(bx, pd); \
77 evas_object_show(pd); \
78 \
79 lb = elm_label_add(win); \
80 evas_object_size_hint_weight_set(lb, EVAS_HINT_EXPAND, 0.0); \
81 evas_object_size_hint_align_set(lb, EVAS_HINT_FILL, 0.5); \
82 elm_object_text_set(lb, label); \
83 elm_object_content_set(pd, lb); \
84 evas_object_show(lb); \
85 } \
86 while (0)
87
88#define CHECK_ADD(_label, _desc, _cb, _cb_param) \
89 ck = elm_check_add(win); \
90 elm_object_text_set(ck, _label); \
91 elm_object_tooltip_text_set(ck, _desc); \
92 evas_object_size_hint_weight_set(ck, EVAS_HINT_EXPAND, 0.0); \
93 evas_object_size_hint_align_set(ck, EVAS_HINT_FILL, 0.5); \
94 elm_box_pack_end(bx, ck); \
95 evas_object_show(ck); \
96 evas_object_smart_callback_add(ck, "changed", _cb, _cb_param);
97
98static int quiet = 0;
99static int interactive = 1;
100
101static const char *theme_set = NULL;
102static const char *finger_size_set = NULL;
103static const char *scale_set = NULL;
104static const char *web_backend = NULL;
105static Fonts_Data fndata = {NULL, NULL, NULL, NULL, NULL, NULL, 0.0};
106static Evas_Object *web_backend_entry = NULL;
107
108static void
109_font_styles_list_sel(void *data EINA_UNUSED,
110 Evas_Object *obj,
111 void *event_info);
112
113static void
114config_exit(void *data EINA_UNUSED,
115 Evas_Object *obj EINA_UNUSED,
116 void *event_info EINA_UNUSED)
117{
118 Elm_Text_Class_Data *tc_data;
119 Elm_Font_Size_Data *sd;
120
121 EINA_LIST_FREE(fndata.text_classes, tc_data)
122 {
123 eina_stringshare_del(tc_data->name);
124 eina_stringshare_del(tc_data->desc);
125 eina_stringshare_del(tc_data->font);
126 eina_stringshare_del(tc_data->style);
127 free(tc_data);
128 }
129
130 elm_font_available_hash_del(fndata.font_hash);
131 fndata.font_hash = NULL;
132
133 EINA_LIST_FREE(fndata.font_px_list, sd)
134 {
135 eina_stringshare_del(sd->size_str);
136 free(sd);
137 }
138
139 EINA_LIST_FREE(fndata.font_scale_list, sd)
140 {
141 eina_stringshare_del(sd->size_str);
142 free(sd);
143 }
144
145 if (fndata.cur_font) eina_stringshare_del(fndata.cur_font);
146 fndata.cur_font = NULL;
147
148 if (fndata.cur_style) eina_stringshare_del(fndata.cur_style);
149 fndata.cur_style = NULL;
150
151 elm_config_save();
152 elm_exit(); /* exit the program's main loop that runs in elm_run() */
153}
154
155static void
156scroll_animation_disable_change(void *data EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
157{
158 Eina_Bool val = elm_check_state_get(obj);
159 Eina_Bool sb = elm_config_scroll_animation_disable_get();
160
161 if (val == sb) return;
162 elm_config_scroll_animation_disable_set(val);
163 elm_config_all_flush();
164}
165
166static void
167scroll_accel_factor_change(void *data EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
168{
169 double bf = elm_config_scroll_accel_factor_get();
170 double val = elm_slider_value_get(obj);
171
172 if (fabs(bf - val) < DBL_EPSILON) return;
173 elm_config_scroll_accel_factor_set(val);
174 elm_config_all_flush();
175}
176
177static void
178sb_change(void *data EINA_UNUSED,
179 Evas_Object *obj,
180 void *event_info EINA_UNUSED)
181{
182 Eina_Bool val = elm_check_state_get(obj);
183 Eina_Bool sb = elm_config_scroll_bounce_enabled_get();
184
185 if (val == sb) return;
186 elm_config_scroll_bounce_enabled_set(val);
187 elm_config_all_flush();
188
189 /*TODO: enable/disable subordinate sliders (make 'em support it 1st)*/
190}
191
192static void
193ss_change(void *data EINA_UNUSED,
194 Evas_Object *obj,
195 void *event_info EINA_UNUSED)
196{
197 Eina_Bool val = elm_check_state_get(obj);
198 Eina_Bool ss = elm_config_scroll_thumbscroll_smooth_start_get();
199
200 if (val == ss) return;
201 elm_config_scroll_thumbscroll_smooth_start_set(val);
202 elm_config_all_flush();
203}
204
205static void
206bf_round(void *data EINA_UNUSED,
207 Evas_Object *obj,
208 void *event_info EINA_UNUSED)
209{
210 double val = elm_slider_value_get(obj);
211 double v;
212
213 v = ((double)((int)(val * 10.0))) / 10.0;
214 if (v != val) elm_slider_value_set(obj, v);
215}
216
217static void
218bf_change(void *data EINA_UNUSED,
219 Evas_Object *obj,
220 void *event_info EINA_UNUSED)
221{
222 double bf = elm_config_scroll_bounce_friction_get();
223 double val = elm_slider_value_get(obj);
224
225 if (bf == val) return;
226 elm_config_scroll_bounce_friction_set(val);
227 elm_config_all_flush();
228}
229
230static void
231ps_round(void *data EINA_UNUSED,
232 Evas_Object *obj,
233 void *event_info EINA_UNUSED)
234{
235 double val = elm_slider_value_get(obj);
236 double v;
237
238 v = ((double)((int)(val * 10.0))) / 10.0;
239 if (v != val) elm_slider_value_set(obj, v);
240}
241
242static void
243ps_change(void *data EINA_UNUSED,
244 Evas_Object *obj,
245 void *event_info EINA_UNUSED)
246{
247 double ps = elm_config_scroll_page_scroll_friction_get();
248 double val = elm_slider_value_get(obj);
249
250 if (ps == val) return;
251 elm_config_scroll_page_scroll_friction_set(val);
252 elm_config_all_flush();
253}
254
255static void
256bis_round(void *data EINA_UNUSED,
257 Evas_Object *obj,
258 void *event_info EINA_UNUSED)
259{
260 double val = elm_slider_value_get(obj);
261 double v;
262
263 v = ((double)((int)(val * 10.0))) / 10.0;
264 if (v != val) elm_slider_value_set(obj, v);
265}
266
267static void
268bis_change(void *data EINA_UNUSED,
269 Evas_Object *obj,
270 void *event_info EINA_UNUSED)
271{
272 double bis = elm_config_scroll_bring_in_scroll_friction_get();
273 double val = elm_slider_value_get(obj);
274
275 if (bis == val) return;
276 elm_config_scroll_bring_in_scroll_friction_set(val);
277 elm_config_all_flush();
278}
279
280static void
281zf_round(void *data EINA_UNUSED,
282 Evas_Object *obj,
283 void *event_info EINA_UNUSED)
284{
285 double val = elm_slider_value_get(obj);
286 double v;
287
288 v = ((double)((int)(val * 10.0))) / 10.0;
289 if (v != val) elm_slider_value_set(obj, v);
290}
291
292static void
293zf_change(void *data EINA_UNUSED,
294 Evas_Object *obj,
295 void *event_info EINA_UNUSED)
296{
297 double zf = elm_config_scroll_zoom_friction_get();
298 double val = elm_slider_value_get(obj);
299
300 if (zf == val) return;
301 elm_config_scroll_zoom_friction_set(val);
302 elm_config_all_flush();
303}
304
305static void
306smooth_round(void *data EINA_UNUSED,
307 Evas_Object *obj,
308 void *event_info EINA_UNUSED)
309{
310 double val = elm_slider_value_get(obj);
311 double v;
312
313 v = ((double)((int)(val * 100.0))) / 100.0;
314 if (v != val) elm_slider_value_set(obj, v);
315}
316
317static void
318smooth_change(void *data EINA_UNUSED,
319 Evas_Object *obj,
320 void *event_info EINA_UNUSED)
321{
322 double zf = elm_config_scroll_thumbscroll_smooth_amount_get();
323 double val = elm_slider_value_get(obj);
324
325 if (zf == val) return;
326 elm_config_scroll_thumbscroll_smooth_amount_set(val);
327 elm_config_all_flush();
328}
329
330static void
331smooth_win_round(void *data EINA_UNUSED,
332 Evas_Object *obj,
333 void *event_info EINA_UNUSED)
334{
335 double val = elm_slider_value_get(obj);
336 double v;
337
338 v = ((double)((int)(val * 100.0))) / 100.0;
339 if (v != val) elm_slider_value_set(obj, v);
340}
341
342static void
343smooth_win_change(void *data EINA_UNUSED,
344 Evas_Object *obj,
345 void *event_info EINA_UNUSED)
346{
347 double zf = elm_config_scroll_thumbscroll_smooth_time_window_get();
348 double val = elm_slider_value_get(obj);
349
350 if (zf == val) return;
351 elm_config_scroll_thumbscroll_smooth_time_window_set(val);
352 elm_config_all_flush();
353}
354
355static void
356ts_change(void *data EINA_UNUSED,
357 Evas_Object *obj,
358 void *event_info EINA_UNUSED)
359{
360 Eina_Bool val = elm_check_state_get(obj);
361 Eina_Bool sb = elm_config_scroll_thumbscroll_enabled_get();
362
363 if (val == sb) return;
364 elm_config_scroll_thumbscroll_enabled_set(val);
365 elm_config_all_flush();
366
367 /*TODO: enable/disable subordinate sliders (make 'em support it 1st)*/
368}
369
370static void
371tst_round(void *data EINA_UNUSED,
372 Evas_Object *obj,
373 void *event_info EINA_UNUSED)
374{
375 double val = elm_slider_value_get(obj);
376 double v;
377
378 v = ((double)((int)(val * 10.0))) / 10.0;
379 if (v != val) elm_slider_value_set(obj, v);
380}
381
382static void
383tst_change(void *data EINA_UNUSED,
384 Evas_Object *obj,
385 void *event_info EINA_UNUSED)
386{
387 double tst = elm_config_scroll_thumbscroll_threshold_get();
388 double val = elm_slider_value_get(obj);
389
390 if (tst == val) return;
391 elm_config_scroll_thumbscroll_threshold_set(val);
392 elm_config_all_flush();
393}
394
395static void
396tsht_round(void *data EINA_UNUSED,
397 Evas_Object *obj,
398 void *event_info EINA_UNUSED)
399{
400 double val = elm_slider_value_get(obj);
401 double v;
402
403 v = ((double)((int)(val * 10.0))) / 10.0;
404 if (v != val) elm_slider_value_set(obj, v);
405}
406
407static void
408tsht_change(void *data EINA_UNUSED,
409 Evas_Object *obj,
410 void *event_info EINA_UNUSED)
411{
412 double tst = elm_config_scroll_thumbscroll_hold_threshold_get();
413 double val = elm_slider_value_get(obj);
414
415 if (tst == val) return;
416 elm_config_scroll_thumbscroll_hold_threshold_set(val);
417 elm_config_all_flush();
418}
419
420static void
421tsmt_round(void *data EINA_UNUSED,
422 Evas_Object *obj,
423 void *event_info EINA_UNUSED)
424{
425 double val = elm_slider_value_get(obj);
426 double v;
427
428 v = ((double)((int)(val * 10.0))) / 10.0;
429 if (v != val) elm_slider_value_set(obj, v);
430}
431
432static void
433tsmt_change(void *data EINA_UNUSED,
434 Evas_Object *obj,
435 void *event_info EINA_UNUSED)
436{
437 double tsmt = elm_config_scroll_thumbscroll_momentum_threshold_get();
438 double val = elm_slider_value_get(obj);
439
440 if (tsmt == val) return;
441 elm_config_scroll_thumbscroll_momentum_threshold_set(val);
442 elm_config_all_flush();
443}
444
445static void
446tsfdt_round(void *data EINA_UNUSED,
447 Evas_Object *obj,
448 void *event_info EINA_UNUSED)
449{
450 double val = elm_slider_value_get(obj);
451 double v;
452
453 v = ((double)((int)(val * 10.0))) / 10.0;
454 if (v != val) elm_slider_value_set(obj, v);
455}
456
457static void
458tsfdt_change(void *data EINA_UNUSED,
459 Evas_Object *obj,
460 void *event_info EINA_UNUSED)
461{
462 double tsfdt = elm_config_scroll_thumbscroll_flick_distance_tolerance_get();
463 double val = elm_slider_value_get(obj);
464
465 if (tsfdt == val) return;
466 elm_config_scroll_thumbscroll_flick_distance_tolerance_set(val);
467 elm_config_all_flush();
468}
469
470static void
471tsf_round(void *data EINA_UNUSED,
472 Evas_Object *obj,
473 void *event_info EINA_UNUSED)
474{
475 double val = elm_slider_value_get(obj);
476 double v;
477
478 v = ((double)((int)(val * 10.0))) / 10.0;
479 if (v != val) elm_slider_value_set(obj, v);
480}
481
482static void
483tsf_change(void *data EINA_UNUSED,
484 Evas_Object *obj,
485 void *event_info EINA_UNUSED)
486{
487 double tsf = elm_config_scroll_thumbscroll_friction_get();
488 double val = elm_slider_value_get(obj);
489
490 if (tsf == val) return;
491 elm_config_scroll_thumbscroll_friction_set(val);
492 elm_config_all_flush();
493}
494
495static void
496tsmf_round(void *data EINA_UNUSED,
497 Evas_Object *obj,
498 void *event_info EINA_UNUSED)
499{
500 double val = elm_slider_value_get(obj);
501 double v;
502
503 v = ((double)((int)(val * 10.0))) / 10.0;
504 if (v != val) elm_slider_value_set(obj, v);
505}
506
507static void
508tsmf_change(void *data EINA_UNUSED,
509 Evas_Object *obj,
510 void *event_info EINA_UNUSED)
511{
512 double tsmf = elm_config_scroll_thumbscroll_min_friction_get();
513 double val = elm_slider_value_get(obj);
514
515 if (tsmf == val) return;
516 elm_config_scroll_thumbscroll_min_friction_set(val);
517 elm_config_all_flush();
518}
519
520static void
521tsfs_round(void *data EINA_UNUSED,
522 Evas_Object *obj,
523 void *event_info EINA_UNUSED)
524{
525 double val = elm_slider_value_get(obj);
526 double v;
527
528 v = ((double)((int)(val * 10.0))) / 10.0;
529 if (v != val) elm_slider_value_set(obj, v);
530}
531
532static void
533tsfs_change(void *data EINA_UNUSED,
534 Evas_Object *obj,
535 void *event_info EINA_UNUSED)
536{
537 double tsfs = elm_config_scroll_thumbscroll_friction_standard_get();
538 double val = elm_slider_value_get(obj);
539
540 if (tsfs == val) return;
541 elm_config_scroll_thumbscroll_friction_standard_set(val);
542 elm_config_all_flush();
543}
544
545static void
546tsbf_round(void *data EINA_UNUSED,
547 Evas_Object *obj,
548 void *event_info EINA_UNUSED)
549{
550 double val = elm_slider_value_get(obj);
551 double v;
552
553 v = ((double)((int)(val * 10.0))) / 10.0;
554 if (v != val) elm_slider_value_set(obj, v);
555}
556
557static void
558tsbf_change(void *data EINA_UNUSED,
559 Evas_Object *obj,
560 void *event_info EINA_UNUSED)
561{
562 double tsbf = elm_config_scroll_thumbscroll_border_friction_get();
563 double val = elm_slider_value_get(obj);
564
565 if (tsbf == val) return;
566 elm_config_scroll_thumbscroll_border_friction_set(val);
567 elm_config_all_flush();
568}
569
570static void
571tssf_round(void *data EINA_UNUSED,
572 Evas_Object *obj,
573 void *event_info EINA_UNUSED)
574{
575 double val = elm_slider_value_get(obj);
576 double v;
577
578 v = ((double)((int)(val * 20.0))) / 20.0;
579 if (v != val) elm_slider_value_set(obj, v);
580}
581
582static void
583tssf_change(void *data EINA_UNUSED,
584 Evas_Object *obj,
585 void *event_info EINA_UNUSED)
586{
587 double tssf = elm_config_scroll_thumbscroll_sensitivity_friction_get();
588 double val = elm_slider_value_get(obj);
589
590 if (tssf == val) return;
591 elm_config_scroll_thumbscroll_sensitivity_friction_set(val);
592 elm_config_all_flush();
593}
594
595static void
596tsat_round(void *data EINA_UNUSED,
597 Evas_Object *obj,
598 void *event_info EINA_UNUSED)
599{
600 double val = elm_slider_value_get(obj);
601 double v;
602
603 v = ((double)((int)(val * 10.0))) / 10.0;
604 if (v != val) elm_slider_value_set(obj, v);
605}
606
607static void
608tsat_change(void *data EINA_UNUSED,
609 Evas_Object *obj,
610 void *event_info EINA_UNUSED)
611{
612 double tsat = elm_config_scroll_thumbscroll_acceleration_threshold_get();
613 double val = elm_slider_value_get(obj);
614
615 if (tsat == val) return;
616 elm_config_scroll_thumbscroll_acceleration_threshold_set(val);
617 elm_config_all_flush();
618}
619
620static void
621tsatl_round(void *data EINA_UNUSED,
622 Evas_Object *obj,
623 void *event_info EINA_UNUSED)
624{
625 double val = elm_slider_value_get(obj);
626 double v;
627
628 v = ((double)((int)(val * 10.0))) / 10.0;
629 if (v != val) elm_slider_value_set(obj, v);
630}
631
632static void
633tsatl_change(void *data EINA_UNUSED,
634 Evas_Object *obj,
635 void *event_info EINA_UNUSED)
636{
637 double tsatl = elm_config_scroll_thumbscroll_acceleration_time_limit_get();
638 double val = elm_slider_value_get(obj);
639
640 if (tsatl == val) return;
641 elm_config_scroll_thumbscroll_acceleration_time_limit_set(val);
642 elm_config_all_flush();
643}
644
645static void
646tsaw_round(void *data EINA_UNUSED,
647 Evas_Object *obj,
648 void *event_info EINA_UNUSED)
649{
650 double val = elm_slider_value_get(obj);
651 double v;
652
653 v = ((double)((int)(val * 10.0))) / 10.0;
654 if (v != val) elm_slider_value_set(obj, v);
655}
656
657static void
658tsaw_change(void *data EINA_UNUSED,
659 Evas_Object *obj,
660 void *event_info EINA_UNUSED)
661{
662 double tsaw = elm_config_scroll_thumbscroll_acceleration_weight_get();
663 double val = elm_slider_value_get(obj);
664
665 if (tsaw == val) return;
666 elm_config_scroll_thumbscroll_acceleration_weight_set(val);
667 elm_config_all_flush();
668}
669
670static void
671cf_enable(void *data,
672 Evas_Object *obj,
673 void *event_info EINA_UNUSED)
674{
675 Eina_Bool cf = elm_config_cache_flush_enabled_get();
676 Eina_Bool val = elm_check_state_get(obj);
677
678 if (cf == val) return;
679 elm_object_disabled_set((Evas_Object *)data, !val);
680 elm_config_cache_flush_enabled_set(val);
681 elm_config_all_flush();
682}
683
684static void
685cf_round(void *data EINA_UNUSED,
686 Evas_Object *obj,
687 void *event_info EINA_UNUSED)
688{
689 double val = elm_slider_value_get(obj);
690 double v;
691
692 v = ((double)((int)(val * 5.0))) / 5.0;
693 if (v != val) elm_slider_value_set(obj, v);
694}
695
696static void
697cf_change(void *data EINA_UNUSED,
698 Evas_Object *obj,
699 void *event_info EINA_UNUSED)
700{
701 double cf = elm_config_cache_flush_interval_get();
702 double val = elm_slider_value_get(obj);
703
704 if (cf == val) return;
705 elm_config_cache_flush_interval_set(val);
706 elm_config_all_flush();
707}
708
709static void
710fc_round(void *data EINA_UNUSED,
711 Evas_Object *obj,
712 void *event_info EINA_UNUSED)
713{
714 double val = elm_slider_value_get(obj);
715 double v;
716
717 v = ((double)((int)(val * 10.0))) / 10.0;
718 if (v != val) elm_slider_value_set(obj, v);
719}
720
721static void
722fc_change(void *data EINA_UNUSED,
723 Evas_Object *obj,
724 void *event_info EINA_UNUSED)
725{
726 double font_cache = elm_config_cache_font_cache_size_get();
727 double val = elm_slider_value_get(obj);
728
729 if (font_cache == val) return;
730 elm_config_cache_font_cache_size_set(val * 1024);
731 elm_config_all_flush();
732}
733
734static void
735ic_round(void *data EINA_UNUSED,
736 Evas_Object *obj,
737 void *event_info EINA_UNUSED)
738{
739 double val = elm_slider_value_get(obj);
740 double v;
741
742 v = ((double)((int)(val * 10.0))) / 10.0;
743 if (v != val) elm_slider_value_set(obj, v);
744}
745
746static void
747ic_change(void *data EINA_UNUSED,
748 Evas_Object *obj,
749 void *event_info EINA_UNUSED)
750{
751 double image_cache = elm_config_cache_image_cache_size_get();
752 double val = elm_slider_value_get(obj);
753
754 if (image_cache == val) return;
755 elm_config_cache_image_cache_size_set(val * 1024);
756 elm_config_all_flush();
757}
758
759static void
760sc_round(void *data EINA_UNUSED,
761 Evas_Object *obj,
762 void *event_info EINA_UNUSED)
763{
764 double val = elm_slider_value_get(obj);
765 double v;
766
767 v = ((double)((int)(val * 10.0))) / 10.0;
768 if (v != val) elm_slider_value_set(obj, v);
769}
770
771static void
772sc_change(void *data EINA_UNUSED,
773 Evas_Object *obj,
774 void *event_info EINA_UNUSED)
775{
776 double scale = elm_config_scale_get();
777 double val = elm_slider_value_get(obj);
778
779 if (scale == val) return;
780 elm_config_scale_set(val);
781 elm_config_all_flush();
782}
783
784static void
785fs_round(void *data EINA_UNUSED,
786 Evas_Object *obj,
787 void *event_info EINA_UNUSED)
788{
789 double val = elm_slider_value_get(obj);
790 double v;
791
792 v = ((double)((int)(val * 5.0))) / 5.0;
793 if (v != val) elm_slider_value_set(obj, v);
794}
795
796static void
797fs_change(void *data EINA_UNUSED,
798 Evas_Object *obj,
799 void *event_info EINA_UNUSED)
800{
801 double fs = elm_config_finger_size_get();
802 double val = elm_slider_value_get(obj);
803
804 if (fs == val) return;
805 elm_config_finger_size_set(val);
806 elm_config_all_flush();
807}
808
809static void
810efc_round(void *data EINA_UNUSED,
811 Evas_Object *obj,
812 void *event_info EINA_UNUSED)
813{
814 double val = elm_slider_value_get(obj);
815 double v;
816
817 v = ((double)((int)(val * 5.0))) / 5.0;
818 if (v != val) elm_slider_value_set(obj, v);
819}
820
821static void
822efc_change(void *data EINA_UNUSED,
823 Evas_Object *obj,
824 void *event_info EINA_UNUSED)
825{
826 double efc = elm_config_cache_edje_file_cache_size_get();
827 double val = elm_slider_value_get(obj);
828
829 if (efc == val) return;
830 elm_config_cache_edje_file_cache_size_set(val);
831 elm_config_all_flush();
832}
833
834static void
835ecc_round(void *data EINA_UNUSED,
836 Evas_Object *obj,
837 void *event_info EINA_UNUSED)
838{
839 double val = elm_slider_value_get(obj);
840 double v;
841
842 v = ((double)((int)(val * 5.0))) / 5.0;
843 if (v != val) elm_slider_value_set(obj, v);
844}
845
846static void
847ecc_change(void *data EINA_UNUSED,
848 Evas_Object *obj,
849 void *event_info EINA_UNUSED)
850{
851 double ecc = elm_config_cache_edje_collection_cache_size_get();
852 double val = elm_slider_value_get(obj);
853
854 if (ecc == val) return;
855 elm_config_cache_edje_collection_cache_size_set(val);
856 elm_config_all_flush();
857}
858
859static void
860ac_change(void *data EINA_UNUSED,
861 Evas_Object *obj,
862 void *event_info EINA_UNUSED)
863{
864 Eina_Bool val = elm_check_state_get(obj);
865 Eina_Bool ac = elm_config_access_get();
866
867 if (val == ac) return;
868 elm_config_access_set(val);
869 elm_config_all_flush();
870}
871
872static void
873sel_change(void *data EINA_UNUSED,
874 Evas_Object *obj,
875 void *event_info EINA_UNUSED)
876{
877 Eina_Bool val = elm_check_state_get(obj);
878 Eina_Bool sel = elm_config_selection_unfocused_clear_get();
879
880 if (val == sel) return;
881 elm_config_selection_unfocused_clear_set(val);
882 elm_config_all_flush();
883}
884
885static void
886dbg_change(void *data EINA_UNUSED,
887 Evas_Object *obj,
888 void *event_info EINA_UNUSED)
889{
890 Eina_Bool val = elm_check_state_get(obj);
891 Eina_Bool sel = elm_config_clouseau_enabled_get();
892
893 if (val == sel) return;
894 elm_config_clouseau_enabled_set(val);
895 elm_config_all_flush();
896}
897
898static void
899atspi_change(void *data EINA_UNUSED,
900 Evas_Object *obj,
901 void *event_info EINA_UNUSED)
902{
903 Eina_Bool val = elm_check_state_get(obj);
904 Eina_Bool sel = elm_config_atspi_mode_get();
905
906 if (val == sel) return;
907 elm_config_atspi_mode_set(val);
908 elm_config_all_flush();
909}
910
911static void
912transition_duration_change(void *data EINA_UNUSED,
913 Evas_Object *obj,
914 void *event_info EINA_UNUSED)
915{
916 double val = elm_slider_value_get(obj);
917 Eina_Bool scale = elm_config_transition_duration_factor_get();
918
919 if (scale == val) return;
920 elm_config_transition_duration_factor_set(val);
921 elm_config_all_flush();
922}
923
924static void
925_status_basic(Evas_Object *win,
926 Evas_Object *bx0)
927{
928 Evas_Object *lb, *fr;
929
930 fr = elm_frame_add(win);
931 evas_object_size_hint_weight_set(fr, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
932 elm_object_text_set(fr, "Information");
933 elm_box_pack_end(bx0, fr);
934 evas_object_show(fr);
935
936 lb = elm_label_add(win);
937 elm_object_text_set(lb,
938 "Applying configuration change"
939 );
940 elm_object_content_set(fr, lb);
941 evas_object_show(lb);
942}
943
944static void
945_status_config(Evas_Object *win,
946 Evas_Object *bx0)
947{
948 Evas_Object *lb, *pd, *bx, *fr, *sl, *sp;
949
950 fr = elm_frame_add(win);
951 evas_object_size_hint_weight_set(fr, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
952 evas_object_size_hint_align_set(fr, EVAS_HINT_FILL, EVAS_HINT_FILL);
953 elm_object_text_set(fr, "Sizing");
954 elm_box_pack_end(bx0, fr);
955 evas_object_show(fr);
956
957 bx = elm_box_add(win);
958 evas_object_size_hint_weight_set(bx, EVAS_HINT_EXPAND, 0.0);
959 evas_object_size_hint_align_set(bx, EVAS_HINT_FILL, 0.5);
960
961 LABEL_FRAME_ADD("<hilight>Scale</>");
962
963 sl = elm_slider_add(win);
964 evas_object_size_hint_weight_set(sl, EVAS_HINT_EXPAND, 0.0);
965 evas_object_size_hint_align_set(sl, EVAS_HINT_FILL, 0.5);
966 elm_slider_span_size_set(sl, 120);
967 elm_slider_unit_format_set(sl, "%1.2f");
968 elm_slider_indicator_format_set(sl, "%1.2f");
969 elm_slider_min_max_set(sl, 0.25, 5.0);
970 elm_slider_value_set(sl, elm_config_scale_get());
971 elm_box_pack_end(bx, sl);
972 evas_object_show(sl);
973
974 evas_object_smart_callback_add(sl, "changed", sc_round, NULL);
975 evas_object_smart_callback_add(sl, "delay,changed", sc_change, NULL);
976
977 sp = elm_separator_add(win);
978 elm_separator_horizontal_set(sp, EINA_TRUE);
979 evas_object_size_hint_weight_set(sp, EVAS_HINT_EXPAND, 0.0);
980 evas_object_size_hint_align_set(sp, EVAS_HINT_FILL, 0.5);
981 elm_box_pack_end(bx, sp);
982 evas_object_show(sp);
983
984 LABEL_FRAME_ADD("<hilight>Finger Size</><br/>");
985
986 sl = elm_slider_add(win);
987 evas_object_size_hint_weight_set(sl, EVAS_HINT_EXPAND, 0.0);
988 evas_object_size_hint_align_set(sl, EVAS_HINT_FILL, 0.5);
989 elm_slider_span_size_set(sl, 120);
990 elm_slider_unit_format_set(sl, "%1.0f");
991 elm_slider_indicator_format_set(sl, "%1.0f");
992 elm_slider_min_max_set(sl, 5, 200);
993 elm_slider_value_set(sl, elm_config_finger_size_get());
994 elm_box_pack_end(bx, sl);
995 evas_object_show(sl);
996
997 evas_object_smart_callback_add(sl, "changed", fs_round, NULL);
998 evas_object_smart_callback_add(sl, "delay,changed", fs_change, NULL);
999
1000 // FIXME: add theme selector (basic mode and advanced for fallbacks)
1001 // FIXME: save config
1002 // FIXME: profile selector / creator etc.
1003 elm_object_content_set(fr, bx);
1004 evas_object_show(bx);
1005}
1006
1007static void
1008_flip_to(Evas_Object *win,
1009 const char *name)
1010{
1011 Evas_Object *wid, *naviframe;
1012 wid = evas_object_data_get(win, name);
1013 naviframe = evas_object_data_get(win, "naviframe");
1014 if (!naviframe) return;
1015 elm_naviframe_item_simple_promote(naviframe, wid);
1016}
1017
1018static void
1019_cf_sizing(void *data,
1020 Evas_Object *obj EINA_UNUSED,
1021 void *event_info EINA_UNUSED)
1022{
1023 _flip_to(data, "sizing");
1024}
1025
1026static void
1027_cf_themes(void *data,
1028 Evas_Object *obj EINA_UNUSED,
1029 void *event_info EINA_UNUSED)
1030{
1031 _flip_to(data, "themes");
1032}
1033
1034static void
1035_cf_fonts(void *data,
1036 Evas_Object *obj EINA_UNUSED,
1037 void *event_info EINA_UNUSED)
1038{
1039 _flip_to(data, "fonts");
1040}
1041
1042static void
1043_cf_profiles(void *data,
1044 Evas_Object *obj EINA_UNUSED,
1045 void *event_info EINA_UNUSED)
1046{
1047 _flip_to(data, "profiles");
1048}
1049
1050static void
1051_cf_scrolling(void *data,
1052 Evas_Object *obj EINA_UNUSED,
1053 void *event_info EINA_UNUSED)
1054{
1055 _flip_to(data, "scrolling");
1056}
1057
1058static void
1059_cf_rendering(void *data,
1060 Evas_Object *obj EINA_UNUSED,
1061 void *event_info EINA_UNUSED)
1062{
1063 _flip_to(data, "rendering");
1064}
1065
1066static void
1067_cf_caches(void *data,
1068 Evas_Object *obj EINA_UNUSED,
1069 void *event_info EINA_UNUSED)
1070{
1071 _flip_to(data, "caches");
1072}
1073
1074static void
1075_cf_audio(void *data,
1076 Evas_Object *obj EINA_UNUSED,
1077 void *event_info EINA_UNUSED)
1078{
1079 _flip_to(data,"audio");
1080}
1081
1082static void
1083_cf_focus(void *data,
1084 Evas_Object *obj EINA_UNUSED,
1085 void *event_info EINA_UNUSED)
1086{
1087 _flip_to(data, "focus");
1088}
1089
1090static void
1091_cf_etc(void *data,
1092 Evas_Object *obj EINA_UNUSED,
1093 void *event_info EINA_UNUSED)
1094{
1095 _flip_to(data,"etc");
1096}
1097
1098const char *
1099_elm_theme_current_get(const char *theme_search_order)
1100{
1101 const char *ret;
1102 const char *p;
1103
1104 if (!theme_search_order)
1105 return NULL;
1106
1107 for (p = theme_search_order;; p++)
1108 {
1109 if ((*p == ':') || (!*p))
1110 {
1111 if (p > theme_search_order)
1112 {
1113 char *n = malloc(p - theme_search_order + 1);
1114 if (!n)
1115 return NULL;
1116
1117 strncpy(n, theme_search_order, p - theme_search_order);
1118 n[p - theme_search_order] = 0;
1119 ret = eina_stringshare_add(n);
1120 free(n);
1121 break;
1122 }
1123 }
1124 }
1125
1126 return ret;
1127}
1128
1129static void
1130_font_overlay_set_all(void *data,
1131 Evas_Object *obj EINA_UNUSED,
1132 void *event_info EINA_UNUSED)
1133{
1134 Evas_Object *win, *fclasses;
1135 Elm_Text_Class_Data *tc_data, *tc;
1136 Elm_Object_Item *list_it;
1137 Eina_List *l;
1138
1139 win = data;
1140
1141 fclasses = evas_object_data_get(win, "font_classes_list");
1142 list_it = elm_list_selected_item_get(fclasses);
1143 if (!list_it) return;
1144 tc_data = elm_object_item_data_get(list_it);
1145 if (!tc_data) return;
1146
1147 EINA_LIST_FOREACH(fndata.text_classes, l, tc)
1148 {
1149 eina_stringshare_replace(&tc->font, tc_data->font);
1150 eina_stringshare_replace(&tc->style, tc_data->style);
1151 tc->size = tc_data->size;
1152 }
1153
1154 elm_config_all_flush();
1155}
1156
1157static void
1158_font_overlay_reset(void *data,
1159 Evas_Object *obj EINA_UNUSED,
1160 void *event_info EINA_UNUSED)
1161{
1162 Evas_Object *win, *fclasses, *fnames, *fstyles, *fsizes;
1163 Elm_Text_Class_Data *tc_data;
1164 Elm_Object_Item *list_it;
1165
1166 win = data;
1167
1168 fclasses = evas_object_data_get(win, "font_classes_list");
1169 list_it = elm_list_selected_item_get(fclasses);
1170 if (!list_it) return;
1171 tc_data = elm_object_item_data_get(list_it);
1172 if (!tc_data) return;
1173
1174 fnames = evas_object_data_get(win, "font_names_list");
1175 fstyles = evas_object_data_get(win, "font_styles_list");
1176 fsizes = evas_object_data_get(win, "font_sizes_list");
1177
1178 elm_config_font_overlay_unset(tc_data->name);
1179
1180 eina_stringshare_replace(&fndata.cur_font, NULL);
1181 eina_stringshare_replace(&tc_data->font, NULL);
1182 eina_stringshare_replace(&fndata.cur_style, NULL);
1183 eina_stringshare_replace(&tc_data->style, NULL);
1184 fndata.cur_size = 0.0;
1185 tc_data->size = 0.0;
1186
1187 ELM_LIST_DISABLE(fnames);
1188 ELM_LIST_DISABLE(fstyles);
1189 ELM_LIST_DISABLE(fsizes);
1190
1191 elm_config_all_flush();
1192}
1193
1194static void
1195_font_overlay_reset_all(void *data,
1196 Evas_Object *obj EINA_UNUSED,
1197 void *event_info EINA_UNUSED)
1198{
1199 Evas_Object *win, *fclasses, *fnames, *fstyles, *fsizes;
1200 Elm_Text_Class_Data *tc_data;
1201 Elm_Object_Item *list_it;
1202 Eina_List *l;
1203
1204 win = data;
1205 eina_stringshare_replace(&fndata.cur_font, NULL);
1206 eina_stringshare_replace(&fndata.cur_style, NULL);
1207 fndata.cur_size = 0.0;
1208
1209 EINA_LIST_FOREACH(fndata.text_classes, l, tc_data)
1210 {
1211 elm_config_font_overlay_unset(tc_data->name);
1212
1213 eina_stringshare_replace(&tc_data->font, NULL);
1214 eina_stringshare_replace(&tc_data->style, NULL);
1215 tc_data->size = 0.0;
1216 }
1217
1218 fclasses = evas_object_data_get(win, "font_classes_list");
1219 fnames = evas_object_data_get(win, "font_names_list");
1220 fstyles = evas_object_data_get(win, "font_styles_list");
1221 fsizes = evas_object_data_get(win, "font_sizes_list");
1222
1223 list_it = elm_list_selected_item_get(fclasses);
1224 if (list_it) elm_list_item_selected_set(list_it, EINA_FALSE);
1225
1226 ELM_LIST_DISABLE(fnames);
1227 ELM_LIST_DISABLE(fstyles);
1228 ELM_LIST_DISABLE(fsizes);
1229
1230 elm_config_all_flush();
1231}
1232
1233static void
1234_font_overlay_change(void *data EINA_UNUSED,
1235 Evas_Object *obj EINA_UNUSED,
1236 void *event_info EINA_UNUSED)
1237{
1238 Elm_Text_Class_Data *tc_data;
1239 Eina_List *l;
1240
1241 EINA_LIST_FOREACH(fndata.text_classes, l, tc_data)
1242 {
1243 if (tc_data->font)
1244 {
1245 char *name;
1246
1247 name = elm_font_fontconfig_name_get(tc_data->font,
1248 tc_data->style);
1249 elm_config_font_overlay_set(tc_data->name, name,
1250 tc_data->size ? tc_data->size : -100);
1251 elm_font_fontconfig_name_free(name);
1252 }
1253 else
1254 elm_config_font_overlay_unset(tc_data->name);
1255 }
1256
1257 elm_config_font_overlay_apply();
1258 elm_config_all_flush();
1259
1260 /* TODO: apply hinting */
1261}
1262
1263static void
1264_config_display_update(Evas_Object *win)
1265{
1266 int flush_interval, font_c, image_c, edje_file_c, edje_col_c, ts_threshould,
1267 ts_hold_threshold;
1268 double scale, s_bounce_friction, ts_momentum_threshold,
1269 ts_flick_distance_tolerance, ts_friction,
1270 ts_min_friction, ts_friction_standard, ts_border_friction,
1271 ts_sensitivity_friction, ts_acceleration_threshold,
1272 ts_acceleration_time_limit, ts_acceleration_weight, page_friction,
1273 bring_in_friction, zoom_friction, transition_duration,
1274 smooth_amount, smooth_time_window;
1275 const char *curr_theme;
1276 Eina_Bool s_bounce, ts, smooth_start;
1277 Elm_Theme *th;
1278 int fs;
1279
1280 scale = elm_config_scale_get();
1281 fs = elm_config_finger_size_get();
1282 flush_interval = elm_config_cache_flush_interval_get();
1283 font_c = elm_config_cache_font_cache_size_get();
1284 image_c = elm_config_cache_image_cache_size_get();
1285 transition_duration = elm_config_transition_duration_factor_get();
1286 edje_file_c = elm_config_cache_edje_file_cache_size_get();
1287 edje_col_c = elm_config_cache_edje_collection_cache_size_get();
1288
1289 s_bounce = elm_config_scroll_bounce_enabled_get();
1290 s_bounce_friction = elm_config_scroll_bounce_friction_get();
1291 ts = elm_config_scroll_thumbscroll_enabled_get();
1292 ts_threshould = elm_config_scroll_thumbscroll_threshold_get();
1293 ts_hold_threshold = elm_config_scroll_thumbscroll_hold_threshold_get();
1294 ts_momentum_threshold = elm_config_scroll_thumbscroll_momentum_threshold_get();
1295 ts_flick_distance_tolerance = elm_config_scroll_thumbscroll_flick_distance_tolerance_get();
1296 ts_friction = elm_config_scroll_thumbscroll_friction_get();
1297 ts_min_friction = elm_config_scroll_thumbscroll_min_friction_get();
1298 ts_friction_standard = elm_config_scroll_thumbscroll_friction_standard_get();
1299 ts_border_friction = elm_config_scroll_thumbscroll_border_friction_get();
1300 ts_sensitivity_friction = elm_config_scroll_thumbscroll_sensitivity_friction_get();
1301 ts_acceleration_threshold = elm_config_scroll_thumbscroll_acceleration_threshold_get();
1302 ts_acceleration_time_limit = elm_config_scroll_thumbscroll_acceleration_time_limit_get();
1303 ts_acceleration_weight = elm_config_scroll_thumbscroll_acceleration_weight_get();
1304 page_friction = elm_config_scroll_page_scroll_friction_get();
1305 bring_in_friction = elm_config_scroll_bring_in_scroll_friction_get();
1306 zoom_friction = elm_config_scroll_zoom_friction_get();
1307 smooth_start = elm_config_scroll_thumbscroll_smooth_start_get();
1308 smooth_amount = elm_config_scroll_thumbscroll_smooth_amount_get();
1309 smooth_time_window = elm_config_scroll_thumbscroll_smooth_time_window_get();
1310
1311 /* gotta update root windows' atoms */
1312 elm_slider_value_set(evas_object_data_get(win, "scale_slider"), scale);
1313 elm_slider_value_set(evas_object_data_get(win, "fs_slider"), fs);
1314
1315 elm_slider_value_set(evas_object_data_get(win,
1316 "cache_flush_interval_slider"),
1317 flush_interval);
1318 elm_slider_value_set(evas_object_data_get(win, "font_cache_slider"),
1319 font_c / 1024.0);
1320 elm_slider_value_set(evas_object_data_get(win, "image_cache_slider"),
1321 image_c / 1024.0);
1322 elm_slider_value_set(evas_object_data_get(win, "edje_file_cache_slider"),
1323 edje_file_c);
1324 elm_slider_value_set(evas_object_data_get(win,
1325 "edje_collection_cache_slider"),
1326 edje_col_c);
1327
1328 elm_check_state_set(evas_object_data_get(win, "scroll_bounce_check"),
1329 s_bounce);
1330 elm_slider_value_set(evas_object_data_get(win, "bounce_friction_slider"),
1331 s_bounce_friction);
1332 elm_check_state_set(evas_object_data_get(win, "thumbscroll_check"), ts);
1333 elm_slider_value_set(evas_object_data_get(win,
1334 "ts_threshold_slider"),
1335 ts_threshould);
1336 elm_slider_value_set(evas_object_data_get(win,
1337 "ts_hold_threshold_slider"),
1338 ts_hold_threshold);
1339 elm_slider_value_set(evas_object_data_get(win,
1340 "ts_momentum_threshold_slider"),
1341 ts_momentum_threshold);
1342 elm_slider_value_set(evas_object_data_get(win,
1343 "ts_flick_distance_tolerance_slider"),
1344 ts_flick_distance_tolerance);
1345 elm_slider_value_set(evas_object_data_get(win,
1346 "ts_friction_slider"),
1347 ts_friction);
1348 elm_slider_value_set(evas_object_data_get(win,
1349 "ts_min_friction_slider"),
1350 ts_min_friction);
1351 elm_slider_value_set(evas_object_data_get(win,
1352 "ts_friction_standard_slider"),
1353 ts_friction_standard);
1354 elm_slider_value_set(evas_object_data_get(win, "ts_border_friction_slider"),
1355 ts_border_friction);
1356 elm_slider_value_set(evas_object_data_get(win, "ts_sensitivity_friction_slider"),
1357 ts_sensitivity_friction);
1358 elm_slider_value_set(evas_object_data_get(win, "ts_acceleration_threshold_slider"),
1359 ts_acceleration_threshold);
1360 elm_slider_value_set(evas_object_data_get(win, "ts_acceleration_time_limit_slider"),
1361 ts_acceleration_time_limit);
1362 elm_slider_value_set(evas_object_data_get(win, "ts_acceleration_weight_slider"),
1363 ts_acceleration_weight);
1364 elm_slider_value_set(evas_object_data_get(win,
1365 "page_scroll_friction_slider"),
1366 page_friction);
1367 elm_slider_value_set(evas_object_data_get(win,
1368 "bring_in_scroll_friction_slider"),
1369 bring_in_friction);
1370 elm_slider_value_set(evas_object_data_get(win,
1371 "zoom_scroll_friction_slider"),
1372 zoom_friction);
1373
1374 elm_check_state_set(evas_object_data_get(win, "scroll_smooth_start"),
1375 smooth_start);
1376 elm_slider_value_set(evas_object_data_get(win,
1377 "scroll_smooth_amount"),
1378 smooth_amount);
1379 elm_slider_value_set(evas_object_data_get(win,
1380 "scroll_smooth_time_window"),
1381 smooth_time_window);
1382
1383 curr_theme = _elm_theme_current_get(elm_theme_get(NULL));
1384
1385 th = elm_theme_new();
1386 elm_theme_set(th, curr_theme);
1387 elm_object_theme_set(evas_object_data_get(win, "theme_preview"), th);
1388 elm_theme_free(th);
1389 elm_config_transition_duration_factor_set(transition_duration);
1390 eina_stringshare_del(curr_theme);
1391}
1392
1393static Eina_Bool
1394_config_all_changed(void *data,
1395 int ev_type EINA_UNUSED,
1396 void *ev EINA_UNUSED)
1397{
1398 Evas_Object *win = data;
1399 _config_display_update(win);
1400 return ECORE_CALLBACK_PASS_ON;
1401}
1402
1403static void
1404_profile_use(void *data,
1405 Evas_Object *obj EINA_UNUSED,
1406 void *event_info EINA_UNUSED)
1407{
1408 Evas_Object *li;
1409 const char *selection;
1410 const char *profile;
1411
1412 li = data;
1413 selection = elm_object_item_data_get(elm_list_selected_item_get(li));
1414 if (!selection) return;
1415 profile = elm_config_profile_get();
1416
1417 if (!profile)
1418 {
1419 fprintf(stderr, "No profile currently set!\n"); /* FIXME: log domain */
1420 return;
1421 }
1422
1423 if (!strcmp(profile, selection))
1424 return;
1425
1426 elm_config_profile_set(selection); /* just here to update info for getters below */
1427
1428 _config_display_update(elm_object_top_widget_get(li));
1429 elm_config_all_flush();
1430}
1431
1432static void
1433_btn_todo(void *data EINA_UNUSED,
1434 Evas_Object *obj EINA_UNUSED,
1435 void *event_info EINA_UNUSED)
1436{
1437 printf("To be done!\n");
1438}
1439
1440static void
1441_profile_reset(void *data,
1442 Evas_Object *obj EINA_UNUSED,
1443 void *event_info EINA_UNUSED)
1444{
1445 const char *selection;
1446 const char *pdir;
1447 Evas_Object *li;
1448
1449 li = data;
1450 selection = elm_object_item_data_get(elm_list_selected_item_get(li));
1451 if (!selection) return;
1452
1453 elm_config_all_flush();
1454
1455 pdir = elm_config_profile_dir_get(selection, EINA_TRUE);
1456 if (!pdir)
1457 return;
1458
1459 ecore_file_recursive_rm(pdir);
1460 elm_config_profile_dir_free(pdir);
1461
1462 elm_config_reload();
1463
1464 elm_config_all_flush();
1465 _config_display_update(elm_object_top_widget_get(li));
1466}
1467
1468static void
1469_theme_use(void *data EINA_UNUSED,
1470 Evas_Object *obj EINA_UNUSED,
1471 void *event_info EINA_UNUSED)
1472{
1473 const char *defth;
1474 Elm_Theme *th;
1475 Evas_Object *win = elm_object_top_widget_get(obj);
1476 Evas_Object *sample = evas_object_data_get(win, "theme_preview");
1477
1478 th = elm_object_theme_get(sample);
1479 defth = elm_theme_get(th);
1480 elm_theme_set(NULL, defth);
1481 elm_config_all_flush();
1482}
1483
1484static void
1485_theme_sel(void *data EINA_UNUSED,
1486 Evas_Object *obj,
1487 void *event_info EINA_UNUSED)
1488{
1489 Evas_Object *win = elm_object_top_widget_get(obj);
1490 Evas_Object *sample = evas_object_data_get(win, "theme_preview");
1491 Elm_Theme *th;
1492 Elm_Object_Item *list_it;
1493 Eina_Strbuf *newth;
1494 Eina_List *l;
1495
1496 if (!sample) return;
1497 tsel = elm_list_selected_items_get(obj);
1498 newth = eina_strbuf_new();
1499 EINA_SAFETY_ON_NULL_RETURN(newth);
1500 th = elm_theme_new();
1501 if (!th)
1502 {
1503 eina_strbuf_free(newth);
1504 return;
1505 }
1506 EINA_LIST_REVERSE_FOREACH((Eina_List*)tsel, l, list_it)
1507 {
1508 Theme *t = elm_object_item_data_get(list_it);
1509 if (!t) continue;
1510
1511 eina_strbuf_append_printf(newth, "%s:", t->name);
1512 if ((!l->prev) && strcmp(t->name, "default"))
1513 /* ensure default theme is always there for fallback */
1514 eina_strbuf_append(newth, "default");
1515 }
1516 elm_theme_set(th, eina_strbuf_string_get(newth));
1517 eina_strbuf_free(newth);
1518 elm_object_theme_set(sample, th);
1519 elm_theme_free(th);
1520}
1521
1522/*static void
1523 _theme_browse(void *data, Evas_Object *obj, void *event_info)
1524 {
1525 printf("not implemented\n");
1526 }*/
1527
1528static void
1529_status_config_sizing(Evas_Object *win,
1530 Evas_Object *naviframe)
1531{
1532 Evas_Object *lb, *pd, *bx, *sl, *sp;
1533
1534 bx = elm_box_add(win);
1535 evas_object_size_hint_weight_set(bx, EVAS_HINT_EXPAND, 0.0);
1536 evas_object_size_hint_align_set(bx, EVAS_HINT_FILL, 0.5);
1537
1538 LABEL_FRAME_ADD("<hilight>Scale</>");
1539
1540 sl = elm_slider_add(win);
1541 evas_object_data_set(win, "scale_slider", sl);
1542 evas_object_size_hint_weight_set(sl, EVAS_HINT_EXPAND, 0.0);
1543 evas_object_size_hint_align_set(sl, EVAS_HINT_FILL, 0.5);
1544 elm_slider_span_size_set(sl, 120);
1545 elm_slider_unit_format_set(sl, "%1.2f");
1546 elm_slider_indicator_format_set(sl, "%1.2f");
1547 elm_slider_min_max_set(sl, 0.25, 5.0);
1548 elm_slider_value_set(sl, elm_config_scale_get());
1549 elm_box_pack_end(bx, sl);
1550 evas_object_show(sl);
1551
1552 evas_object_smart_callback_add(sl, "changed", sc_round, NULL);
1553 evas_object_smart_callback_add(sl, "delay,changed", sc_change, NULL);
1554
1555 sp = elm_separator_add(win);
1556 elm_separator_horizontal_set(sp, EINA_TRUE);
1557 evas_object_size_hint_weight_set(sp, EVAS_HINT_EXPAND, 0.0);
1558 evas_object_size_hint_align_set(sp, EVAS_HINT_FILL, 0.5);
1559 elm_box_pack_end(bx, sp);
1560 evas_object_show(sp);
1561
1562 LABEL_FRAME_ADD("<hilight>Finger Size</><br/>");
1563
1564 sl = elm_slider_add(win);
1565 evas_object_data_set(win, "fs_slider", sl);
1566 evas_object_size_hint_weight_set(sl, EVAS_HINT_EXPAND, 0.0);
1567 evas_object_size_hint_align_set(sl, EVAS_HINT_FILL, 0.5);
1568 elm_slider_span_size_set(sl, 120);
1569 elm_slider_unit_format_set(sl, "%1.0f");
1570 elm_slider_indicator_format_set(sl, "%1.0f");
1571 elm_slider_min_max_set(sl, 5, 200);
1572 elm_slider_value_set(sl, elm_config_finger_size_get());
1573 elm_box_pack_end(bx, sl);
1574 evas_object_show(sl);
1575
1576 evas_object_smart_callback_add(sl, "changed", fs_round, NULL);
1577 evas_object_smart_callback_add(sl, "delay,changed", fs_change, NULL);
1578
1579 evas_object_data_set(win, "sizing", bx);
1580
1581 elm_naviframe_item_simple_push(naviframe, bx);
1582}
1583
1584#define MUTE_CB(_cb, _chan) \
1585static void \
1586_cb(void *data EINA_UNUSED, \
1587 Evas_Object *obj, \
1588 void *event_info EINA_UNUSED) \
1589{ \
1590 Eina_Bool val = elm_check_state_get(obj); \
1591 Eina_Bool v = elm_config_audio_mute_get(_chan); \
1592 if (val == v) return; \
1593 elm_config_audio_mute_set(_chan, val); \
1594 elm_config_all_flush(); \
1595}
1596
1597MUTE_CB(mute_effect_change, EDJE_CHANNEL_EFFECT)
1598MUTE_CB(mute_background_change, EDJE_CHANNEL_BACKGROUND)
1599MUTE_CB(mute_music_change, EDJE_CHANNEL_MUSIC)
1600MUTE_CB(mute_foreground_change, EDJE_CHANNEL_FOREGROUND)
1601MUTE_CB(mute_interface_change, EDJE_CHANNEL_INTERFACE)
1602MUTE_CB(mute_input_change, EDJE_CHANNEL_INPUT)
1603MUTE_CB(mute_alert_change, EDJE_CHANNEL_ALERT)
1604MUTE_CB(mute_all_change, EDJE_CHANNEL_ALL)
1605
1606static void
1607_status_config_audio(Evas_Object *win,
1608 Evas_Object *naviframe)
1609{
1610 Evas_Object *bx, *ck;
1611
1612 bx = elm_box_add(win);
1613 evas_object_size_hint_weight_set(bx, EVAS_HINT_EXPAND, 0.0);
1614 evas_object_size_hint_align_set(bx, EVAS_HINT_FILL, 0.5);
1615
1616#define MUTE_CHECK(_label, _chan, _cb) \
1617 CHECK_ADD(_label, _label, _cb, NULL) \
1618 elm_check_state_set(ck, elm_config_audio_mute_get(_chan));
1619
1620 MUTE_CHECK("Mute Effects", EDJE_CHANNEL_EFFECT, mute_effect_change);
1621 MUTE_CHECK("Mute Background", EDJE_CHANNEL_BACKGROUND, mute_background_change);
1622 MUTE_CHECK("Mute Music", EDJE_CHANNEL_MUSIC, mute_music_change);
1623 MUTE_CHECK("Mute Foreground", EDJE_CHANNEL_FOREGROUND, mute_foreground_change);
1624 MUTE_CHECK("Mute Interface", EDJE_CHANNEL_INTERFACE, mute_interface_change);
1625 MUTE_CHECK("Mute Input", EDJE_CHANNEL_INPUT, mute_input_change);
1626 MUTE_CHECK("Mute Alert", EDJE_CHANNEL_ALERT, mute_alert_change);
1627 MUTE_CHECK("Mute Everything", EDJE_CHANNEL_ALL, mute_all_change);
1628
1629 evas_object_data_set(win, "audio", bx);
1630
1631 elm_naviframe_item_simple_push(naviframe, bx);
1632}
1633
1634static void
1635_config_focus_highlight_enabled_cb(void *data EINA_UNUSED, Evas_Object *obj,
1636 void *event_info EINA_UNUSED)
1637{
1638 Eina_Bool cf = elm_config_focus_highlight_enabled_get();
1639 Eina_Bool val = elm_check_state_get(obj);
1640
1641 printf("%d %d\n", cf, val);
1642 if (cf == val) return;
1643 elm_config_focus_highlight_enabled_set(val);
1644 elm_config_all_flush();
1645}
1646
1647static void
1648_config_focus_highlight_anim_cb(void *data EINA_UNUSED, Evas_Object *obj,
1649 void *event_info EINA_UNUSED)
1650{
1651 Eina_Bool cf = elm_config_focus_highlight_animate_get();
1652 Eina_Bool val = elm_check_state_get(obj);
1653
1654 if (cf == val) return;
1655 elm_config_focus_highlight_animate_set(val);
1656 elm_config_all_flush();
1657}
1658
1659static void
1660_config_focus_highlight_clip_cb(void *data EINA_UNUSED, Evas_Object *obj,
1661 void *event_info EINA_UNUSED)
1662{
1663 Eina_Bool cf = elm_config_focus_highlight_clip_disabled_get();
1664 Eina_Bool val = elm_check_state_get(obj);
1665
1666 if (cf == val) return;
1667 elm_config_focus_highlight_clip_disabled_set(val);
1668 elm_config_all_flush();
1669}
1670
1671static void
1672_config_focus_item_select_on_focus_cb(void *data EINA_UNUSED, Evas_Object *obj,
1673 void *event_info EINA_UNUSED)
1674{
1675 Eina_Bool cf = elm_config_item_select_on_focus_disabled_get();
1676 Eina_Bool val = elm_check_state_get(obj);
1677
1678 if (cf == val) return;
1679 elm_config_item_select_on_focus_disabled_set(val);
1680 elm_config_all_flush();
1681}
1682
1683static void
1684_status_config_focus_autoscroll_changed_cb(void *data EINA_UNUSED,
1685 Evas_Object *obj,
1686 void *event_info EINA_UNUSED)
1687{
1688 elm_config_focus_autoscroll_mode_set(elm_radio_value_get(obj));
1689}
1690
1691static void
1692_config_focus_auto_show_cb(void *data EINA_UNUSED, Evas_Object *obj,
1693 void *event_info EINA_UNUSED)
1694{
1695 Eina_Bool cf = elm_config_window_auto_focus_enable_get();
1696 Eina_Bool val = elm_check_state_get(obj);
1697
1698 if (cf == val) return;
1699 elm_config_window_auto_focus_enable_set(val);
1700 elm_config_all_flush();
1701}
1702
1703static void
1704_config_focus_auto_animate_cb(void *data EINA_UNUSED, Evas_Object *obj,
1705 void *event_info EINA_UNUSED)
1706{
1707 Eina_Bool cf = elm_config_window_auto_focus_animate_get();
1708 Eina_Bool val = elm_check_state_get(obj);
1709
1710 if (cf == val) return;
1711 elm_config_window_auto_focus_animate_set(val);
1712 elm_config_all_flush();
1713}
1714
1715static void
1716_status_config_focus(Evas_Object *win,
1717 Evas_Object *naviframe)
1718{
1719 Evas_Object *bx, *ck, *fr;
1720
1721 bx = elm_box_add(win);
1722
1723 CHECK_ADD("Enable Focus Highlight (only new window)",
1724 "Set whether enable/disable focus highlight.<br/>"
1725 "This feature is disabled by default.",
1726 _config_focus_highlight_enabled_cb, NULL);
1727 elm_check_state_set(ck, elm_config_focus_highlight_enabled_get());
1728
1729 CHECK_ADD("Enable Focus Highlight Animation (only new window)",
1730 "Set whether enable/disable focus highlight animation.<br/>"
1731 "This feature is disabled by default",
1732 _config_focus_highlight_anim_cb, NULL);
1733 elm_check_state_set(ck, elm_config_focus_highlight_animate_get());
1734
1735 CHECK_ADD("Disable Focus Highlight clip",
1736 "Set whether enable/disable focus highlight clip feature.<br/>"
1737 "If the focus highlight clip is disabled,<br/>"
1738 "focus highlight object would not be clipped"
1739 "by the target object's parent",
1740 _config_focus_highlight_clip_cb, NULL);
1741 elm_check_state_set(ck, elm_config_focus_highlight_clip_disabled_get());
1742
1743 CHECK_ADD("Disable Item Select on Focus",
1744 "Set whether item would be selected on item focus.<br/>"
1745 "This is enabled by default.",
1746 _config_focus_item_select_on_focus_cb, NULL);
1747 elm_check_state_set(ck, elm_config_item_select_on_focus_disabled_get());
1748
1749 CHECK_ADD("Enable Automatic focus display",
1750 "Set whether enable/disable focus highlight automatically.",
1751 _config_focus_auto_show_cb, NULL);
1752 elm_check_state_set(ck, elm_config_window_auto_focus_enable_get());
1753 CHECK_ADD("Enable Automatic focus animation",
1754 "Set whether enable/disable focus highlight animation<br/>"
1755 "automatically when automatic focus shows.",
1756 _config_focus_auto_animate_cb, NULL);
1757 elm_check_state_set(ck, elm_config_window_auto_focus_enable_get());
1758
1759 fr = elm_frame_add(bx);
1760 elm_object_text_set(fr, "Focus Autoscroll Mode");
1761 evas_object_size_hint_weight_set(fr, EVAS_HINT_EXPAND, 0.0);
1762 evas_object_size_hint_align_set(fr, EVAS_HINT_FILL, 0.5);
1763 elm_box_pack_end(bx, fr);
1764 evas_object_show(fr);
1765 {
1766 Evas_Object *bx2, *rdg, *rd;
1767 bx2 = elm_box_add(fr);
1768 elm_object_content_set(fr, bx2);
1769 evas_object_show(bx2);
1770
1771 rdg = rd = elm_radio_add(bx2);
1772 elm_radio_state_value_set(rd, ELM_FOCUS_AUTOSCROLL_MODE_SHOW);
1773 elm_object_text_set(rd, "ELM_FOCUS_AUTOSCROLL_MODE_SHOW");
1774 elm_object_tooltip_text_set(rd, "Directly show the focused region<br/>"
1775 "or item automatically inside a scroller.");
1776 evas_object_size_hint_weight_set(rd, EVAS_HINT_EXPAND, 0.0);
1777 evas_object_size_hint_align_set(rd, 0.0, EVAS_HINT_FILL);
1778 elm_box_pack_end(bx2, rd);
1779 evas_object_show(rd);
1780 evas_object_smart_callback_add(rd, "changed",
1781 _status_config_focus_autoscroll_changed_cb,
1782 NULL);
1783
1784 rd = elm_radio_add(bx2);
1785 elm_radio_state_value_set(rd, ELM_FOCUS_AUTOSCROLL_MODE_NONE);
1786 elm_object_text_set(rd, "ELM_FOCUS_AUTOSCROLL_MODE_NONE");
1787 elm_object_tooltip_text_set(rd, "Do not show the focused region or<br/>"
1788 "item automatically inside a scroller.");
1789 evas_object_size_hint_weight_set(rd, EVAS_HINT_EXPAND, 0.0);
1790 evas_object_size_hint_align_set(rd, 0.0, EVAS_HINT_FILL);
1791 elm_box_pack_end(bx2, rd);
1792 elm_radio_group_add(rd, rdg);
1793 evas_object_show(rd);
1794 evas_object_smart_callback_add(rd, "changed",
1795 _status_config_focus_autoscroll_changed_cb,
1796 NULL);
1797
1798
1799 rd = elm_radio_add(bx2);
1800 elm_radio_state_value_set(rd, ELM_FOCUS_AUTOSCROLL_MODE_BRING_IN);
1801 elm_object_text_set(rd, "ELM_FOCUS_AUTOSCROLL_MODE_BRING_IN");
1802 elm_object_tooltip_text_set(rd, "Bring in the focused region or item<br/>"
1803 "automatically which might invole the scrolling.");
1804 evas_object_size_hint_weight_set(rd, EVAS_HINT_EXPAND, 0.0);
1805 evas_object_size_hint_align_set(rd, 0.0, EVAS_HINT_FILL);
1806 elm_box_pack_end(bx2, rd);
1807 elm_radio_group_add(rd, rdg);
1808 evas_object_show(rd);
1809 evas_object_smart_callback_add(rd, "changed",
1810 _status_config_focus_autoscroll_changed_cb,
1811 NULL);
1812
1813 elm_radio_value_set(rdg, elm_config_focus_autoscroll_mode_get());
1814 }
1815
1816 evas_object_data_set(win, "focus", bx);
1817
1818 elm_naviframe_item_simple_push(naviframe, bx);
1819}
1820
1821static void
1822_status_config_etc(Evas_Object *win,
1823 Evas_Object *naviframe)
1824{
1825 Evas_Object *bx, *ck, *sl, *fr, *bx2, *fr2, *bx3, *en;
1826
1827 bx = elm_box_add(win);
1828 evas_object_size_hint_weight_set(bx, EVAS_HINT_EXPAND, 0.0);
1829 evas_object_size_hint_align_set(bx, EVAS_HINT_FILL, 0.5);
1830
1831 // access
1832 CHECK_ADD("Enable Access Mode", "Set access mode", ac_change, NULL);
1833 elm_check_state_set(ck, elm_config_access_get());
1834
1835 // selection
1836 CHECK_ADD("Enable clear selection when unfocus", "Set selection mode",
1837 sel_change, NULL);
1838 elm_check_state_set(ck, elm_config_selection_unfocused_clear_get());
1839
1840 // clouseau
1841 CHECK_ADD("Enable clouseau", "Set clouseau mode", dbg_change, NULL);
1842 elm_check_state_set(ck, elm_config_clouseau_enabled_get());
1843
1844 // atspi
1845 CHECK_ADD("Enable ATSPI support", "Set atspi mode", atspi_change, NULL);
1846 elm_check_state_set(ck, elm_config_atspi_mode_get());
1847
1848 // transition duration in edje
1849 fr = elm_frame_add(bx);
1850 elm_object_text_set(fr, "Edje Transition Duration Factor");
1851 evas_object_size_hint_weight_set(fr, EVAS_HINT_EXPAND, 0.0);
1852 evas_object_size_hint_align_set(fr, EVAS_HINT_FILL, 0.5);
1853 elm_box_pack_end(bx, fr);
1854 evas_object_show(fr);
1855
1856 bx2 = elm_box_add(fr);
1857 elm_object_content_set(fr, bx2);
1858 evas_object_show(bx2);
1859
1860 sl = elm_slider_add(bx2);
1861 evas_object_size_hint_weight_set(sl, EVAS_HINT_EXPAND, 0.0);
1862 evas_object_size_hint_align_set(sl, EVAS_HINT_FILL, 0.5);
1863 elm_slider_span_size_set(sl, 120);
1864 elm_slider_unit_format_set(sl, "%1.1f");
1865 elm_slider_indicator_format_set(sl, "%1.1f");
1866 elm_slider_min_max_set(sl, 0, 20.0);
1867 elm_slider_value_set(sl, elm_config_transition_duration_factor_get());
1868 elm_box_pack_end(bx2, sl);
1869 evas_object_show(sl);
1870 evas_object_smart_callback_add(sl, "changed", sc_round, NULL);
1871 evas_object_smart_callback_add(sl, "delay,changed", transition_duration_change, NULL);
1872
1873 // Web backend
1874 fr2 = elm_frame_add(bx);
1875 elm_object_text_set(fr2, "Elm_Web backend");
1876 evas_object_size_hint_weight_set(fr2, EVAS_HINT_EXPAND, 0.0);
1877 evas_object_size_hint_align_set(fr2, EVAS_HINT_FILL, 0.5);
1878 elm_box_pack_end(bx, fr2);
1879 evas_object_show(fr2);
1880
1881 bx3 = elm_box_add(fr2);
1882 elm_object_content_set(fr2, bx3);
1883 evas_object_show(bx3);
1884
1885 en = elm_entry_add(win);
1886 elm_entry_editable_set(en, EINA_TRUE);
1887 elm_entry_scrollable_set(en, EINA_FALSE);
1888 elm_object_text_set(en, elm_config_web_backend_get());
1889 evas_object_size_hint_weight_set(en, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
1890 evas_object_size_hint_align_set(en, EVAS_HINT_FILL, EVAS_HINT_FILL);
1891 evas_object_show(en);
1892 elm_box_pack_end(bx3, en);
1893