Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: $imageabs in SCPL (Read 1705 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