Enlightenment CVS committal Author : raster Project : e17 Module : apps/e
Dir : e17/apps/e/data/themes Modified Files: default_button.edc Log Message: buttom patch from lok and seb's shelf bug fix. =================================================================== RCS file: /cvs/e/e17/apps/e/data/themes/default_button.edc,v retrieving revision 1.12 retrieving revision 1.13 diff -u -3 -r1.12 -r1.13 --- default_button.edc 7 Jul 2007 02:04:19 -0000 1.12 +++ default_button.edc 5 Oct 2007 06:05:16 -0000 1.13 @@ -78,7 +78,7 @@ } } description { - state: "visible" 0.0; + state: "combo" 0.0; inherit: "default" 0.0; aspect: 1.0 1.0; aspect_preference: VERTICAL; @@ -94,6 +94,23 @@ to: "button_image"; } } + description { + state: "icon" 0.0; + inherit: "default" 0.0; + aspect: 1.0 1.0; + aspect_preference: BOTH; + align: 0.5 0.5; + rel1 { + relative: 0.0 0.0; + offset: 8 8; + to: "button_image"; + } + rel2 { + relative: 1.0 1.0; + offset: -9 -9; + to: "button_image"; + } + } } part { name: "e.text.label"; @@ -117,7 +134,7 @@ color3: 255 255 255 128; color_class: "button_text"; text { - text: "OK"; + text: ""; font: "Edje-Vera"; size: 10; min: 1 1; @@ -132,6 +149,11 @@ color3: 255 255 255 64; color_class: "button_text_disabled"; } + description { + state: "icon" 0.0; + inherit: "default" 0.0; + visible: 0; + } } part { name: "glint_clip"; @@ -330,18 +352,28 @@ action: SIGNAL_EMIT "e,action,click" ""; } program { - name: "icon_visible"; - signal: "e,action,show,icon"; + name: "text_state"; + signal: "e,state,text"; source: "e"; - action: STATE_SET "visible" 0.0; + action: STATE_SET "default" 0.0; target: "e.swallow.icon"; + target: "e.text.label"; } program { - name: "icon_invisible"; - signal: "e,action,hide,icon"; + name: "icon_state"; + signal: "e,state,icon"; source: "e"; - action: STATE_SET "default" 0.0; + action: STATE_SET "icon" 0.0; + target: "e.swallow.icon"; + target: "e.text.label"; + } + program { + name: "combo_state"; + signal: "e,state,combo"; + source: "e"; + action: STATE_SET "combo" 0.0; target: "e.swallow.icon"; + target: "e.text.label"; } program { name: "button_in"; ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs