summaryrefslogtreecommitdiff
path: root/src/bin/elementary/test_win_indicator.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/elementary/test_win_indicator.c')
-rw-r--r--src/bin/elementary/test_win_indicator.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/bin/elementary/test_win_indicator.c b/src/bin/elementary/test_win_indicator.c
index 1b72b0d..0ebb30b 100644
--- a/src/bin/elementary/test_win_indicator.c
+++ b/src/bin/elementary/test_win_indicator.c
@@ -1,6 +1,7 @@
1#ifdef HAVE_CONFIG_H 1#ifdef HAVE_CONFIG_H
2# include "elementary_config.h" 2# include "elementary_config.h"
3#endif 3#endif
4#include <Efl_Ui.h>
4#include <Elementary.h> 5#include <Elementary.h>
5 6
6static void 7static void
@@ -56,25 +57,25 @@ _create_indicator(void)
56static void 57static void
57_off_clicked(void *data, const Efl_Event *ev EINA_UNUSED) 58_off_clicked(void *data, const Efl_Event *ev EINA_UNUSED)
58{ 59{
59 efl_ui_win_indicator_mode_set(data, EFL_UI_WIN_INDICATOR_OFF); 60 efl_ui_win_indicator_mode_set(data, EFL_UI_WIN_INDICATOR_MODE_OFF);
60} 61}
61 62
62static void 63static void
63_opaque_clicked(void *data, const Efl_Event *ev EINA_UNUSED) 64_opaque_clicked(void *data, const Efl_Event *ev EINA_UNUSED)
64{ 65{
65 efl_ui_win_indicator_mode_set(data, EFL_UI_WIN_INDICATOR_BG_OPAQUE); 66 efl_ui_win_indicator_mode_set(data, EFL_UI_WIN_INDICATOR_MODE_BG_OPAQUE);
66} 67}
67 68
68static void 69static void
69_transparent_clicked(void *data, const Efl_Event *ev EINA_UNUSED) 70_transparent_clicked(void *data, const Efl_Event *ev EINA_UNUSED)
70{ 71{
71 efl_ui_win_indicator_mode_set(data, EFL_UI_WIN_INDICATOR_BG_TRANSPARENT); 72 efl_ui_win_indicator_mode_set(data, EFL_UI_WIN_INDICATOR_MODE_BG_TRANSPARENT);
72} 73}
73 74
74static void 75static void
75_hidden_clicked(void *data, const Efl_Event *ev EINA_UNUSED) 76_hidden_clicked(void *data, const Efl_Event *ev EINA_UNUSED)
76{ 77{
77 efl_ui_win_indicator_mode_set(data, EFL_UI_WIN_INDICATOR_HIDDEN); 78 efl_ui_win_indicator_mode_set(data, EFL_UI_WIN_INDICATOR_MODE_HIDDEN);
78} 79}
79 80
80static void 81static void
@@ -92,7 +93,7 @@ test_win_indicator(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *e
92 93
93 // FIXME: Resizing window should no cause sizing issues! 94 // FIXME: Resizing window should no cause sizing issues!
94 win = efl_add_ref(EFL_UI_WIN_CLASS, NULL, 95 win = efl_add_ref(EFL_UI_WIN_CLASS, NULL,
95 efl_ui_win_type_set(efl_added, EFL_UI_WIN_BASIC), 96 efl_ui_win_type_set(efl_added, EFL_UI_WIN_TYPE_BASIC),
96 efl_text_set(efl_added, "Efl.Win.Indicator"), 97 efl_text_set(efl_added, "Efl.Win.Indicator"),
97 efl_gfx_hint_size_max_set(efl_added, EINA_SIZE2D(300, -1)), 98 efl_gfx_hint_size_max_set(efl_added, EINA_SIZE2D(300, -1)),
98 efl_ui_win_autodel_set(efl_added, EINA_TRUE)); 99 efl_ui_win_autodel_set(efl_added, EINA_TRUE));