summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorIván Briano <sachieru@gmail.com>2011-07-29 19:58:07 +0000
committerIván Briano <sachieru@gmail.com>2011-07-29 19:58:07 +0000
commitf539bcee4fb4a2e5a741288dfa0fe3f3b8e16527 (patch)
tree1535ba4618af98a64bb0743125376cc31b593be7 /doc
parentefe41a7efe6e5a75bd8bc72b9141df0efb861f4d (diff)
Add preview for window
SVN revision: 61908
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile.am3
-rw-r--r--doc/index.doxy3
-rw-r--r--doc/widgets/Makefile.am4
-rw-r--r--doc/widgets/widget_preview_win.c8
4 files changed, 16 insertions, 2 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index ad90c2612..c3900792a 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -73,7 +73,8 @@ WGT_PREVIEW = \
73 inwin:preview-01.png:widget_preview_inwin2:200:160 \ 73 inwin:preview-01.png:widget_preview_inwin2:200:160 \
74 inwin:preview-02.png:widget_preview_inwin3:200:160 \ 74 inwin:preview-02.png:widget_preview_inwin3:200:160 \
75 scroller:preview-00.png:widget_preview_scroller:100:30 \ 75 scroller:preview-00.png:widget_preview_scroller:100:30 \
76 table::preview-00.png:widget_preview_table:100:100 76 table::preview-00.png:widget_preview_table:100:100 \
77 win:preview-00.png:widget_preview_win:200:200
77 78
78widget-build: 79widget-build:
79 @$(MAKE) -C widgets 80 @$(MAKE) -C widgets
diff --git a/doc/index.doxy b/doc/index.doxy
index cdb562a94..4717433e6 100644
--- a/doc/index.doxy
+++ b/doc/index.doxy
@@ -197,6 +197,9 @@
197 * @li @ref Widget 197 * @li @ref Widget
198 * @li @ref Win 198 * @li @ref Win
199 * 199 *
200 * @image html img/widget/win/preview-00.png
201 * @image latex img/widget/win/preview-00.eps
202 *
200 * Elementary is also about displaing its widgets in a nice layout, for this 203 * Elementary is also about displaing its widgets in a nice layout, for this
201 * purpose it provides a number of containers. It's important to note that as 204 * purpose it provides a number of containers. It's important to note that as
202 * containers these widgets don't have their own visual identity, so here we 205 * containers these widgets don't have their own visual identity, so here we
diff --git a/doc/widgets/Makefile.am b/doc/widgets/Makefile.am
index 3f999cb12..c95ae2750 100644
--- a/doc/widgets/Makefile.am
+++ b/doc/widgets/Makefile.am
@@ -89,7 +89,8 @@ widget_preview_inwin1 \
89widget_preview_inwin2 \ 89widget_preview_inwin2 \
90widget_preview_inwin3 \ 90widget_preview_inwin3 \
91widget_preview_scroller \ 91widget_preview_scroller \
92widget_preview_table 92widget_preview_table \
93widget_preview_win
93 94
94LDADD = $(top_builddir)/src/lib/libelementary.la @ELEMENTARY_EWEATHER_LIBS@ @ELEMENTARY_EDBUS_LIBS@ @ELEMENTARY_EFREET_LIBS@ @ELEMENTARY_EMAP_LIBS@ @ELEMENTARY_LIBS@ @EIO_LIBS@ @my_libs@ 95LDADD = $(top_builddir)/src/lib/libelementary.la @ELEMENTARY_EWEATHER_LIBS@ @ELEMENTARY_EDBUS_LIBS@ @ELEMENTARY_EFREET_LIBS@ @ELEMENTARY_EMAP_LIBS@ @ELEMENTARY_LIBS@ @EIO_LIBS@ @my_libs@
95 96
@@ -160,5 +161,6 @@ EXTRA_DIST = \
160 widget_preview_inwin3.c \ 161 widget_preview_inwin3.c \
161 widget_preview_scroller.c \ 162 widget_preview_scroller.c \
162 widget_preview_table.c \ 163 widget_preview_table.c \
164 widget_preview_win.c \
163 widget_preview_tmpl_foot.c \ 165 widget_preview_tmpl_foot.c \
164 widget_preview_tmpl_head.c 166 widget_preview_tmpl_head.c
diff --git a/doc/widgets/widget_preview_win.c b/doc/widgets/widget_preview_win.c
new file mode 100644
index 000000000..ae10c2b9b
--- /dev/null
+++ b/doc/widgets/widget_preview_win.c
@@ -0,0 +1,8 @@
1#include "widget_preview_tmpl_head.c"
2
3Evas_Object *o = elm_label_add(win);
4elm_object_text_set(o, "Here be window contents");
5elm_win_resize_object_add(win, o);
6evas_object_show(o);
7
8#include "widget_preview_tmpl_foot.c"