Enlightenment CVS committal
Author : tsauerbeck
Project : misc
Module : eplayer
Dir : misc/eplayer/data
Modified Files:
README eplayer.edc eplayer.eet
Log Message:
Fixed playlist_load_dir(), added QUIT signal/button (thanks to digitalfallout), added
PLAYLIST_ITEM_PLAY signal, updated playlist scrolling stuff
===================================================================
RCS file: /cvsroot/enlightenment/misc/eplayer/data/README,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- README 16 Nov 2003 00:02:05 -0000 1.4
+++ README 17 Nov 2003 21:03:10 -0000 1.5
@@ -18,8 +18,7 @@
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";
+ action, SIGNAL_EMIT "QUIT" "quit";
It provides the following parts for text display:
@@ -35,10 +34,9 @@
These parts emit the following signals:
- 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";
+ action, SIGNAL_EMIT "PLAYLIST_SCROLL_UP" "";
+ action, SIGNAL_EMIT "PLAYLIST_SCROLL_DOWN" "";
+ action, SIGNAL_EMIT "PLAYLIST_ITEM_PLAY" "";
---------------------------------------------------------
===================================================================
RCS file: /cvsroot/enlightenment/misc/eplayer/data/eplayer.edc,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- eplayer.edc 16 Nov 2003 00:02:05 -0000 1.9
+++ eplayer.edc 17 Nov 2003 21:03:10 -0000 1.10
@@ -1122,6 +1122,50 @@
color, 0 0 0 0;
}
}
+
+ /********** Quit Button ***********/
+ part {
+ name, "quit";
+ type, TEXT;
+ mouse_events, 1;
+
+ description {
+ state, "default" 0.0;
+ color, 255 255 255 255;
+ rel1 {
+ relative, 1.0 0.0;
+ offset, -25 0;
+ }
+ rel2 {
+ relative, 1.0 0.0;
+ offset, 0 13;
+ }
+ text {
+ text, "[X]";
+ font, "Vera";
+ size, 7;
+ }
+ }
+
+ description {
+ state, "active" 0.0;
+ color, 255 0 0 255;
+
+ rel1 {
+ relative, 1.0 0.0;
+ offset, -25 0;
+ }
+ rel2 {
+ relative, 1.0 0.0;
+ offset, 0 13;
+ }
+ text {
+ text, "[X]";
+ font, "Vera";
+ size, 7;
+ }
+ }
+ }
} /* Close Parts */
@@ -1129,6 +1173,30 @@
/*************************** PROGRAMS ********************************/
programs {
+ /* Quit Handlers */
+ program {
+ name, "quit_button_in";
+ signal, "mouse,in";
+ source, "quit";
+ action, STATE_SET "active" 0.0;
+ target, "quit";
+ transition, LINEAR 0.5;
+ }
+ program {
+ name, "quit_button_out";
+ signal, "mouse,out";
+ source, "quit";
+ action, STATE_SET "default" 0.0;
+ target, "quit";
+ transition, LINEAR 0.5;
+ }
+ program {
+ name, "quit_button_click";
+ signal, "mouse,clicked,1";
+ source, "quit";
+ action, SIGNAL_EMIT "QUIT" "quit";
+ }
+
/* Previous File */
program {
name, "previous_click";
@@ -1435,20 +1503,6 @@
action, SIGNAL_EMIT "VOL_DECR" "vol_decr_button";
}
- program {
- name, "playlist_scroll_up";
- signal, "mouse,wheel,0,-1";
- source, "playlist";
- action, SIGNAL_EMIT "PLAYLIST_SCROLL_UP" "playlist";
- }
-
- program {
- name, "playlist_scroll_down";
- signal, "mouse,wheel,0,1";
- source, "playlist";
- action, SIGNAL_EMIT "PLAYLIST_SCROLL_DOWN" "playlist";
- }
-
program {
name, "vol_decr_sig_wheel1";
signal, "mouse,wheel,0,-1";
@@ -1468,13 +1522,39 @@
group {
name, "playlist_item";
min, 200 12;
- max, 9999 9999;
+ max, 200 12;
parts {
part {
+ name, "clip";
+ type, RECT;
+
+ description {
+ state, "default" 0.0;
+ }
+ }
+
+ part {
+ name, "background";
+ type, RECT;
+ clip_to, "clip";
+
+ description {
+ state, "default" 0.0;
+ color, 0 0 0 0;
+ }
+
+ /*description {
+ state, "selected" 0.0;
+ color, 73 104 111 64;
+ }*/
+ }
+
+ part {
name, "title";
type, TEXT;
mouse_events, 1;
+ clip_to, "clip";
description {
color, 181 247 255 255;
@@ -1494,6 +1574,7 @@
name, "length";
type, TEXT;
mouse_events, 1;
+ clip_to, "clip";
description {
color, 181 247 255 255;
@@ -1509,32 +1590,34 @@
}
programs {
+ /*program {
+ name, "clicked";
+ signal, "mouse,clicked,1";
+ source, "*";
+ action, STATE_SET "selected" 0.0;
+ transition, LINEAR, 0.0;
+ target, "background";
+ }*/
+
program {
- 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";
+ name, "dbl_clicked";
+ signal, "mouse,down,1,double";
+ source, "*";
+ action, SIGNAL_EMIT "PLAYLIST_ITEM_PLAY" "";
}
program {
- name, "playlist_scroll_up_length";
+ name, "scroll_up";
signal, "mouse,wheel,0,-1";
- source, "length";
- action, SIGNAL_EMIT "PLAYLIST_SCROLL_UP" "length";
+ source, "*";
+ action, SIGNAL_EMIT "PLAYLIST_SCROLL_UP" "";
}
program {
- name, "playlist_scroll_down_length";
+ name, "scroll_down";
signal, "mouse,wheel,0,1";
- source, "length";
- action, SIGNAL_EMIT "PLAYLIST_SCROLL_DOWN" "length";
+ source, "*";
+ action, SIGNAL_EMIT "PLAYLIST_SCROLL_DOWN" "";
}
}
}
===================================================================
RCS file: /cvsroot/enlightenment/misc/eplayer/data/eplayer.eet,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -3 -r1.13 -r1.14
Binary files /tmp/cvsWgrZ3L and /tmp/cvsUbBNKp 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