Well... I was too fast... "a few hours later".. I look at the player and the cover is..GONE and the button isn't doing anything again.
"I'm loosing my latin" as we say in france !
"I'm loosing my latin" as we say in france !
code:
<bitmap id="cover.btn" file="player/Normal-cover.png" x="0" y="0" w="18" h="20" />
<bitmap id="cover.btn.hover" file="player/Normal-cover.png" x="0" y="20" w="18" h="20" />
<bitmap id="cover.btn.pressed" file="player/Normal-cover.png" x="0" y="40" w="18" h="20" />
<bitmap id="trans1pxl" file="player/Background.png" x="0" y="0" w="1" h="1"/>
and inside container/layout partcode:
<!-- Coverart Definition -->
<groupdef id="cover" xuitag="cover">
<layer id="cover.image.a" x="0" y="0" w="0" h="0" relatw="1" relath="1" image="trans1pxl" ghost="1" />
<layer id="cover.image.b" x="0" y="0" w="0" h="0" relatw="1" relath="1" image="" ghost="1" />
<script id="cover.script" file="scripts/cover.maki"></script>
<script id="showhidecover.script" file="scripts/showhidecover.maki"></script>
</groupdef>
Cover isn't displayed, button shows up but cliking it doesn't do anything...code:
<button id="coverbtn" x="8" y="15" w="18" h="20" image="cover.btn" hoverImage="cover.btn.hover" downimage="cover.btn.pressed" tooltip="coverart on/off"/>
<AlbumArt id="albumart" x="10" y="10" w="64" h="64" notfoundImage="nocover" ghost="1"/>
<groupdef id="albumartgroup" w="74" h="74">
<AlbumArt id="albumart" x="10" y="10" w="64" h="64" notfoundImage="nocover" ghost="1"/>
</groupdef>
<group id="albumartgroup" x="0" y="0"/>
<groupdef id="albumartgroup" w="94" h="74">
<button id="albumartbutton" x="78" y="10" image="coverbutton" tooltip="albumart on/off"/>
<AlbumArt id="albumart" x="10" y="10" w="64" h="64" notfoundImage="nocover" ghost="1"/>
<script id="albumartshowhide" file="scripts/albumartshowhide.maki" />
</groupdef>
<group id="albumartgroup" x="0" y="0"/>
<windowholder x="24" y="49" w="99" h="99" autoclose="1" autoopen="1"
autoavailable="1" visible="1" hold="guid:AVS" move="1"/>
<windowholder id="avsholder" x="24" y="49" w="99" h="99" autoclose="1"
autoopen="0" autoavailable="0" visible="1" hold="guid:AVS" move="1"/>
<AlbumArt id="albumart" x="24" y="49" w="99" h="99" notfoundImage="nocover"/>
<togglebutton id="artavs" action="TOGGLE" param="guid:AVS" x="81" y="12"
image="button.artavs" tooltip="AlbumArt/AVS"/>
Comment