doc: add elm nstate preview
authorAmitesh Singh <amitesh.sh@samsung.com>
Fri, 8 Apr 2016 03:39:59 +0000 (09:09 +0530)
committerAmitesh Singh <amitesh.sh@samsung.com>
Fri, 8 Apr 2016 03:50:24 +0000 (09:20 +0530)
doc/widgets/Makefile.am
doc/widgets/widget_preview_nstate.c [new file with mode: 0644]

index 5002c8a..c056084 100644 (file)
@@ -176,6 +176,7 @@ EXTRA_DIST = \
        widget_preview_progressbar.c \
        widget_preview_box.c \
        widget_preview_notify.c \
+       widget_preview_nstate.c \
        widget_preview_slideshow.c \
        widget_preview_photocam.c \
        widget_preview_inwin1.c \
diff --git a/doc/widgets/widget_preview_nstate.c b/doc/widgets/widget_preview_nstate.c
new file mode 100644 (file)
index 0000000..b53e998
--- /dev/null
@@ -0,0 +1,10 @@
+#include "widget_preview_tmpl_head.c"
+
+Evas_Object *o = eo_add(ELM_NSTATE_CLASS, win);
+evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
+elm_win_resize_object_add(win, o);
+evas_object_show(o);
+
+elm_object_text_set(o, "Nstate");
+
+#include "widget_preview_tmpl_foot.c"