Enlightenment CVS committal

Author  : rephorm
Project : e17
Module  : apps/elicit

Dir     : e17/apps/elicit/data/themes/winter/macros


Modified Files:
        color.inc 


Log Message:
Update winter theme to match winter e17 theme.
Use Mono font
Change to COMP instead of LOSSY (ugly artifacting)
Add ability to change color values with the mouse wheel (scroll while over the 
value).



===================================================================
RCS file: /cvs/e/e17/apps/elicit/data/themes/winter/macros/color.inc,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- color.inc   12 Nov 2005 06:16:37 -0000      1.4
+++ color.inc   10 Jul 2006 09:35:44 -0000      1.5
@@ -14,7 +14,7 @@
         } \
         rel2 { \
           to, "left-panel"; \
-          relative, 0.0 0.0; \
+          relative, 1.0 0.0; \
           offset, OFF2;  \
         } \
       } \
@@ -36,7 +36,7 @@
           relative, 0.0 0.0; \
           offset, 17 10; \
         } \
-        color, 0 0 0 200; \
+        color, 140 140 140 255; \
         text { \
           text, LABEL; \
           font, "Vera"; \
@@ -67,7 +67,7 @@
           relative, 1.0 1.0; \
           offset, 30 -1; \
         } \
-        color, 0 0 0 200; \
+        color, 140 140 140 255; \
         text { \
           text, "255"; \
           font, "Vera"; \
@@ -78,19 +78,41 @@
         } \
       } \
     } \
- \
 BUTTON_CLIPPED(NAME"-up", "arrow-up.png", "arrow-up.png", 5, 3, \
                NAME"-val", 1 0, 4 1, \
                NAME"-val", 1 0, 9 4, "color-clip") \
 BUTTON_CLIPPED(NAME"-dn", "arrow-dn.png", "arrow-dn.png", 5, 3, \
                NAME"-val", 1 0, 4 5, \
-               NAME"-val", 1 0, 9 8, "color-clip") 
+               NAME"-val", 1 0, 9 8, "color-clip") \
+    part { \
+      name: NAME"-event"; \
+      type: RECT; \
+      repeat_events: 1; \
+      description { \
+        state: "default" 0.0; \
+        rel1.to: NAME"-box"; \
+        rel2.to: NAME"-box"; \
+        color: 0 0 0 0; \
+      } \
+    }
 
 
 #define COLOR_PROG(NAME, SIG_BIT) \
   BUTTON_PROG(NAME"-up", "elicit,"SIG_BIT",up,start", \
                          "elicit,"SIG_BIT",up,stop") \
   BUTTON_PROG(NAME"-dn", "elicit,"SIG_BIT",down,start", \
-                         "elicit,"SIG_BIT",down,stop")
+                         "elicit,"SIG_BIT",down,stop") \
+  program { \
+    name: NAME"-scroll-up"; \
+    signal: "mouse,wheel,0,-1"; \
+    source: NAME"-event"; \
+    action: SIGNAL_EMIT "elicit,"SIG_BIT",up" ""; \
+  } \
+  program { \
+    name: NAME"-scroll-down"; \
+    signal: "mouse,wheel,0,1"; \
+    source: NAME"-event"; \
+    action: SIGNAL_EMIT "elicit,"SIG_BIT",down" ""; \
+  }
 
 




-------------------------------------------------------------------------
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

Reply via email to