Enlightenment CVS committal
Author : tsauerbeck
Project : e17
Module : apps/euphoria
Dir : e17/apps/euphoria/data/themes/iio
Modified Files:
iio.edc
Log Message:
iio supports the SET_SONGNAME message now
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/euphoria/data/themes/iio/iio.edc,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- iio.edc 26 Aug 2004 01:00:06 -0000 1.10
+++ iio.edc 29 Apr 2005 16:59:47 -0000 1.11
@@ -1,3 +1,5 @@
+#include "../common.inc"
+
#include "macros/vpanel.edc"
#include "macros/fd_entity.edc"
@@ -19,6 +21,30 @@
collections {
group { name, "euphoria"; min, 413 94; max, 413 94;
+
+ script {
+ public message (Msg_Type:type, id, ...)
+ {
+ switch (id) {
+ case MSG_ID_SET_SONGNAME: {
+ new buf[128];
+
+ if (type != MSG_STRING_SET || numargs
() < 5)
+ return;
+
+ getsarg (2, buf, 128);
+ set_text (PART:"artist_name", buf);
+
+ getsarg (3, buf, 128);
+ set_text (PART:"song_name", buf);
+
+ getsarg (4, buf, 128);
+ set_text (PART:"album_name", buf);
+ }
+ }
+ }
+ }
+
parts {
#include "collections/base_to.edc"
}
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs