Enlightenment CVS committal
Author : codewarrior
Project : e17
Module : proto
Dir : e17/proto/etk/data/themes/default/macros
Modified Files:
dnd.edc
Log Message:
- add theme stuff to show when a widget accepts a drop
- add per widget dnd types, now widgets can opt to only get image/png or
text/uri-list etc.
- remove generate dnd aware code for widgets, make widgets select wether they
want to be a drag source or drag destinaion or both
- reflect new changes in etk_test
===================================================================
RCS file:
/cvsroot/enlightenment/e17/proto/etk/data/themes/default/macros/dnd.edc,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- dnd.edc 13 Feb 2006 23:28:43 -0000 1.1
+++ dnd.edc 14 Feb 2006 02:28:02 -0000 1.2
@@ -1,6 +1,6 @@
-#define DROP_GLOW(x1, y1, offx1, offy1, to1, x2, y2, offx2, offy2, to2) \
+#define DRAG_GLOW(x1, y1, offx1, offy1, to1, x2, y2, offx2, offy2, to2) \
part { \
- name: "drop_glow"; \
+ name: "drag_glow"; \
mouse_events: 0; \
description { \
state: "default" 0.0; \
@@ -17,7 +17,7 @@
to: to2; \
} \
image { \
- normal: "drop_glow.png"; \
+ normal: "drag_glow.png"; \
border: 7 7 7 7; \
} \
fill { \
@@ -32,12 +32,12 @@
} \
}
-#define DROP_ENTER_ACTION \
+#define DRAG_ENTER_ACTION \
action: STATE_SET "visible" 0.0; \
transition: DECELERATE 0.2; \
-target: "drop_glow";
+target: "drag_glow";
-#define DROP_LEAVE_ACTION \
+#define DRAG_LEAVE_ACTION \
action: STATE_SET "default" 0.0; \
transition: ACCELERATE 0.5; \
-target: "drop_glow";
+target: "drag_glow";
-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs