aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/elementary/src/bin/test_carousel.c
diff options
context:
space:
mode:
Diffstat (limited to 'legacy/elementary/src/bin/test_carousel.c')
-rw-r--r--legacy/elementary/src/bin/test_carousel.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/legacy/elementary/src/bin/test_carousel.c b/legacy/elementary/src/bin/test_carousel.c
new file mode 100644
index 0000000000..79144408ee
--- /dev/null
+++ b/legacy/elementary/src/bin/test_carousel.c
@@ -0,0 +1,20 @@
+#include <Elementary.h>
+
+void
+test_carousel(void *data, Evas_Object *obj, void *event_info)
+{
+ Evas_Object *win, *bg;
+ char buf[PATH_MAX];
+
+ win = elm_win_add(NULL, "carousel", ELM_WIN_BASIC);
+ elm_win_title_set(win, "Carousel");
+ elm_win_autodel_set(win, 1);
+
+ bg = elm_bg_add(win);
+ elm_win_resize_object_add(win, bg);
+ evas_object_size_hint_weight_set(bg, 1.0, 1.0);
+ evas_object_show(bg);
+
+ evas_object_resize(win, 320, 240);
+ evas_object_show(win);
+}