Chaotica
Dec 26 2006, 05:55
my foobar looks like this atm:

and i can't seem to figure out how to get rid of those white "boxes" under the arrow, help?!
Yotsuya
Dec 26 2006, 14:40
post your code for SCPL but I would assume you are either using an invalid character for your codepage or loading an image that is either white or non-existent.
Chaotica
Dec 27 2006, 09:15
Code:
$if(%_isplaying%,$drawrect(8,8,8,8,brushcolor-8-8-8 pencolor-8-8-8),
$if(%_selected%,$drawrect(8,8,8,8,brushcolor-228-234-242 pencolor-null),
$ifequal($mod(%tracknumber%,8),8,
$drawrect(8,8,8,8,brushcolor-252-252-252 pencolor-245-245-245)
,
$drawrect(8,8,8,8,brushcolor-255-255-255 pencolor-null)
)
)
)
$padding(8,0)
$if(%_isplaying%,$font(calibri,8,bold glow-129-138-150 glowblur-10,255-255-255),$font(calibri,8,bold,164-171-179))
$alignabs(8,0,%_width%,29,left,top)↘
$if(%_isplaying%,$font(calibri,8,bold glow-129-138-190 glowblur-10,255-255-255),$font(calibri,8,bold,180-180-180))
[Disc %discnumber% ][%tracknumber%. ]
$if(%_isplaying%,$font(calibri,8,bold glow-129-138-150 glowblur-10,255-255-255),$font(calibri,8,bold,129-138-150))
$if($meta_test(album artist),%artist%' - ')
$if(%_isplaying%,$font(calibri,8,bold glow-129-138-150 glowblur-10,255-255-255),$font(calibri,8,bold,120-120-120))
%title%
$if(%_isplaying%,$font(calibri,8,bold glow-129-138-150 glowblur-10,255-255-255),$font(calibri,8,bold,180-180-180))
$align(right,center)%length%
//$drawrect(8,8,8,8,brushcolor-161-170-179 pencolor-null)
//$drawrect(8,8,8,8,brushcolor-222-225-228 pencolor-null)
---
$font(cambria,12,bold,164-171-179)
$drawrect(8,8,8,8,brushcolor-240-240-240 pencolor-null)
$alignabs(12,40,$add(%_width%,-107),20,left,top)
$lower($if2(%album artist%,%artist%))
$alignabs(12,55,$add(%_width%,-107),20,left,top)
$font(Swis721 Cn BT D-Type,14,,138-145-153)
%album%$font(Swis721 Cn BT D-Type,14,bold,120-120-120)[ %date%]
$alignabs(12,71,$add(%_width%,-107),20,left,top)
$font(calibri,9,bold,153-153-153)[$upper(%genre%)]
Yotsuya
Dec 27 2006, 14:43
This is just a guess but I have suspicions about this chunk of code here:
CODE
$ifequal($mod(%tracknumber%,8),8,
$drawrect(8,8,8,8,brushcolor-252-252-252 pencolor-245-245-245)
,
$drawrect(8,8,8,8,brushcolor-255-255-255 pencolor-null)
)
It appears you are intentionally drawing those little white squares, with the square for every 8th track being slightly darker with a slightly even more darker outline. I assume your are inheriting this code from someone else's layout, if you want to get rid of the white squares completely then try commenting out the above lines of code. However it appears that these little boxes are being used for nowplaying and selected indicators per the first couple lines of code, you may want to consider changing them to a different color instead.
NOTE: In the future, when quoting large amounts of code please use the CODEBOX tag.