Add preview for window

SVN revision: 61908
This commit is contained in:
Iván Briano 2011-07-29 19:58:07 +00:00
parent 6ecda508cc
commit 0962f528e1
5 changed files with 19 additions and 2 deletions

View File

@ -73,7 +73,8 @@ WGT_PREVIEW = \
inwin:preview-01.png:widget_preview_inwin2:200:160 \
inwin:preview-02.png:widget_preview_inwin3:200:160 \
scroller:preview-00.png:widget_preview_scroller:100:30 \
table::preview-00.png:widget_preview_table:100:100
table::preview-00.png:widget_preview_table:100:100 \
win:preview-00.png:widget_preview_win:200:200
widget-build:
@$(MAKE) -C widgets

View File

@ -197,6 +197,9 @@
* @li @ref Widget
* @li @ref Win
*
* @image html img/widget/win/preview-00.png
* @image latex img/widget/win/preview-00.eps
*
* Elementary is also about displaing its widgets in a nice layout, for this
* purpose it provides a number of containers. It's important to note that as
* containers these widgets don't have their own visual identity, so here we

View File

@ -89,7 +89,8 @@ widget_preview_inwin1 \
widget_preview_inwin2 \
widget_preview_inwin3 \
widget_preview_scroller \
widget_preview_table
widget_preview_table \
widget_preview_win
LDADD = $(top_builddir)/src/lib/libelementary.la @ELEMENTARY_EWEATHER_LIBS@ @ELEMENTARY_EDBUS_LIBS@ @ELEMENTARY_EFREET_LIBS@ @ELEMENTARY_EMAP_LIBS@ @ELEMENTARY_LIBS@ @EIO_LIBS@ @my_libs@
@ -160,5 +161,6 @@ EXTRA_DIST = \
widget_preview_inwin3.c \
widget_preview_scroller.c \
widget_preview_table.c \
widget_preview_win.c \
widget_preview_tmpl_foot.c \
widget_preview_tmpl_head.c

View File

@ -0,0 +1,8 @@
#include "widget_preview_tmpl_head.c"
Evas_Object *o = elm_label_add(win);
elm_object_text_set(o, "Here be window contents");
elm_win_resize_object_add(win, o);
evas_object_show(o);
#include "widget_preview_tmpl_foot.c"

View File

@ -1598,6 +1598,9 @@ extern "C" {
/* win */
/** @defgroup Win Win
*
* @image html img/widget/win/preview-00.png
* @image latex img/widget/win/preview-00.eps
*
* The window class of Elementary. Contains functions to manipulate
* windows. The Evas engine used to render the window contents is specified