Can multiple buttons with same targets sync image state?

The forum for designers and developers.
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
SilverEagle
Posts: 713
Joined: 30. Sep 08, 14:00
Location: Netherlands
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Can multiple buttons with same targets sync image state?

Postby SilverEagle » 8. Oct 08, 10:31

Hi Team,

While developing new skins I am running into quite a few limitations, but the most important one is that although multiple buttons can have the same target, their image is only changed when SilverJuke has an internal change, for instance play<->pause changes.

What I'd expect and really could use is that also the 'hovering' and 'clicked' state is mirrored in the other buttons with the same target.

In plain english: when I have two buttons with a the same target, and I hover over one of them, then I'd expect the other one to show the 'hovered' image as well. Same for clicking.

And any change of this being implemented before the end of the contest? :-)

Regards,
SilverEagle
Last edited by SilverEagle on 9. Oct 08, 16:20, edited 1 time in total.

User avatar
Service-Team
Posts: 2448
Joined: 7. Dec 04, 04:48
Location: Germany
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Can multiple buttons with same targes sync image state?

Postby Service-Team » 9. Oct 08, 11:38


User avatar
Service-Team
Posts: 2448
Joined: 7. Dec 04, 04:48
Location: Germany
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Can multiple buttons with same targes sync image state?

Postby Service-Team » 9. Oct 08, 11:44

An additional note:

You are right, hovered images are not synched, however, states as Play, Pause, Repeat, Shuffle etc. are synched between different buttons having the same target.

Best regards,
Your Silverjuke-Team
Last edited by Service-Team on 22. Oct 08, 10:09, edited 1 time in total.

SilverEagle
Posts: 713
Joined: 30. Sep 08, 14:00
Location: Netherlands
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Can multiple buttons with same targes sync image state?

Postby SilverEagle » 9. Oct 08, 13:35

Hi Team,

Service-Team wrote:
> We have put this on the wishlist, however, do not
> expect this feature to be there before the end of
> the skin contest (we fear, if we do so, there
> would be tons of additional skinning wishes ;-))

Pity but completely understandable ;-)

Related issue: by default a button gets its h/w from its image. I found out when I define a smaller width/height myself the image is shown centered around the active area. Unfortunately although the complete image is shown, the hovered/clicked image is only shown in the smaller area I defined in the tag. Is there any way to get the full hover/click image to show?

Regards,
SilverEagle

User avatar
Service-Team
Posts: 2448
Joined: 7. Dec 04, 04:48
Location: Germany
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Can multiple buttons with same targes sync image state?

Postby Service-Team » 9. Oct 08, 19:16

SilverEagle wrote:
> Related issue: by default a button gets its h/w
> from its image. I found out when I define a
> smaller width/height myself [...]

The behaviour for images files larger than defined by the <button>-tag is completely undefined; for optimization reasons, the image may be clipped or not. Please use <button>-tags which are large enough or use smaller image files.

Best regards,
Your Silverjuke-Team


[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Return to “Developer Network”