summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2012-03-16 23:45:48 +0000
committerCarsten Haitzler <raster@rasterman.com>2012-03-16 23:45:48 +0000
commit8bb18421130e4104633199f309475723f5d43866 (patch)
tree209ae92f9b0ab16955531ab2da5dd773113e62a6 /doc
parent9c16a08b408c709782fe1cc908b6f5eb84fc3927 (diff)
clean up toggle turds :)
SVN revision: 69478
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile.am1
-rw-r--r--doc/examples.dox10
-rw-r--r--doc/widgets/Makefile.am2
-rw-r--r--doc/widgets/widget_preview_toggle.c11
4 files changed, 5 insertions, 19 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 81d4cd7ba..53b696b7d 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -63,7 +63,6 @@ WGT_PREVIEW = \
63 pager:preview-00.png:widget_preview_pager:100:100 \ 63 pager:preview-00.png:widget_preview_pager:100:100 \
64 separator:preview-00.png:widget_preview_separator:10:80 \ 64 separator:preview-00.png:widget_preview_separator:10:80 \
65 radio:preview-00.png:widget_preview_radio:60:20 \ 65 radio:preview-00.png:widget_preview_radio:60:20 \
66 toggle:preview-00.png:widget_preview_toggle:150:30 \
67 panel:preview-00.png:widget_preview_panel:150:50 \ 66 panel:preview-00.png:widget_preview_panel:150:50 \
68 gengrid:preview-00.png:widget_preview_gengrid:200:160 \ 67 gengrid:preview-00.png:widget_preview_gengrid:200:160 \
69 genlist:preview-00.png:widget_preview_genlist1:200:200 \ 68 genlist:preview-00.png:widget_preview_genlist1:200:200 \
diff --git a/doc/examples.dox b/doc/examples.dox
index 1e58e67b1..d43fe4648 100644
--- a/doc/examples.dox
+++ b/doc/examples.dox
@@ -1821,14 +1821,14 @@
1821 * 1821 *
1822 * By default map is disabled. So just setting content isn't enough. 1822 * By default map is disabled. So just setting content isn't enough.
1823 * Alpha and smooth settings will be applied when map is enabled. 1823 * Alpha and smooth settings will be applied when map is enabled.
1824 * So we'll add a toggle for that. Everytime the map properties 1824 * So we'll add a check for that. Everytime the map properties
1825 * are changed, map will need to be enabled again. So if you 1825 * are changed, map will need to be enabled again. So if you
1826 * want to play a bit with our example, remember to always enable 1826 * want to play a bit with our example, remember to always enable
1827 * map again after concluding your changes. 1827 * map again after concluding your changes.
1828 * @skipline toggle_add 1828 * @skipline check_add
1829 * @until show 1829 * @until show
1830 * 1830 *
1831 * We have added a callback function to this toggle, so it will enable 1831 * We have added a callback function to this check, so it will enable
1832 * or disable map: 1832 * or disable map:
1833 * @dontinclude mapbuf_example.c 1833 * @dontinclude mapbuf_example.c
1834 * @skip static 1834 * @skip static
@@ -1844,7 +1844,7 @@
1844 * By default, mapbuf would enable alpha blending and smooth rendering, 1844 * By default, mapbuf would enable alpha blending and smooth rendering,
1845 * so we need to check boxes to be consistent with its behavior. 1845 * so we need to check boxes to be consistent with its behavior.
1846 * 1846 *
1847 * Callback functions look like the one added to the toggle. This way we 1847 * Callback functions look like the one added to the check. This way we
1848 * could enable or disable the both properties: 1848 * could enable or disable the both properties:
1849 * @dontinclude mapbuf_example.c 1849 * @dontinclude mapbuf_example.c
1850 * @skip static 1850 * @skip static
@@ -4107,7 +4107,7 @@
4107 * whose value it should change: 4107 * whose value it should change:
4108 * @until show 4108 * @until show
4109 * 4109 *
4110 * We also set the callback that will be called when the toggles value changes: 4110 * We also set the callback that will be called when the check value changes:
4111 * @until smart_callback 4111 * @until smart_callback
4112 * 4112 *
4113 * For our second toggle it important to note that we set the states labels, 4113 * For our second toggle it important to note that we set the states labels,
diff --git a/doc/widgets/Makefile.am b/doc/widgets/Makefile.am
index f1583bd71..cb2e00f8d 100644
--- a/doc/widgets/Makefile.am
+++ b/doc/widgets/Makefile.am
@@ -72,7 +72,6 @@ widget_preview_hover \
72widget_preview_flip \ 72widget_preview_flip \
73widget_preview_separator \ 73widget_preview_separator \
74widget_preview_radio \ 74widget_preview_radio \
75widget_preview_toggle \
76widget_preview_panel \ 75widget_preview_panel \
77widget_preview_gengrid \ 76widget_preview_gengrid \
78widget_preview_genlist1 \ 77widget_preview_genlist1 \
@@ -152,7 +151,6 @@ EXTRA_DIST = \
152 widget_preview_popup.c \ 151 widget_preview_popup.c \
153 widget_preview_separator.c \ 152 widget_preview_separator.c \
154 widget_preview_radio.c \ 153 widget_preview_radio.c \
155 widget_preview_toggle.c \
156 widget_preview_panel.c \ 154 widget_preview_panel.c \
157 widget_preview_gengrid.c \ 155 widget_preview_gengrid.c \
158 widget_preview_genlist1.c \ 156 widget_preview_genlist1.c \
diff --git a/doc/widgets/widget_preview_toggle.c b/doc/widgets/widget_preview_toggle.c
deleted file mode 100644
index b6b85ad3c..000000000
--- a/doc/widgets/widget_preview_toggle.c
+++ /dev/null
@@ -1,11 +0,0 @@
1#include "widget_preview_tmpl_head.c"
2
3Evas_Object *o = elm_check_add(win);
4elm_object_style_set(o, "toggle");
5evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
6elm_win_resize_object_add(win, o);
7evas_object_show(o);
8
9elm_object_text_set(o, "toggle");
10
11#include "widget_preview_tmpl_foot.c"