Skip to main content
Topic: $imageabs in SCPL (Read 1056 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

$imageabs in SCPL

hi, in this code..

Code: [Select]
$drawrect(0,0,0,%_height%,brushcolor-SYSCOL-18 pencolor-SYSCOL-8)

$font(,10,bold glow-171-203-220 glowexpand-1,SYSCOL-15)
$alignabs(2,0,$sub(%_width%,4),$div(%_height%,2),left,top)%artist%:
$font(,8,bold,SYSCOL-15)
$alignabs(2,$div(%_height%,2),$sub(%_width%,4),$div(%_height%,2),left,top)%album%


..if I want to draw a background image for the album/artist title boxes instead of having just a simple coloured rectangle like I have here:

http://img263.imageshack.us/img263/7215/foobarfp5.jpg

..how would i modify this code to implement the $imageabs function?
I know where to put all the parameters of the function, but im not actually sure how to use it, for example do I just get rid of the $drawrect function, and replace it, or use them both?

thanks in adv.
macca

 
SimplePortal 1.0.0 RC1 © 2008-2020