IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
album/artist boxes on SCPL
macca
post Apr 10 2007, 18:19
Post #1





Group: Members
Posts: 174
Joined: 28-February 07
Member No.: 41045



hi,

how can i get those boxes to appear on my SCPL containing the album and artist name, (with the tracks of the corresponding album listed below)

this is my code:

for group display:
CODE
$drawrect(0,0,0,%_height%,brushcolor-100-100-100 pencolor-100-100-100)

$font(,10,bold,171-203-220)
$alignabs(2,0,$sub(%_width%,4),$div(%_height%,2),left,top)%album%
$alignabs(2,$div(%_height%,2),$sub(%_width%,4),$div(%_height%,2),left,top)%artist%


and item display:
CODE
$if(%_selected%,$drawrect(0,0,0,0,brushcolor-SYSCOL-13 pencolor-null))
$if(%_focused%,$drawrect(0,0,0,0,brushcolor-null pencolor-SYSCOL-6))
$if(%_selected%,$textcolor(SYSCOL-9),$textcolor(SYSCOL-8))

$drawrect(0,0,%_width%,1,brushcolor-null pencolor-SYSCOL-6)

$padding(4,0)
$align(right,top)%title%
$align(left,top)$textcolor(80-80-80)%list_index%


and this is how it looks:

http://img402.imageshack.us/img402/6338/foobaryp5.jpg

thanks
Go to the top of the page
+Quote Post
macca
post Apr 12 2007, 23:04
Post #2





Group: Members
Posts: 174
Joined: 28-February 07
Member No.: 41045



this is what i mean when i say 'album/artist boxes'...

http://img102.imageshack.us/img102/5905/synth7hd6.png

... i.e. those blue boxes he/she has used.

(this image is not of my playlist. I found the image elsewhere in the forum, it belongs to 'synth7'; just needed an example)

im sure the first time I used SCPL and added some tracks this was set as a default layout, but somewhere along the line, i have managed to make them vanish.
Go to the top of the page
+Quote Post
Yotsuya
post Apr 13 2007, 05:09
Post #3





Group: Members
Posts: 1535
Joined: 8-May 06
Member No.: 30546



In order to make the group headers appear, you need to tell SCPL how to group your playlist entries. Righ click on the playlist and then under "Sort/Group By" choose "Edit" from the popup menu. You'll need to check the boxes to create a custom sorting and grouping string or choose one of the default presets.


--------------------
http://www.ubuntu.com
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 27th November 2014 - 11:47