Enlightenment CVS committal
Author : atmosphere
Project : e17
Module : apps/euphoria
Dir : e17/apps/euphoria/data/themes/iio/collections
Modified Files:
esmart_fd.edc
Log Message:
make the panes dragable, it makes for nicer file browsing
===================================================================
RCS file:
/cvsroot/enlightenment/e17/apps/euphoria/data/themes/iio/collections/esmart_fd.edc,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- esmart_fd.edc 4 May 2004 03:27:21 -0000 1.3
+++ esmart_fd.edc 15 May 2004 20:34:31 -0000 1.4
@@ -6,6 +6,25 @@
border, 0 0 12 12; image { normal, "base_layer.png"; }
}
}
+
+part { name, "base.confine"; type, RECT; mouse_events, 0;
+ description { state, "default" 0.0; visible, 1;
+ rel1 { relative, 0.0 0.0; offset, 20 0; }
+ rel2 { relative, 1.0 1.0; offset, -20 0; }
+ color, 255 255 255 0;
+ }
+}
+
+part { name, "base.dragable"; type, IMAGE; mouse_events, 1;
+ dragable { y, 0 0 0; x, 1 1 0; confine, "base.confine"; }
+ description { state, "default" 0.0; visible, 1; min, 11 85;
+ rel1 { relative, 0.5 0.5; offset, 0 0; }
+ rel2 { relative, 0.5 0.5; offset, 0 0; }
+ image { normal, "v_scrollbar.png"; }
+ border, 4 4 17 17;
+ color, 255 255 255 200;
+ }
+}
part { name, "base_left"; type, IMAGE; repeat_events, 1;
description { state, "default" 0.0; visible, 1;
@@ -18,7 +37,7 @@
part { name, "base.directory.clip"; type, RECT; mouse_events, 0;
description { state, "default" 0.0; visible, 1;
rel1 { relative, 0.0 0.0; offset, 15 -9; }
- rel2 { relative, 0.5 1.0; offset, -5 8; }
+ rel2 { relative, 0.0 1.0; offset, -2 8; to_x, "base.dragable"; }
color, 255 255 255 255;
}
}
@@ -39,7 +58,7 @@
part { name, "base.files.clip"; type, RECT; mouse_events, 0;
description { state, "default" 0.0; visible, 1;
- rel1 { relative, 0.5 0.0; offset, 5 -9; }
+ rel1 { relative, 0.5 0.0; offset, 5 -9; to_x, "base.dragable"; }
rel2 { relative, 1.0 1.0; offset, -18 8; }
color, 255 255 255 255;
}
-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs