widget_preview_fileselector_button2 \
widget_preview_fileselector_button3 \
widget_preview_colorselector \
+widget_preview_layout \
widget_preview_index
LDADD = $(top_builddir)/src/lib/libelementary.la @ELEMENTARY_EWEATHER_LIBS@ @ELEMENTARY_EDBUS_LIBS@ @ELEMENTARY_EFREET_LIBS@ @ELEMENTARY_LIBS@ @EIO_LIBS@ @my_libs@
bubble:preview-01.png:widget_preview_bubble2:160:50 \
bubble:preview-02.png:widget_preview_bubble3:160:50 \
colorselector:preview-00.png:widget_preview_colorselector:160:200 \
+ layout:preview-00.png:widget_preview_layout:200:160 \
index:preview-00.png:widget_preview_index:300:500
widget-preview:
* @image latex img/widget/index/preview-00.eps
* @li @ref Inwin
* @li @ref Label
+
+ * @image html img/widget/layout/preview-00.png
+ * @image latex img/widget/layout/preview-00.eps
* @li @ref Layout
* @li @ref List
* @li @ref Map
* @li @ref Video
* @li @ref Widget
* @li @ref Win
- */
\ No newline at end of file
+ */
--- /dev/null
+#include "widget_preview_tmpl_head.c"
+
+Evas_Object *layout = elm_layout_add(win);
+evas_object_size_hint_weight_set(layout, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
+elm_layout_theme_set(layout, "layout", "application", "toolbar-content-back-next");
+elm_win_resize_object_add(win, layout);
+evas_object_show(layout);
+
+Evas_Object *icon = elm_icon_add(win);
+elm_icon_standard_set(icon, "home");
+evas_object_size_hint_weight_set(icon, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
+evas_object_size_hint_align_set(icon, EVAS_HINT_FILL, EVAS_HINT_FILL);
+evas_object_size_hint_min_set(icon, 200, 140);
+evas_object_show(icon);
+
+elm_layout_content_set(layout, "elm.swallow.content", icon);
+elm_object_text_part_set(layout, "elm.text.title", "Layout");
+
+#include "widget_preview_tmpl_foot.c"
/**
* @defgroup Layout Layout
*
+ * @image html img/widget/layout/preview-00.png
+ * @image latex img/widget/layout/preview-00.eps width=\textwidth
+ *
* This is a container widget that takes a standard Edje design file and
* wraps it very thinly in a widget.
*