From: Enlightenment S. <no-...@en...> - 2012-11-09 18:58:38
|
Log: ephysics: toggle theme Author: bdilly Date: 2012-11-09 10:58:32 -0800 (Fri, 09 Nov 2012) New Revision: 79054 Trac: http://trac.enlightenment.org/e/changeset/79054 Added: trunk/ephysics/data/themes/images/tog_base_off.png trunk/ephysics/data/themes/images/tog_base_on.png trunk/ephysics/data/themes/images/tog_bt_off.png trunk/ephysics/data/themes/images/tog_bt_on.png trunk/ephysics/data/themes/toggle.edc Modified: trunk/ephysics/data/themes/Makefile.am trunk/ephysics/data/themes/ephysics_test.edc trunk/ephysics/src/bin/test_flag.c trunk/ephysics/src/bin/test_light.c Modified: trunk/ephysics/data/themes/Makefile.am =================================================================== --- trunk/ephysics/data/themes/Makefile.am 2012-11-09 18:58:23 UTC (rev 79053) +++ trunk/ephysics/data/themes/Makefile.am 2012-11-09 18:58:32 UTC (rev 79054) @@ -24,6 +24,7 @@ shadows.edc \ shapes.edc \ spinner.edc \ + toggle.edc \ images/arrows.png \ images/background.jpg \ images/ball-blue.png \ @@ -69,7 +70,11 @@ images/spinner_bt_left_pressed.png \ images/spinner_bt_right.png \ images/spinner_bt_right_pressed.png \ - images/star.png + images/star.png \ + images/tog_base_off.png \ + images/tog_base_on.png \ + images/tog_bt_off.png \ + images/tog_bt_on.png SANDBOX_FILES = \ ephysics_sandbox.edc \ Modified: trunk/ephysics/data/themes/ephysics_test.edc =================================================================== --- trunk/ephysics/data/themes/ephysics_test.edc 2012-11-09 18:58:23 UTC (rev 79053) +++ trunk/ephysics/data/themes/ephysics_test.edc 2012-11-09 18:58:32 UTC (rev 79054) @@ -13,5 +13,6 @@ #include "shadows.edc" #include "shapes.edc" #include "spinner.edc" +#include "toggle.edc" #include "others.edc" } Property changes on: trunk/ephysics/data/themes/images/tog_base_off.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Property changes on: trunk/ephysics/data/themes/images/tog_base_on.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Property changes on: trunk/ephysics/data/themes/images/tog_bt_off.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Property changes on: trunk/ephysics/data/themes/images/tog_bt_on.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Modified: trunk/ephysics/src/bin/test_flag.c =================================================================== --- trunk/ephysics/src/bin/test_flag.c 2012-11-09 18:58:23 UTC (rev 79053) +++ trunk/ephysics/src/bin/test_flag.c 2012-11-09 18:58:32 UTC (rev 79054) @@ -162,7 +162,7 @@ elm_object_signal_emit(test_data->layout, "borders,show", "ephysics_test"); tg = elm_check_add(test_data->win); - elm_object_style_set(tg, "toggle"); + elm_object_style_set(tg, "ephysics-test"); evas_object_size_hint_weight_set(tg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); evas_object_size_hint_align_set(tg, EVAS_HINT_FILL, 0.5); elm_check_state_set(tg, EINA_TRUE); Modified: trunk/ephysics/src/bin/test_light.c =================================================================== --- trunk/ephysics/src/bin/test_light.c 2012-11-09 18:58:23 UTC (rev 79053) +++ trunk/ephysics/src/bin/test_light.c 2012-11-09 18:58:32 UTC (rev 79054) @@ -75,7 +75,7 @@ elm_object_signal_emit(test_data->layout, "borders,show", "ephysics_test"); tg = elm_check_add(test_data->win); - elm_object_style_set(tg, "toggle"); + elm_object_style_set(tg, "ephysics-test"); evas_object_size_hint_weight_set(tg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); evas_object_size_hint_align_set(tg, EVAS_HINT_FILL, 0.5); elm_check_state_set(tg, EINA_TRUE); |