Enlightenment CVS committal
Author : davemds
Project : e17
Module : proto/edje_editor
Dir : e17/proto/edje_editor/data
Modified Files:
edje_editor.edc
Log Message:
* Add a small arrow in the center of part. If you drag it you can move the 2
points together. Aka move parts.
* Add a toggle button on the toolbar to play/stop the edje execution.
* Update edje_patch to recent edje change
===================================================================
RCS file: /cvs/e/e17/proto/edje_editor/data/edje_editor.edc,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- edje_editor.edc 18 Feb 2008 16:44:21 -0000 1.9
+++ edje_editor.edc 23 Feb 2008 03:54:46 -0000 1.10
@@ -143,6 +143,7 @@
image: "fakewin.png" LOSSY 95;
image: "rel1.png" LOSSY 95;
image: "rel2.png" LOSSY 95;
+ image: "move.png" LOSSY 95;
image: "e17.png" LOSSY 95;
image: "miniarrow.png" LOSSY 95;
}
@@ -471,7 +472,6 @@
part{
name: "rel1";
type: IMAGE;
- //dragable {x: 1 1 1; y: 1 1 1;}
description {
state: "default" 0.0;
visible: 1;
@@ -484,20 +484,6 @@
programs{
// Rel1 Prog
program{
- name: "Rel1_Show";
- signal: "REL1_SHOW";
- source: "edje_editor";
- action: STATE_SET "visible" 0.0;
- target: "rel1";
- }
- program{
- name: "Rel1_Hide";
- signal: "REL1_HIDE";
- source: "edje_editor";
- action: STATE_SET "default" 0.0;
- target: "rel1";
- }
- program{
name: "StartDrag";
signal: "mouse,down,1";
source: "rel1";
@@ -509,12 +495,6 @@
source: "rel1";
action: SIGNAL_EMIT "END_DRAG" "rel1";
}
- program{
- name: "Drag";
- signal: "mouse,move";
- source: "rel1";
- action: SIGNAL_EMIT "DRAG" "rel1";
- }
}
}
group{
@@ -546,11 +526,35 @@
source: "rel2";
action: SIGNAL_EMIT "END_DRAG" "rel2";
}
+ }
+ }
+ group{
+ name: "MoveH";
+ parts{
+ part{
+ name: "move";
+ type: IMAGE;
+ description {
+ state: "default" 0.0;
+ visible: 1;
+ rel1 {relative: 0.0 0.0; offset: 0 0;}
+ rel2 {relative: 0.0 0.0; offset: 12 12;}
+ image {normal: "move.png";}
+ }
+ }
+ }
+ programs{
program{
- name: "Drag";
- signal: "mouse,move";
- source: "rel2";
- action: SIGNAL_EMIT "DRAG" "rel2";
+ name: "StartDrag";
+ signal: "mouse,down,1";
+ source: "move";
+ action: SIGNAL_EMIT "START_DRAG" "MoveH";
+ }
+ program{
+ name: "EndDrag";
+ signal: "mouse,up,1";
+ source: "move";
+ action: SIGNAL_EMIT "END_DRAG" "MoveH";
}
}
}
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs