Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/data/themes/e17/bits


Modified Files:
        tree-groups.edc treebg-groups.edc 


Log Message:
- highlight selected items in the filedialog
- handle CTRL multiselection. SHIFT isn't done yet
- abstract more stuff out to the filelist from the implementations
- minor formatting to a .edc file

===================================================================
RCS file: /cvs/e/e17/libs/ewl/data/themes/e17/bits/tree-groups.edc,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- tree-groups.edc     2 Jan 2006 05:22:33 -0000       1.3
+++ tree-groups.edc     14 Apr 2006 19:31:46 -0000      1.4
@@ -57,14 +57,14 @@
     }
 
     programs {
-       program {
-           name, "visible_show";
-           signal, "default";
-           source, "*";
-           action, STATE_SET "show" 0.0;
-           transition, LINEAR 0.0;
-           target, "visible";
-       }
+               program {
+                   name, "visible_show";
+                   signal, "default";
+                   source, "*";
+                   action, STATE_SET "show" 0.0;
+                   transition, LINEAR 0.0;
+                   target, "visible";
+               }
         program {
             name, "collapsed";
             signal, "default";
@@ -73,7 +73,6 @@
             transition, LINEAR 0.0;
             target, "base";
         }
-
         program {
             name, "expanded";
             signal, "checked";
@@ -82,7 +81,6 @@
             transition, LINEAR 0.0;
             target, "base";
         }
-
         program {
             name, "flat";
             signal, "node,default";
===================================================================
RCS file: /cvs/e/e17/libs/ewl/data/themes/e17/bits/treebg-groups.edc,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- treebg-groups.edc   13 Mar 2006 17:58:37 -0000      1.7
+++ treebg-groups.edc   14 Apr 2006 19:31:46 -0000      1.8
@@ -1,6 +1,6 @@
 group{
     name, "row_background";
-        min: 5 19;
+     min: 5 19;
     data {
     }
 
@@ -14,86 +14,122 @@
                 image {
                      normal, "e17_ilist_bg0.png";
                      border, 5 5 5 5;
-               }
-               fill {
-                       smooth: 0;
-               }
+                }
+                fill {
+                    smooth: 0;
+                }
                 color, 255 255 255 35;
             }
             description {
                 state, "odd" 0.0;
                 min: 5 19;
-               image {
+                image {
                     normal, "e17_ilist_bg1.png";
-                   border, 5 5 5 5;
+                    border, 5 5 5 5;
                 }
-               color, 255 255 255 200;
-               fill {
-                       smooth: 0;
-               }
-           }
-       }
-       part {
+                color, 255 255 255 200;
+                fill {
+                    smooth: 0;
+                }
+            }
+        }
+        part {
             name, "tree-select";
             mouse_events, 0;
             description {
+                state, "default" 0.0;
                 min: 5 19;
-               state, "default" 0.0;
                 image {
                     normal, "e17_tranny.png";
                 }
                 fill {
-                   smooth : 0;
-               }
+                    smooth : 0;
+                }
             }
-           description {
+            description {
                 state, "selected" 0.0;
                 min: 5 19;
-               image {
+                image {
                     normal, "row_select.png";
                     border, 3 3 3 3;
                 }
-               fill {
-                       smooth: 0;
-               }
-             color, 255 255 255 255;  
-           }
-       }
+                fill {
+                    smooth: 0;
+                }
+                color, 255 255 255 255;  
+            }
+        }
+        part {
+            name, "overlay";
+            type, RECT;
+
+            description {
+                state, "default" 0.0;
+                rel1 {
+                    relative, 0.0 0.0;
+                    offset, 0 0;
+                }
+                rel2 {
+                    relative, 1.0 1.0;
+                    offset, 0 0;
+                }
+                color, 255 255 255 0;
+            }
+            description {
+                state, "selected" 0.0;
+                inherit, "default" 0.0;
+                color, 250 185 87 128;
+            }
+        }
     }
     programs{
-       program {
-               name:       "selected";
-               signal:     "mouse,in";
-               source:     "*";
-               action:     STATE_SET "selected" 0.0;
-                       transition: LINEAR 0.0;
-               target:     "tree-select";
-       }
-       program {
-               name:       "default";
-               signal:     "mouse,out";
-               source:     "*";
-               action:     STATE_SET "default" 0.0;
-               transition: LINEAR 0.0;
-               target:     "tree-select";
+        program {
+            name:       "selected";
+            signal:     "mouse,in";
+            source:     "*";
+            action:     STATE_SET "selected" 0.0;
+            transition: LINEAR 0.0;
+            target:     "tree-select";
+        }
+        program {
+            name:       "default";
+            signal:     "mouse,out";
+            source:     "*";
+            action:     STATE_SET "default" 0.0;
+            transition: LINEAR 0.0;
+            target:     "tree-select";
         }
 
         program {
-               name:       "odd";
-               signal:     odd;
-               source:     "*";
-               action:     STATE_SET "odd" 0.0;
-               transition: LINEAR 0.0;
-               target:     row_background;
-       }
-       program {
-               name:       "even";
-                       signal:     even;
-                       source:     "*";
-                       action:     STATE_SET "even" 0.0;
-                       transition: LINEAR 0.0;
-               target:     row_background;
-       }       
-   }
+            name:       "odd";
+            signal:     odd;
+            source:     "*";
+            action:     STATE_SET "odd" 0.0;
+            transition: LINEAR 0.0;
+            target:     row_background;
+        }
+        program {
+            name:       "even";
+            signal:     even;
+            source:     "*";
+            action:     STATE_SET "even" 0.0;
+            transition: LINEAR 0.0;
+            target:     row_background;
+        }    
+        program {
+            name, "select";
+            signal, "row,select";
+            source, "*";
+            action, STATE_SET "selected" 0.0;
+            target, "overlay";
+        }
+        program {
+            name, "unselect";
+            signal, "row,unselect";
+            source, "*";
+            action, STATE_SET "default" 0.0;
+            target, "overlay";
+        }
+    }
 }
 




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to