Enlightenment CVS committal
Author : moom
Project : e17
Module : proto
Dir : e17/proto/etk/data/themes/default/macros
Modified Files:
scrollbar.edc
Log Message:
* [Theme] Clip the parts of the scrollbars
* [Theme] Use "mouse,down,1*" instead of "mouse,down,1", so double clic
is now supported.
* [Textblock] More work
Congrats to Italians :o :)
===================================================================
RCS file: /cvs/e/e17/proto/etk/data/themes/default/macros/scrollbar.edc,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- scrollbar.edc 4 Dec 2005 14:54:56 -0000 1.5
+++ scrollbar.edc 10 Jul 2006 03:26:53 -0000 1.6
@@ -1,8 +1,9 @@
#define SCROLLBAR_BUTTON_SIZE 15
-#define SCROLLBAR_DRAG(part_name, minw, minh, xdir, ydir, image_up,
image_down, image_thumb) \
+#define SCROLLBAR_DRAG(part_name, minw, minh, xdir, ydir, image_up,
image_down, image_thumb, clip) \
part { \
name: part_name; \
+ clip_to: clip; \
dragable { \
confine: "confine"; \
x: xdir xdir xdir; \
@@ -41,6 +42,7 @@
part { \
name: part_name"_thumb"; \
mouse_events: 0; \
+ clip_to: clip; \
description { \
state: "default" 0.0; \
rel1 { \
@@ -72,15 +74,16 @@
} \
program { \
name: part_name"_down"; \
- signal: "mouse,down,1"; \
+ signal: "mouse,down,1*"; \
source: part_name; \
action: STATE_SET "down" 0.0; \
target: part_name; \
}
-#define SCROLLBAR_BUTTON(button_name, rx1, ry1, ox1, oy1, image_up,
image_down) \
+#define SCROLLBAR_BUTTON(button_name, rx1, ry1, ox1, oy1, image_up,
image_down, clip) \
part { \
name: button_name; \
+ clip_to: clip; \
description { \
state: "default" 0.0; \
rel1 { \
@@ -118,20 +121,20 @@
} \
program { \
name: button_name"_down"; \
- signal: "mouse,down,1"; \
+ signal: "mouse,down,1*"; \
source: button_name; \
action: STATE_SET "down" 0.0; \
target: button_name; \
} \
program { \
name: button_name"_pressed"; \
+ signal: "mouse,down,1*"; \
source: button_name; \
- signal: "mouse,down,1"; \
action: SIGNAL_EMIT "scroll_"dir"_start" ""; \
} \
program { \
name: button_name"_released"; \
- source: button_name; \
signal: "mouse,up,1"; \
+ source: button_name; \
action: SIGNAL_EMIT "scroll_stop" ""; \
}
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs