Help - Search - Members - Calendar
Full Version: Panel Button Help (posted the code, any help appreciated)
Hydrogenaudio Forums > Hosted Forums > foobar2000 > 3rd Party Plugins - (fb2k)
morphguy12
Hey guys, here's the code:

CODE
$imageabs2(,,,,,,3,36,$getpvar(ImgLocation)borders\corner$getpvar(PLcolor).png,)
$imageabs2(,,,,,,$eval($getpvar(PLmargin)-10),37,$getpvar(ImgLocation)borders\corner$getpvar(PLcolor).png,rotateflip-1)
$imageabs2($getpvar(PLmargin),18,40,,270,,50,52,$getpvar(ImgLocation)borders\line$getpvar(PLcolor).png,nokeepaspect)
$imageabs2(18,%_height%,,40,,90,18,90,$getpvar(ImgLocation)borders\line$getpvar(PLcolor).png,nokeepaspect rotateflip-3)
$imageabs2(18,%_height%,,40,,98,$eval($getpvar(PLmargin)+10),80,$getpvar(ImgLocation)borders\line$getpvar(PLcolor).png,nokeepaspect rotateflip-1)
$imageabs2(,,,,,,2,157,$getpvar(ImgLocation)borders\corner$getpvar(PLcolor).png,rotateflip-3)
$imageabs2(,,,,,,$eval($getpvar(PLmargin)-8),155,$getpvar(ImgLocation)borders\corner$getpvar(PLcolor).png,rotateflip-2)
$imageabs2($getpvar(PLmargin),18,40,,270,,50,175,$getpvar(ImgLocation)borders\line$getpvar(PLcolor).png,nokeepaspect rotateflip-2)
$panel(Vis,Track Display,23,58,$eval($getpvar(PLmargin)-1),186,)



$imageabs2(,,,,,,3,36,$getpvar(ImgLocation)borders\corner$getpvar(PLcolor).png,)
$imageabs2(,,,,,,$eval($getpvar(PLmargin)-10),37,$getpvar(ImgLocation)borders\corner$getpvar(PLcolor).png,rotateflip-1)
$imageabs2($getpvar(PLmargin),18,40,,270,,50,52,$getpvar(ImgLocation)borders\line$getpvar(PLcolor).png,nokeepaspect)
$imageabs2(18,%_height%,,40,,90,18,90,$getpvar(ImgLocation)borders\line$getpvar(PLcolor).png,nokeepaspect rotateflip-3)
$imageabs2(18,%_height%,,40,,98,$eval($getpvar(PLmargin)+10),80,$getpvar(ImgLocation)borders\line$getpvar(PLcolor).png,nokeepaspect rotateflip-1)
$imageabs2(,,,,,,2,157,$getpvar(ImgLocation)borders\corner$getpvar(PLcolor).png,rotateflip-3)
$imageabs2(,,,,,,$eval($getpvar(PLmargin)-8),155,$getpvar(ImgLocation)borders\corner$getpvar(PLcolor).png,rotateflip-2)
$imageabs2($getpvar(PLmargin),18,40,,270,,50,175,$getpvar(ImgLocation)borders\line$getpvar(PLcolor).png,nokeepaspect rotateflip-2)
$panel(Vis2,Track Display,23,58,$eval($getpvar(PLmargin)-1),186,)


    $panel(PLoptions,Track Display,23,242,$eval($getpvar(PLmargin)-1),$sub(%_height%,306),)



It's from Cepi's config, and I have trackinfo panel at the top left, and then another panel with Specturm and such, which is in the same spot. Is there a button to hide one, and show the other, or any other options?

Thanks!! and let me know if you need anymore info or screenshots
Taish
$select($add($getpvar(display),1),
track info
$button(,,,,,,,,'PVAR:SET:display:1',)
,
spectrum
$button(,,,,,,,,'PVAR:SET:display:0',)
)
i think that should do the job.. not sure if i worote it right though
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.