Elementary: Adding clock, frame and label screenshots to
authorgastal <gastal@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 21 Jul 2011 14:08:57 +0000 (14:08 +0000)
committergastal <gastal@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 21 Jul 2011 14:08:57 +0000 (14:08 +0000)
 index.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@61563 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

doc/Makefile.am
doc/index.doxy
doc/widget_preview_clock.c [new file with mode: 0644]
doc/widget_preview_frame.c [new file with mode: 0644]
doc/widget_preview_label.c [new file with mode: 0644]
src/lib/Elementary.h.in

index 055bac0..6c92fd9 100644 (file)
@@ -43,7 +43,10 @@ widget_preview_fileselector_button2 \
 widget_preview_fileselector_button3 \
 widget_preview_colorselector \
 widget_preview_layout \
-widget_preview_index
+widget_preview_index \
+widget_preview_clock \
+widget_preview_label \
+widget_preview_frame
 
 LDADD = $(top_builddir)/src/lib/libelementary.la @ELEMENTARY_EWEATHER_LIBS@ @ELEMENTARY_EDBUS_LIBS@ @ELEMENTARY_EFREET_LIBS@ @ELEMENTARY_LIBS@ @EIO_LIBS@ @my_libs@
 
@@ -63,7 +66,10 @@ WGT_PREVIEW = \
        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
+       index:preview-00.png:widget_preview_index:300:500 \
+       frame:preview-00.png:widget_preview_frame:100:50 \
+       label:preview-00.png:widget_preview_label:70:30 \
+       clock:preview-00.png:widget_preview_clock:200:100
 
 widget-preview:
        @for ss in $(WGT_PREVIEW); do \
index d494608..b806169 100644 (file)
@@ -47,6 +47,9 @@
  * @image html img/widget/check/preview-00.png
  * @image latex img/widget/check/preview-00.eps
  * @li @ref Clock
+ *
+ * @image html img/widget/clock/preview-00.png
+ * @image latex img/widget/clock/preview-00.eps
  * @li @ref Conformant
  * @li @ref Colorselector
  *
@@ -64,6 +67,9 @@
  * @li @ref Flip
  * @li @ref Flipselector
  * @li @ref Frame
+ *
+ * @image html img/widget/frame/preview-00.png
+ * @image latex img/widget/frame/preview-00.eps
  * @li @ref Gengrid
  * @li @ref Genlist
  * @li @ref Genscroller
  * @image latex img/widget/index/preview-00.eps
  * @li @ref Inwin
  * @li @ref Label
-
+ *
+ * @image html img/widget/label/preview-00.png
+ * @image latex img/widget/label/preview-00.eps
  * @li @ref Layout
+ *
  * @image html img/widget/layout/preview-00.png
  * @image latex img/widget/layout/preview-00.eps
  * @image html img/layout-predefined.png
diff --git a/doc/widget_preview_clock.c b/doc/widget_preview_clock.c
new file mode 100644 (file)
index 0000000..9a6e7fb
--- /dev/null
@@ -0,0 +1,8 @@
+#include "widget_preview_tmpl_head.c"
+
+Evas_Object *o = elm_clock_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);
+
+#include "widget_preview_tmpl_foot.c"
diff --git a/doc/widget_preview_frame.c b/doc/widget_preview_frame.c
new file mode 100644 (file)
index 0000000..d41f13c
--- /dev/null
@@ -0,0 +1,17 @@
+#include "widget_preview_tmpl_head.c"
+
+Evas_Object *o = elm_frame_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, "Frame");
+
+Evas_Object *o2 = elm_label_add(win);
+evas_object_size_hint_weight_set(o2, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
+evas_object_show(o2);
+elm_object_text_set(o2, "Frame content");
+
+elm_frame_content_set(o, o2);
+
+#include "widget_preview_tmpl_foot.c"
diff --git a/doc/widget_preview_label.c b/doc/widget_preview_label.c
new file mode 100644 (file)
index 0000000..e7891d2
--- /dev/null
@@ -0,0 +1,10 @@
+#include "widget_preview_tmpl_head.c"
+
+Evas_Object *o = elm_label_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, "Label");
+
+#include "widget_preview_tmpl_foot.c"
index 5a532cf..3fc8060 100644 (file)
@@ -3904,6 +3904,9 @@ extern "C" {
    /**
     * @defgroup Label Label
     *
+    * @image html img/widget/label/preview-00.png
+    * @image latex img/widget/label/preview-00.eps
+    *
     * @brief Widget to display text, with simple html-like markup.
     *
     * The Label widget @b doesn't allow text to overflow its boundaries, if the
@@ -4192,6 +4195,9 @@ extern "C" {
    /**
     * @defgroup Frame Frame
     *
+    * @image html img/widget/frame/preview-00.png
+    * @image latex img/widget/frame/preview-00.eps
+    *
     * @brief Frame is a widget that holds some content and has a title.
     *
     * The default look is a frame with a title, but Frame supports multple
@@ -4393,6 +4399,9 @@ extern "C" {
    /**
     * @defgroup Clock Clock
     *
+    * @image html img/widget/clock/preview-00.png
+    * @image latex img/widget/clock/preview-00.eps
+    *
     * This is a @b digital clock widget. In its default theme, it has a
     * vintage "flipping numbers clock" appearance, which will animate
     * sheets of individual algarisms individually as time goes by.