Enlightenment CVS committal
Author : tsauerbeck
Project : misc
Module : eplayer
Dir : misc/eplayer/data
Modified Files:
README eplayer.edc eplayer.eet
Log Message:
Simplified playlist code (thanks to atmos)
===================================================================
RCS file: /cvsroot/enlightenment/misc/eplayer/data/README,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- README 15 Nov 2003 15:45:38 -0000 1.3
+++ README 16 Nov 2003 00:02:05 -0000 1.4
@@ -1,10 +1,8 @@
######## EPLAYER EDJE GUIDE #########
-An ePlayer theme consists of several Edjes:
+An ePlayer theme consists of two Edjes:
* The main Edje, called "eplayer"
- * Two Edjes for the playlist entries:
- "playlist_item_title" is used for the title,
- "playlist_item_length" is used for the title's length.
+ * The playlist item Edje, called "playlist_item"
The "eplayer" Edje emits the following signals:
@@ -20,6 +18,9 @@
action, SIGNAL_EMIT "TOGGLE_TIME_DISPLAY_MODE" "time_text";
action, SIGNAL_EMIT "TOGGLE_REPEAT_MODE" "repeat_mode";
+ action, SIGNAL_EMIT "PLAYLIST_SCROLL_UP" "playlist";
+ action, SIGNAL_EMIT "PLAYLIST_SCROLL_DOWN" "playlist";
+
It provides the following parts for text display:
Part: "title" -> Window Title
@@ -30,13 +31,14 @@
Part: "vol_display_text" -> Current Volume Level (0 - 100)
-The "playlist_item_title" and "playlist_item_length" Edjes both contain
-a "text" part, which holds the actual values.
+The "playlist_item" Edje contains a "title" and a "length" part.
-The "text" parts emit the following signals:
+These parts emit the following signals:
- action, SIGNAL_EMIT "PLAYLIST_SCROLL_UP" "text";
- action, SIGNAL_EMIT "PLAYLIST_SCROLL_DOWN" "text";
+ action, SIGNAL_EMIT "PLAYLIST_SCROLL_UP" "title";
+ action, SIGNAL_EMIT "PLAYLIST_SCROLL_DOWN" "title";
+ action, SIGNAL_EMIT "PLAYLIST_SCROLL_UP" "length";
+ action, SIGNAL_EMIT "PLAYLIST_SCROLL_DOWN" "length";
---------------------------------------------------------
===================================================================
RCS file: /cvsroot/enlightenment/misc/eplayer/data/eplayer.edc,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- eplayer.edc 15 Nov 2003 15:45:38 -0000 1.8
+++ eplayer.edc 16 Nov 2003 00:02:05 -0000 1.9
@@ -1466,18 +1466,20 @@
} /* Close Group */
group {
- name, "playlist_item_title";
- min, 150 12;
+ name, "playlist_item";
+ min, 200 12;
max, 9999 9999;
parts {
part {
- name, "text";
+ name, "title";
type, TEXT;
mouse_events, 1;
description {
color, 181 247 255 255;
+ align, 0.0 0.0;
+ max, 150 12;
text {
text, "Dummy";
@@ -1487,33 +1489,9 @@
}
}
}
- }
-
- programs {
- program {
- name, "text_scroll_up";
- signal, "mouse,wheel,0,-1";
- source, "text";
- action, SIGNAL_EMIT "PLAYLIST_SCROLL_UP" "text";
- }
-
- program {
- name, "text_scroll_down";
- signal, "mouse,wheel,0,1";
- source, "text";
- action, SIGNAL_EMIT "PLAYLIST_SCROLL_DOWN" "text";
- }
- }
- }
-
- group {
- name, "playlist_item_length";
- min, 50 12;
- max, 9999 9999;
- parts {
part {
- name, "text";
+ name, "length";
type, TEXT;
mouse_events, 1;
@@ -1524,7 +1502,7 @@
text, "2:55";
font, "redensek";
size, 12;
- align, 0.0 0.0;
+ align, 1.0 0.0;
}
}
}
@@ -1532,17 +1510,31 @@
programs {
program {
- name, "length_scroll_up";
+ name, "playlist_scroll_up_title";
+ signal, "mouse,wheel,0,-1";
+ source, "title";
+ action, SIGNAL_EMIT "PLAYLIST_SCROLL_UP" "title";
+ }
+
+ program {
+ name, "playlist_scroll_down_title";
+ signal, "mouse,wheel,0,1";
+ source, "title";
+ action, SIGNAL_EMIT "PLAYLIST_SCROLL_DOWN" "title";
+ }
+
+ program {
+ name, "playlist_scroll_up_length";
signal, "mouse,wheel,0,-1";
- source, "text";
- action, SIGNAL_EMIT "PLAYLIST_SCROLL_UP" "text";
+ source, "length";
+ action, SIGNAL_EMIT "PLAYLIST_SCROLL_UP" "length";
}
program {
- name, "length_scroll_down";
+ name, "playlist_scroll_down_length";
signal, "mouse,wheel,0,1";
- source, "text";
- action, SIGNAL_EMIT "PLAYLIST_SCROLL_DOWN" "text";
+ source, "length";
+ action, SIGNAL_EMIT "PLAYLIST_SCROLL_DOWN" "length";
}
}
}
===================================================================
RCS file: /cvsroot/enlightenment/misc/eplayer/data/eplayer.eet,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
Binary files /tmp/cvsDcuT89 and /tmp/cvsmtHby9 differ
-------------------------------------------------------
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs