Is it possible to create a hidden button?

About usage, announcement and development of skins for VLC
joethezombie
Blank Cone
Blank Cone
Posts: 78
Joined: 15 Jan 2007 08:26

Is it possible to create a hidden button?

Postby joethezombie » 15 Jan 2007 19:52

I wish to create a hidden button. One that is only visible when the mouse is hovering over the control. The problem is VLC will not show the over="example.png" image if the up="transparent.png" image is completely transparent. In fact, the control can only be operated on visible pixels.

Is there a way to allow the control to be operated even though it is transparent?

ipkiss
Big Cone-huna
Big Cone-huna
Posts: 695
Joined: 23 Nov 2003 01:49

Postby ipkiss » 16 Jan 2007 00:06

You can use the part of the background image which is behind the button, for the "up" state.

joethezombie
Blank Cone
Blank Cone
Posts: 78
Joined: 15 Jan 2007 08:26

Postby joethezombie » 16 Jan 2007 04:14

Unfortunately, the background image changes depending on certain variables, but I altered the skin to compensate. Not what I wanted to do, but it works.


Return to “Skins”

Who is online

Users browsing this forum: No registered users and 71 guests