widget_preview_entry2 \
widget_preview_entry3 \
widget_preview_entry4
+widget_preview_diskselector \
+widget_preview_fileselector_entry \
+widget_preview_flipselector \
+widget_preview_hoversel \
+widget_preview_hover \
+widget_preview_anchorview \
+widget_preview_anchorblock \
+widget_preview_flip
LDADD = $(top_builddir)/src/lib/libelementary.la @ELEMENTARY_EWEATHER_LIBS@ @ELEMENTARY_EDBUS_LIBS@ @ELEMENTARY_EFREET_LIBS@ @ELEMENTARY_LIBS@ @EIO_LIBS@ @my_libs@
# dir:file name:executable:width:height
WGT_PREVIEW = \
+ flip:preview-00.png:widget_preview_flip:100:100 \
button:preview-00.png:widget_preview_button1:160:50 \
button:preview-01.png:widget_preview_button2:160:50 \
button:preview-02.png:widget_preview_button3:160:50 \
entry:preview-01.png:widget_preview_entry2:160:50 \
entry:preview-02.png:widget_preview_entry3:160:50 \
entry:preview-03.png:widget_preview_entry4:160:50
+ diskselector:preview-00.png:widget_preview_diskselector:120:50 \
+ fileselector_entry:preview-00.png:widget_preview_fileselector_entry:70:50 \
+ flipselector:preview-00.png:widget_preview_flipselector:100:60 \
+ hoversel:preview-00.png:widget_preview_hoversel:90:170 \
+ hover:preview-00.png:widget_preview_hover:90:170 \
+ anchorview:preview-00.png:widget_preview_anchorview:100:30 \
+ anchorblock:preview-00.png:widget_preview_anchorblock:100:30
widget-preview:
@for ss in $(WGT_PREVIEW); do \
* @image html img/widget/actionslider/preview-00.png
* @image latex img/widget/actionslider/preview-00.eps
* @li @ref Anchorview
+ *
+ * @image html img/widget/anchorview/preview-00.png
+ * @image latex img/widget/anchorview/preview-00.eps
* @li @ref Anchorblock
+ *
+ * @image html img/widget/anchorblock/preview-00.png
+ * @image latex img/widget/anchorblock/preview-00.eps
* @li @ref Bg
*
* @image html img/widget/bg/preview-00.png
* @image latex img/widget/ctxpopup/preview-00.eps
* @li @ref Diskselector
*
+ * @image html img/widget/diskselector/preview-00.png
+ * @image latex img/widget/diskselector/preview-00.eps
+ * @li @ref Entry
+ *
* @image html img/widget/entry/preview-02.png
* @image latex img/widget/entry/preview-02.eps
- * @li @ref Entry
* @li @ref File_Selector_Button
*
* @image html img/widget/fileselector_button/preview-00.png
* @image latex img/widget/fileselector_button/preview-00.eps
* @li @ref File_Selector_Entry
+ *
+ * @image html img/widget/fileselector_entry/preview-00.png
+ * @image latex img/widget/fileselector_entry/preview-00.eps
* @li @ref Fileselector
*
* @image html img/widget/fileselector/preview-00.png
* @image latex img/widget/fileselector/preview-00.eps
* @li @ref Flip
+ *
+ * @image html img/widget/flip/preview-00.png
+ * @image latex img/widget/flip/preview-00.eps
* @li @ref Flipselector
+ *
+ * @image html img/widget/flipselector/preview-00.png
+ * @image latex img/widget/flipselector/preview-00.eps
* @li @ref Frame
*
* @image html img/widget/frame/preview-00.png
* @li @ref GLView
* @li @ref Grid
* @li @ref Hover
+ *
+ * @image html img/widget/hover/preview-00.png
+ * @image latex img/widget/hover/preview-00.eps
* @li @ref Hoversel
+ *
+ * @image html img/widget/hoversel/preview-00.png
+ * @image latex img/widget/hoversel/preview-00.eps
* @li @ref Icon
*
* @image html img/widget/icon/preview-00.png
--- /dev/null
+#include "widget_preview_tmpl_head.c"
+
+Evas_Object *o = elm_anchorblock_add(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, "Anchorblock <b>bold</> and lots and lots and lots and "
+ "lots and lots and lots and lots and lots of text");
+
+#include "widget_preview_tmpl_foot.c"
--- /dev/null
+#include "widget_preview_tmpl_head.c"
+
+Evas_Object *o = elm_anchorview_add(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, "Anchorview <b>bold</> and lots and lots and lots and "
+ "lots and lots and lots and lots and lots of text");
+
+#include "widget_preview_tmpl_foot.c"
--- /dev/null
+#include "widget_preview_tmpl_head.c"
+
+Evas_Object *bx = elm_box_add(win);
+evas_object_size_hint_weight_set(bx, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
+evas_object_size_hint_align_set(bx, EVAS_HINT_FILL, EVAS_HINT_FILL);
+elm_win_resize_object_add(win, bx);
+evas_object_show(bx);
+
+Evas_Object *ds = elm_diskselector_add(win);
+evas_object_size_hint_weight_set(ds, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
+evas_object_size_hint_align_set(ds, EVAS_HINT_FILL, EVAS_HINT_FILL);
+elm_box_pack_end(bx, ds);
+elm_diskselector_item_append(ds, "item", NULL, NULL, NULL);
+elm_diskselector_item_append(ds, "item2", NULL, NULL, NULL);
+evas_object_show(ds);
+
+#include "widget_preview_tmpl_foot.c"
--- /dev/null
+#include "widget_preview_tmpl_head.c"
+
+Evas_Object *o = elm_fileselector_entry_add(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, "FS entry");
+
+#include "widget_preview_tmpl_foot.c"
--- /dev/null
+unsigned char _func(void *data);
+
+#include "widget_preview_tmpl_head.c"
+
+Evas_Object *o = elm_flip_add(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);
+
+Evas_Object *ic = elm_icon_add(win);
+elm_icon_standard_set(ic, "home");
+evas_object_show(ic);
+elm_flip_content_front_set(o, ic);
+ic = elm_icon_add(win);
+elm_icon_standard_set(ic, "file");
+evas_object_show(ic);
+elm_flip_content_back_set(o, ic);
+
+ecore_timer_add(0.35, _func, o);
+
+#include "widget_preview_tmpl_foot.c"
+
+unsigned char _func(void *data)
+{
+ elm_flip_go(data, ELM_FLIP_CUBE_RIGHT);
+ return 0;
+}
\ No newline at end of file
--- /dev/null
+#include "widget_preview_tmpl_head.c"
+
+Evas_Object *o = elm_flipselector_add(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_flipselector_item_append(o, "Item", NULL, NULL);
+elm_flipselector_item_append(o, "Item 2", NULL, NULL);
+
+#include "widget_preview_tmpl_foot.c"
--- /dev/null
+#include "widget_preview_tmpl_head.c"
+
+Evas_Object *o = elm_hover_add(win);
+evas_object_move(o, w/2, h/2);
+
+Evas_Object *lbl = elm_label_add(win);
+evas_object_size_hint_weight_set(lbl, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
+elm_object_text_set(lbl, "hover");
+elm_hover_content_set(o, "middle", lbl);
+
+
+evas_object_show(o);
+
+#include "widget_preview_tmpl_foot.c"
--- /dev/null
+unsigned char _func(void *data);
+
+#include "widget_preview_tmpl_head.c"
+
+Evas_Object *o = elm_hoversel_add(win);
+evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
+evas_object_resize(o, 90, 30);
+evas_object_show(o);
+
+elm_object_text_set(o, "Hover selector");
+elm_hoversel_item_add(o, "first", NULL, 0, NULL, NULL);
+elm_hoversel_item_add(o, "second", NULL, 0, NULL, NULL);
+elm_hoversel_item_add(o, "third", NULL, 0, NULL, NULL);
+
+ecore_timer_add(0, _func, o);
+
+#include "widget_preview_tmpl_foot.c"
+
+unsigned char _func(void *data)
+{
+ elm_hoversel_hover_begin(data);
+ return 0;
+}
\ No newline at end of file
/**
* @defgroup File_Selector_Entry File Selector Entry
*
+ * @image html img/widget/fileselector_entry/preview-00.png
+ * @image latex img/widget/fileselector_entry/preview-00.eps
+ *
* This is an entry made to be filled with or display a <b>file
* system path string</b>. Besides the entry itself, the widget has
* a @ref File_Selector_Button "file selector button" on its side,
/**
* @defgroup Hover Hover
*
+ * @image html img/widget/hover/preview-00.png
+ * @image latex img/widget/hover/preview-00.eps
+ *
* A Hover object will hover over its @p parent object at the @p target
* location. Anything in the background will be given a darker coloring to
* indicate that the hover object is on top (at the default theme). When the
/**
* @defgroup Anchorview Anchorview
*
+ * @image html img/widget/anchorview/preview-00.png
+ * @image latex img/widget/anchorview/preview-00.eps
+ *
* Anchorview is for displaying text that contains markup with anchors
* like <c>\<a href=1234\>something\</\></c> in it.
*
/**
* @defgroup Anchorblock Anchorblock
*
+ * @image html img/widget/anchorblock/preview-00.png
+ * @image latex img/widget/anchorblock/preview-00.eps
+ *
* Anchorblock is for displaying text that contains markup with anchors
* like <c>\<a href=1234\>something\</\></c> in it.
*
/**
* @defgroup Hoversel
*
+ * @image html img/widget/hoversel/preview-00.png
+ * @image latex img/widget/hoversel/preview-00.eps
+ *
* A hoversel is a button that pops up a list of items (automatically
* choosing the direction to display) that have a label and, optionally, an
* icon to select from. It is a convenience widget to avoid the need to do
/**
* @defgroup Flip Flip
*
+ * @image html img/widget/flip/preview-00.png
+ * @image latex img/widget/flip/preview-00.eps
+ *
* This widget holds 2 content objects(Evas_Object): one on the front and one
* on the back. It allows you to flip from front to back and vice-versa using
* various animations.
/**
* @defgroup Flipselector Flip Selector
*
+ * @image html img/widget/flipselector/preview-00.png
+ * @image latex img/widget/flipselector/preview-00.eps
+ *
* A flip selector is a widget to show a set of @b text items, one
* at a time, with the same sheet switching style as the @ref Clock
* "clock" widget, when one changes the current displaying sheet
* @defgroup Diskselector Diskselector
* @ingroup Elementary
*
+ * @image html img/widget/diskselector/preview-00.png
+ * @image latex img/widget/diskselector/preview-00.eps
+ *
* A diskselector is a kind of list widget. It scrolls horizontally,
* and can contain label and icon objects. Three items are displayed
* with the selected one in the middle.