Enlightenment CVS committal

Author  : tsauerbeck
Project : e17
Module  : apps/euphoria

Dir     : e17/apps/euphoria/data/themes/winter/groups


Modified Files:
        euphoria.edc 


Log Message:
winter supports the SET_SONGNAME message now
===================================================================
RCS file: 
/cvsroot/enlightenment/e17/apps/euphoria/data/themes/winter/groups/euphoria.edc,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- euphoria.edc        28 Apr 2005 07:46:23 -0000      1.3
+++ euphoria.edc        29 Apr 2005 16:52:23 -0000      1.4
@@ -7,6 +7,29 @@
                item, "shaped" "hell yeah";
        }
 
+       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 "../parts/main.edc"
 #include "../parts/playlist.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
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to