Enlightenment CVS committal Author : dj2 Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/data/themes/e17/groups Modified Files: tree.edc Log Message: - use states instead of groups to change the arrow on the tree headers =================================================================== RCS file: /cvs/e/e17/libs/ewl/data/themes/e17/groups/tree.edc,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- tree.edc 2 Jan 2007 05:23:40 -0000 1.1 +++ tree.edc 2 Jan 2007 17:31:44 -0000 1.2 @@ -162,11 +162,6 @@ group { name: "ewl/tree/header/button"; -} - -group -{ - name: "ewl/tree/header/ascending"; min: 16 16; parts @@ -179,7 +174,7 @@ { state: "default" 0.0; min: 16 16; - + visible: 0; image { normal: "e17_button_detail_down.png"; @@ -189,38 +184,57 @@ smooth: 0; } } - } - } -} - -group -{ - name: "ewl/tree/header/descending"; - min: 16 16; - - parts - { - part - { - name: "arrow"; - mouse_events: 0; description { - state: "default" 0.0; - min: 16 16; - + state: "ascending" 0.0; + inherit: "default" 0.0; + visible: 1; + } + description + { + state: "descending" 0.0; + inherit: "default" 0.0; + visible: 1; image { normal: "e17_button_detail_up.png"; } - fill - { - smooth: 0; - } } } } + programs + { + program + { + name: "ascending"; + signal: "ascending"; + source: "EWL"; + action: STATE_SET "ascending" 0.0; + target: "arrow"; + transition: LINEAR 0.0; + } + program + { + name: "descending"; + signal: "descending"; + source: "EWL"; + action: STATE_SET "descending" 0.0; + target: "arrow"; + transition: LINEAR 0.0; + } + program + { + name: "default"; + signal: "default"; + source: "EWL"; + action: STATE_SET "default" 0.0; + target: "arrow"; + transition: LINEAR 0.0; + } + + } } + group { ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs