summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2013-04-09 14:28:03 +0900
committerDaniel Juyung Seo <seojuyung2@gmail.com>2013-04-09 14:28:03 +0900
commit560c6e847607d9f2a7d14ed9e044c7d86bb37954 (patch)
tree9a4a545db38b53e979da962bdf6a56224dadde42 /src/bin
parent86ae7552e8bd59c16f68499ea0c82f9ddea42288 (diff)
test hoversel/slider: use Eina_Bool for horizontal setter parameters.
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/test_hoversel.c2
-rw-r--r--src/bin/test_slider.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/test_hoversel.c b/src/bin/test_hoversel.c
index 007509247..7ee32b830 100644
--- a/src/bin/test_hoversel.c
+++ b/src/bin/test_hoversel.c
@@ -126,7 +126,7 @@ test_hoversel(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in
126 126
127 hoversel = elm_hoversel_add(win); 127 hoversel = elm_hoversel_add(win);
128// FIXME: need to add horizontal hoversel theme to default some day 128// FIXME: need to add horizontal hoversel theme to default some day
129// elm_hoversel_horizontal_set(bt, 1); 129// elm_hoversel_horizontal_set(bt, EINA_TRUE);
130 elm_hoversel_hover_parent_set(hoversel, win); 130 elm_hoversel_hover_parent_set(hoversel, win);
131 elm_object_text_set(hoversel, "Labels"); 131 elm_object_text_set(hoversel, "Labels");
132 elm_hoversel_item_add(hoversel, "Item 1", NULL, ELM_ICON_NONE, NULL, NULL); 132 elm_hoversel_item_add(hoversel, "Item 1", NULL, ELM_ICON_NONE, NULL, NULL);
diff --git a/src/bin/test_slider.c b/src/bin/test_slider.c
index 2eabe733d..bf2d0542d 100644
--- a/src/bin/test_slider.c
+++ b/src/bin/test_slider.c
@@ -177,7 +177,7 @@ test_slider(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info
177 elm_slider_indicator_format_set(sl, "%1.1f"); 177 elm_slider_indicator_format_set(sl, "%1.1f");
178 elm_slider_value_set(sl, 0.2); 178 elm_slider_value_set(sl, 0.2);
179 elm_object_scale_set(sl, 1.0); 179 elm_object_scale_set(sl, 1.0);
180 elm_slider_horizontal_set(sl, 0); 180 elm_slider_horizontal_set(sl, EINA_FALSE);
181 elm_box_pack_end(bx2, sl); 181 elm_box_pack_end(bx2, sl);
182 evas_object_show(ic); 182 evas_object_show(ic);
183 evas_object_show(sl); 183 evas_object_show(sl);
@@ -202,7 +202,7 @@ test_slider(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info
202 elm_slider_indicator_format_set(sl, "%1.1f"); 202 elm_slider_indicator_format_set(sl, "%1.1f");
203 elm_slider_value_set(sl, 0.2); 203 elm_slider_value_set(sl, 0.2);
204 elm_object_scale_set(sl, 1.0); 204 elm_object_scale_set(sl, 1.0);
205 elm_slider_horizontal_set(sl, 0); 205 elm_slider_horizontal_set(sl, EINA_FALSE);
206 elm_object_disabled_set(sl, EINA_TRUE); 206 elm_object_disabled_set(sl, EINA_TRUE);
207 elm_box_pack_end(bx2, sl); 207 elm_box_pack_end(bx2, sl);
208 evas_object_show(ic); 208 evas_object_show(ic);