Thread: [Ap-python-commits] python/examples/aptk playtime.xpm,NONE,1.1 track.xpm,NONE,1.1 Makefile.am,1.4,1.
Status: Beta
Brought to you by:
sjah
From: <sj...@us...> - 2002-07-19 07:36:14
|
Update of /cvsroot/ap-python/python/examples/aptk In directory usw-pr-cvs1:/tmp/cvs-serv30994 Modified Files: Makefile.am playlist.py Added Files: playtime.xpm track.xpm Log Message: Add pixmaps for some titles of playlist. --- NEW FILE: playtime.xpm --- /* XPM */ static char * playtime_xpm[] = { "16 16 121 2", " c None", ". c #D0BE5B", "+ c #DCCC64", "@ c #C1B35C", "# c #B6A74F", "$ c #A19245", "% c #9C9153", "& c #A59C5D", "* c #BDB460", "= c #E2D867", "- c #EADF67", "; c #BFB159", "> c #9F9144", ", c #837E63", "' c #979695", ") c #939393", "! c #929292", "~ c #999999", "{ c #93927D", "] c #C1B761", "^ c #D5C553", "/ c #C0B159", "( c #9B8C40", "_ c #8D8A7E", ": c #9D9D9D", "< c #838383", "[ c #969696", "} c #797979", "| c #93928F", "1 c #B7A857", "2 c #BEA439", "3 c #B4A44D", "4 c #857F65", "5 c #A3A3A3", "6 c #9F9F9F", "7 c #9C9C9C", "8 c #8B8B8B", "9 c #8A887E", "0 c #BB9E37", "a c #A39446", "b c #969594", "c c #878787", "d c #9B9B9B", "e c #989898", "f c #959595", "g c #8F8F8F", "h c #747474", "i c #848484", "j c #B9A65D", "k c #AC912D", "l c #CCBA51", "m c #837A45", "n c #555555", "o c #383838", "p c #323232", "q c #313131", "r c #363636", "s c #2F2F2F", "t c #868686", "u c #7C7C7C", "v c #B8AB76", "w c #BCA138", "x c #D6C557", "y c #8A824E", "z c #151515", "A c #131313", "B c #1F1F1F", "C c #1D1D1D", "D c #2C2C2C", "E c #696969", "F c #818181", "G c #7F7F7F", "H c #6B6B6B", "I c #BBB682", "J c #B59E3D", "K c #BBB25C", "L c #4D4D4D", "M c #292929", "N c #282828", "O c #3D3D3D", "P c #7D7D7D", "Q c #CECA85", "R c #A1903C", "S c #D7CC5D", "T c #5C5B4F", "U c #2D2D2D", "V c #393939", "W c #676767", "X c #838380", "Y c #CDC96A", "Z c #9F903D", "` c #D4C655", " . c #BDB25D", ".. c #494948", "+. c #2B2B2B", "@. c #494949", "#. c #585858", "$. c #6F6F6F", "%. c #C8C68E", "&. c #B0A449", "*. c #D1C04F", "=. c #B4A554", "-. c #5A5852", ";. c #3F3F3F", ">. c #7B7B7B", ",. c #7B7B78", "'. c #CBC98F", "). c #BDB453", "!. c #C0A439", "~. c #BEA038", "{. c #BAA65D", "]. c #B1A470", "^. c #B4B07D", "/. c #D7D389", "(. c #DEDA71", "_. c #BBB04E", ":. c #A88F2E", "<. c #BCA23B", "[. c #C3AA43", "}. c #BCA745", "|. c #AC9D42", " ", " . + ", " @ # $ % & * = - ", " ; > , ' ) ! ~ { ] ^ ", " / ( _ : < ~ [ ! } | 1 2 ", " 3 4 [ 5 6 7 ~ [ ) 8 9 0 ", " a b c d d e f ! g h i j k ", " l m n o p q q r s s t u v w ", " x y p z A B C D E F G H I J ", " K L M M N s O t < u P Q R ", " S T N q q U V } G W X Y Z ", " ` ...q +.M @.#.$.G %.&. ", " *.=.-.;.V o >.,.'.). ", " !.~.{.].^./.(._. ", " :.<.[.}.|. ", " "}; --- NEW FILE: track.xpm --- /* XPM */ static char * track_xpm[] = { "16 16 5 1", " c None", ". c #000000", "+ c #424242", "@ c #545454", "# c #373737", " ", " .. ", " ... ", " . ", " . ++++ ", " . + ", " . + ", " . + ", " + @@@@ ", " + @ ", " ++++# @ ", " @ ", " @ ", " @@ @ ", " @@@ ", " "}; Index: Makefile.am =================================================================== RCS file: /cvsroot/ap-python/python/examples/aptk/Makefile.am,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** Makefile.am 18 Jul 2002 09:16:02 -0000 1.4 --- Makefile.am 19 Jul 2002 07:36:08 -0000 1.5 *************** *** 1,3 **** EXTRA_DIST = c_pan.xpm f_play.xpm gtkplayer.py l_pan.xpm mute.xpm next.xpm\ pause.xpm play.xpm prev.xpm r_pan.xpm r_play.xpm stop.xpm panel.py\ ! play-sm.xpm stop-sm.xpm prev-sm.xpm next-sm.xpm playlist.py current_play.xpm --- 1,4 ---- EXTRA_DIST = c_pan.xpm f_play.xpm gtkplayer.py l_pan.xpm mute.xpm next.xpm\ pause.xpm play.xpm prev.xpm r_pan.xpm r_play.xpm stop.xpm panel.py\ ! play-sm.xpm stop-sm.xpm prev-sm.xpm next-sm.xpm playlist.py current_play.xpm\ ! playtime.xpm track.xpm Index: playlist.py =================================================================== RCS file: /cvsroot/ap-python/python/examples/aptk/playlist.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** playlist.py 18 Jul 2002 09:16:02 -0000 1.2 --- playlist.py 19 Jul 2002 07:36:11 -0000 1.3 *************** *** 27,30 **** --- 27,45 ---- import alsaplayer, aptk, gtk + ##################################################################### + playlist_properties = { + 'columns' : ['current', 'playtime', 'track', 'title', 'album', 'artist', 'year', 'genre'], + 'title for playtime' : ("playtime.xpm",), + 'title for track' : ("track.xpm",), + 'title for title' : 'Title', + 'title for current' : ' ', + 'title for album' : 'Album', + 'title for artist' : 'Artist', + 'title for year' : 'Year', + 'title for genre' : 'Genre', + 'mark for current' : ("current_play.xpm",) + } + + ##################################################################### pl = alsaplayer.get_playlist () cp = pl.get_coreplayer () *************** *** 33,38 **** gtk.mainquit (); ! ! win = aptk.playlist.PlaylistWindow (pl, "current_play.xpm") win.connect ("delete_event", delete_event) win.show () --- 48,52 ---- gtk.mainquit (); ! win = aptk.playlist.PlaylistWindow (pl, playlist_properties) win.connect ("delete_event", delete_event) win.show () |