I still haven't fully fixed the button transparency problem with my buttons. I am currently using a workaround by placing a duplicate of the buttons in the background using imageabs2, but that is not an ideal solution and I am not entirely sure it will work properly. Somehow the background shows through the button transparency even though the buttons do not, although I have not gotten that to work perfectly, either.
It does not seem to be a problem with my computer, since I tried it on another computer with no luck. Both have windows XP. It does not seem to be a problem with the PNG, since I tried other PNG's (including foobar buttons) and the results were the same. I have the latest versions of both libpng and zlib, not that I think those will make a difference. I have tired eliminating all components besides panels ui and that did not help. I tried various changes to the image, including re-saving them using different software. I can find no difference between my PNG's and other transparent 24-bit PNG's (not that they work, either).
I can only think of three possible reasons. One is that both computers have the same software causing trouble. But I don't know what that would be, and they don't have much software in common. The second is that it is a problem with windows XP, but a lot of other people have XP and don't seem to have this problem. The third is that it lies somewhere in my code, but I am not sure where. So I will just post the entire config (it is not very long, still in early stages). I can tell you that none these worked: changing the redraw type, reordering the buttons, deleting everything but the buttons, changing the clickable area (even eliminating it), deleting the "if" test for the play buttons, and changing or eliminating the options on the buttons. I am pretty much stuck at this point, so any help would be greatly appreciated. I cannot continue with the config unless I have transparency working in the buttons.
// PerTrack
$if($and(%isplaying%,$not(%ispaused%)),
$button($eval(%_width%/2-61),$eval(%_height%-34-4-121),30,30,60,60,/buttons\play-on.png,/buttons\play-on.png,Play or pause,),
$button($eval(%_width%/2-61),$eval(%_height%-34-4-121),30,30,60,60,/buttons\play-off.png,/buttons\play-on.png,Play or pause,)
)
$button($eval(%_width%/2-35),$eval(%_height%-49-4),0,0,75,54,/buttons\stop off.png,/buttons\stop on.png,Stop,TOOLTIP:'Stop')
$button($eval(%_width%/2-35),$eval(%_height%-49-49-121-4),0,0,75,54,/buttons\restart off.png,/buttons\restart on.png,Play,TOOLTIP:'Replay')
$button($eval(%_width%/2-35-161),$eval(%_height%-68-4),0,0,75,54,/buttons\rew off.png,/buttons\rew on.png,Seek back by 5 seconds,TOOLTIP:'Rew')
$button($eval(%_width%/2+35) ,$eval(%_height%-68-4),0,0,75,54,/buttons\ff off.png,/buttons\ff on.png,Seek ahead by 5 seconds,TOOLTIP:'FF')
$button($eval(%_width%/2-35-162),$eval(%_height%-68-115-4-5),0,0,75,54,/buttons\back off.png,/buttons\back on.png,Previous,TOOLTIP:'Previous')
$button($eval(%_width%/2+35) ,$eval(%_height%-68-115-4-5),0,0,75,54,/buttons\forward off.png,/buttons\forward on.png,Next,TOOLTIP:'Next')
$panel(Menu,Menu,1,1,$sub(%_width%,2),19,)
$puts(yOffset,21)
$if(%_trackinfo_notrack%,
,
$panel(Playing,Track Display,0,$get(yOffset),%_width%,50,)
$puts(yOffset,71)
)
$panel(Playlist,Single Column Playlist,$eval(%_width%/4),$get(yOffset),$eval(%_width%/4*3),$sub(%_height%,300),)
$panel(Seek,WSH panel,0,$sub(%_height%,100),%_width%,30,)
$panel(Volume,WSH panel,$sub(%_width%,300),$sub(%_height%,30),300,30,)
$font(,13,,255-255-255)$padding($calcwidth(0000000000),0)($align(left,bottom)$font(,13,,255-255-255)
$if(%_trackinfo_notrack%,
Album Gain: None$char(10)
Track Gain: None
,
Album Gain: $if2([%__replaygain_album_gain%],None)$char(10)
Track Gain: $if2([%__replaygain_track_gain%],None)
// PerSecond
$setpvar(percent,$eval(%playback_time_seconds%/%length_seconds%))
$align(left,bottom)$font(,13,,255-255-255)
$if(%_trackinfo_notrack%,
None$char(10)
0 kbps$char(10)
0 kHz
,
%codec%$char(10)
%bitrate% kbps$char(10)
$div(%samplerate%,1000) kHz
)