Enlightenment CVS committal
Author : atmosphere
Project : misc
Module : eke
Dir : misc/eke/data/themes/default
Modified Files:
default.edc
Log Message:
add panning
===================================================================
RCS file: /cvsroot/enlightenment/misc/eke/data/themes/default/default.edc,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- default.edc 27 Dec 2004 22:44:57 -0000 1.1
+++ default.edc 28 Dec 2004 22:24:35 -0000 1.2
@@ -93,6 +93,7 @@
mouse_events, 0;
description {
state, "default" 0.0;
+ min: 350 400;
rel1 {
relative, 0.0 0.0;
offset, 110 10;
@@ -112,7 +113,7 @@
part {
name, "feed.body";
- mouse_events, 0;
+ mouse_events, 1;
type, SWALLOW;
description {
@@ -127,10 +128,122 @@
offset, -2 -2;
to, "feed.body.base";
}
- color, 0 0 0 0;
+ color, 0 0 0 255;
+ }
+ }
+ part {
+ name, "feed.body.scroll.trough";
+ type, IMAGE;
+ mouse_events, 1;
+ description {
+ state, "default" 0.0;
+ align: 0.5 0.5;
+ rel1 {
+ relative, 1.0 0.0;
+ offset, -15 0;
+ to: "feed.body";
+ }
+ rel2 {
+ relative, 1.0 1.0;
+ offset, 0 0;
+ to: "feed.body";
+ }
+ image {
+ normal: "e17_titlebar_outline.png";
+ border: 10 10 10 10;
+ }
+ }
+ }
+ part {
+ name, "feed.body.scroll";
+ type, IMAGE;
+ mouse_events, 1;
+ dragable {
+ x, 0 0 0;
+ y, 1 1 0;
+ confine: "feed.body.scroll.trough";
+ }
+ description {
+ state, "default" 0.0;
+ aspect: 3.0 1.0;
+ align: 0.5 0.5;
+ min: 14 60;
+ rel1 {
+ relative, 0.5 0.5;
+ offset, -7 -30;
+ to: "feed.body";
+ }
+ rel2 {
+ relative, 0.5 0.5;
+ offset, 7 30;
+ to: "feed.body";
+ }
+ image {
+ normal: "e17_titlebar_outline.png";
+ border: 10 10 10 10;
+ }
+ }
+ description {
+ state, "hilited" 0.0;
+ inherit: "default" 0.0;
+ image {
+ normal: "e17_titlebar.png";
+ border: 10 10 10 10;
+ }
+ color: 255 255 255 192;
+ }
+ description {
+ state, "down" 0.0;
+ inherit: "default" 0.0;
+ image {
+ normal: "e17_titlebar.png";
+ border: 10 10 10 10;
+ }
+ color: 255 255 255 128;
}
}
}
+ programs {
+ program {
+ name: "onload";
+ signal: "load";
+ source: "";
+ action: DRAG_VAL_SET 0.0 0.0;
+ target: "feed.body.scroll";
+ }
+ program {
+ name: "scroll_button_down";
+ source: "feed.body.scroll";
+ signal: "mouse,down,1";
+ action: STATE_SET "down" 0.0;
+ target: "feed.body.scroll";
+ transition: ACCELERATE 0.25;
+ }
+ program {
+ name: "scroll_button_up";
+ source: "feed.body.scroll";
+ signal: "mouse,up,1";
+ action: STATE_SET "hilited" 0.0;
+ target: "feed.body.scroll";
+ transition: DECELERATE 0.5;
+ }
+ program {
+ name: "scroll_button_in";
+ source: "feed.body.scroll";
+ signal: "mouse,in";
+ action: STATE_SET "hilited" 0.0;
+ target: "feed.body.scroll";
+ transition: DECELERATE 0.5;
+ }
+ program {
+ name: "scroll_button_out";
+ source: "feed.body.scroll";
+ signal: "mouse,out";
+ action: STATE_SET "default" 0.0;
+ target: "feed.body.scroll";
+ transition: SINUSOIDAL 0.75;
+ }
+ }
}
group {
@@ -597,6 +710,8 @@
group {
name, "feed.body.item";
+ min: 350 200;
+ max: 500 250;
parts {
part {
name, "base";
@@ -604,6 +719,7 @@
mouse_events, 0;
description {
state, "default" 0.0;
+ aspect: 3.0 1.0;
rel1 {
relative, 0.0 0.0;
offset, 15 10;
@@ -722,7 +838,35 @@
font, "vera";
size, 10;
min, 1 1;
- align, 0.0 0.9;
+ align, 0.0 0.8;
+ }
+ }
+ }
+ part {
+ name, "date";
+ type, TEXT;
+ effect, SHADOW;
+ mouse_events, 0;
+ description {
+ state, "default" 0.0;
+ rel1 {
+ relative, 0.0 0.0;
+ offset, 0 0;
+ to: "label";
+ }
+ rel2 {
+ relative, 1.0 1.0;
+ offset, -15 0;
+ to: "label";
+ }
+ color, 0 0 0 255;
+ color3, 255 255 255 128;
+ text {
+ text, "Item Label";
+ font, "vera";
+ size, 10;
+ min, 1 1;
+ align, 1.0 0.8;
}
}
}
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs