Enlightenment CVS committal Author : moom Project : e17 Module : proto
Dir : e17/proto/etk/data/themes/default/widgets Modified Files: progress_bar.edc tree.edc Log Message: * [Etk_Widget] Force Edje to process the signals of the theme object before calculating its min size. It should fix problems of incorrect size calculation (It fixes the width of the popup menu in exhibit and in estickies) * [Etk_Tree] Emit the theme-signal "etk,state,focused" on the scrolled-view when the tree is focused. * [Etk_Shadow] More work, some bugs fixed and add the ability to add a colored border =================================================================== RCS file: /cvs/e/e17/proto/etk/data/themes/default/widgets/progress_bar.edc,v retrieving revision 1.4 retrieving revision 1.5 diff -u -3 -r1.4 -r1.5 --- progress_bar.edc 6 Oct 2006 17:04:13 -0000 1.4 +++ progress_bar.edc 29 Oct 2006 11:39:54 -0000 1.5 @@ -41,17 +41,35 @@ } } } + part { + name: "confine"; + type: RECT; + description { + state: "default" 0.0; + visible: 0; + rel1 { + relative: 0.0 0.0; + offset: 2 0; + to: "progress_bar"; + } + rel2 { + relative: 1.0 1.0; + offset: -3 0; + to: "progress_bar"; + } + } + } part { name: "etk.dragable.filler"; mouse_events: 0; dragable { - confine: "progress_bar"; + confine: "confine"; x: 1 1 1; y: 0 0 0; } description { state: "default" 0.0; - min: 1 18; + min: 0 14; fixed: 1 1; rel1 { relative: 0.5 0.5; @@ -62,10 +80,10 @@ relative: 0.5 0.5; offset: 0 0; to: "progress_bar"; - } + } image { - normal: "button_up.png"; - border: 8 8 8 8; + normal: "scrollbar_hdrag1.png"; + border: 5 5 5 5; } fill { smooth: 0; @@ -98,5 +116,22 @@ } } } + GLINT_PART("etk.dragable.filler") + } + programs { + program { + name: "progress_bar_init"; + signal: "load"; + after: "progress_bar_glint"; + } + program { + name: "progress_bar_glint"; + signal: "mouse,in"; + source: "etk.dragable.filler"; + in: 4.0 2.0; + GLINT_ACTION + after: "progress_bar_glint"; + } + GLINT_PROGRAM } } =================================================================== RCS file: /cvs/e/e17/proto/etk/data/themes/default/widgets/tree.edc,v retrieving revision 1.20 retrieving revision 1.21 diff -u -3 -r1.20 -r1.21 --- tree.edc 20 Oct 2006 17:51:44 -0000 1.20 +++ tree.edc 29 Oct 2006 11:39:54 -0000 1.21 @@ -34,22 +34,6 @@ } } } - /*part { - name: "middle"; - type: RECT; - description { - state: "default" 0.0; - color: 255 255 255 255; - rel1 { - relative: 0.0 0.0; - offset: 8 8; - } - rel2 { - relative: 1.0 1.0; - offset: -9 -9; - } - } - }*/ part { name: "etk.swallow.content"; type: SWALLOW; @@ -89,8 +73,7 @@ } } } - FOCUS_GLOW(0.0, 0.0, -1, -1, "border", 1.0, 1.0, 0, 0, "border") - DRAG_GLOW(0.0, 0.0, -1, -1, "border", 1.0, 1.0, 0, 0, "border"); + FOCUS_GLOW(0.0, 0.0, -1, 0, "border", 1.0, 1.0, 0, -1, "border") } programs { program { @@ -105,24 +88,6 @@ source: "etk"; UNFOCUS_GLOW_ACTION } - program { - name: "drag_enter"; - signal: "drag_enter"; - source: "etk"; - DRAG_ENTER_ACTION - } - program { - name: "drag_leave"; - signal: "drag_leave"; - source: "etk"; - DRAG_LEAVE_ACTION - } - program { - name: "drag_drop"; - signal: "drag_drop"; - source: "etk"; - DRAG_LEAVE_ACTION - } } } @@ -332,8 +297,9 @@ state: "default" 0.0; visible: 0; //color: 239 191 114 80; - color: 245 205 109 102; + //color: 245 205 109 102; //color: 245 205 109 127; + color: 254 235 199 170; rel1 { relative: 0.0 0.0; offset: 0 0; ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs