1 #include "../common.inc"
3 #include "macros/vpanel.edc"
4 #include "macros/fd_entity.edc"
10 #include "img/images.edc"
14 #include "fonts/fonts.edc"
18 // esmart.filedialog by atmos
20 // various fixed by trill
23 group { name, "euphoria"; min, 413 94; max, 413 94;
26 item, "shaped" "you bet";
30 public message (Msg_Type:type, id, ...)
33 case MSG_ID_SET_SONGNAME: {
34 new buf[128], args_left;
36 args_left = numargs () - 2;
38 /* if the one argument is a string, the current song
39 * is a stream, and the argument is the stream's name
42 if (type == MSG_STRING && args_left == 1) {
43 getsarg (2, buf, 128);
44 set_text (PART:"artist_name", buf);
46 set_text (PART:"song_name", "");
47 set_text (PART:"album_name", "");
48 } else if (type == MSG_STRING_SET && args_left > 1) {
49 getsarg (2, buf, 128);
50 set_text (PART:"artist_name", buf);
52 getsarg (3, buf, 128);
53 set_text (PART:"song_name", buf);
55 getsarg (4, buf, 128);
56 set_text (PART:"album_name", buf);
64 #include "collections/base_to.edc"
67 #include "programs/controls_to.edc"
71 group { name, "playlist_item"; min, 122 9; max, 122 9;
73 #include "collections/playlist.edc"
76 #include "programs/playlist.edc"
80 group { name, "alternate"; min, 93 187; max, 93 187;
82 #include "collections/switch.edc"
85 #include "programs/switch.edc"
89 group { name, "esmart.filedialog"; min, 413 188; max, 413 9999;
91 #include "hashes/containers.edc"
92 #include "hashes/window.edc"
96 #include "collections/esmart_fd.edc"
99 #include "programs/esmart_fd.edc"
102 group { name, "esmart.filedialog.file"; min, 80 15; max, 800 15;
104 FD_ENTITY("file", 1.0 0.5)
107 FD_ENTITY_PROGS("file")
110 group { name, "esmart.filedialog.directory"; min, 80 15; max, 800 15;
112 FD_ENTITY("directory", 0.0 0.5)
115 FD_ENTITY_DIRECTORY_PROGS("directory")