Enlightenment CVS committal Author : moom16 Project : e17 Module : proto
Dir : e17/proto/etk/data/themes/default/widgets Modified Files: tree.edc Log Message: * Add the checkbox tree model: the cells of a tree can now contain a checkbox =================================================================== RCS file: /cvsroot/enlightenment/e17/proto/etk/data/themes/default/widgets/tree.edc,v retrieving revision 1.10 retrieving revision 1.11 diff -u -3 -r1.10 -r1.11 --- tree.edc 26 Dec 2005 15:11:49 -0000 1.10 +++ tree.edc 22 Jan 2006 16:31:56 -0000 1.11 @@ -239,3 +239,93 @@ } } } +group { + name: "tree_checkbox"; + min: 20 20; + parts { + part { + name: "checkbox"; + description { + state: "default" 0.0; + rel1 { + relative: 0.0 0.5; + offset: 2 -8; + } + rel2 { + relative: 0.0 0.5; + offset: 17 7; + } + image { + normal: "checkbox_off.png"; + } + fill { + smooth: 0; + } + } + description { + state: "on" 0.0; + inherit: "default" 0.0; + image { + normal: "checkbox_on.png"; + } + } + } + part { + name: "checkbox_down"; + description { + state: "default" 0.0; + visible: 0; + rel1 { + relative: 0.0 0.5; + offset: 2 -8; + } + rel2 { + relative: 0.0 0.5; + offset: 17 7; + } + image { + normal: "checkbox_down.png"; + } + fill { + smooth: 0; + } + } + description { + state: "down" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + } + programs { + program { + name: "tree_checkbox_activated"; + signal: "activated"; + source: ""; + action: STATE_SET "on" 0.0; + target: "checkbox"; + } + program { + name: "tree_checkbox_desactivated"; + signal: "deactivated"; + source: ""; + action: STATE_SET "default" 0.0; + target: "checkbox"; + } + program { + name: "tree_checkbox_down"; + signal: "mouse,down,1"; + source: "checkbox"; + action: STATE_SET "down" 0.0; + target: "checkbox_down"; + } + program { + name: "tree_checkbox_up"; + signal: "mouse,up,1"; + source: "checkbox"; + action: STATE_SET "default" 0.0; + target: "checkbox_down"; + } + } +} + ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs