Litestep "Media Center" Thread last updated on 2006-03-02 19:21:02

Posted by member 256309 on 2006-03-02 16:23:36

I saw a thread on essentially making a "Media Center" by using xlabel, but what I'm looking for is something a bit more complex.

Essentially, I want to have a background image with "hotspots" that are in somewhat random shapes, like if you had a circle, it would only be 1/3 of the circle. So I'm wanting a button that's in any shape I want in a very defined area.

The other thing I want is to, when there's a mouse over, have text or an image appear in another area.

Any ideas?

Posted by member 212670 on 2006-03-02 17:03:17 link

Pretty simple to do. Have you read the xlabel docs? If so, what is the part you're actually stuck on?

Posted by member 256309 on 2006-03-02 17:35:54 link

As far as I could tell, the only things you could make (shape wise) would be typical shapes, like a square or circle. If, for instance, I wanted to create a "hotspot" shape that looked like the eiffel tower, it seems like I can only create something where the whole rectangle around the eiffel tower would be hot. What I want is where the mouse is over the actual image it would bring something up, not when my mouse is 10 pixels away because of the limitations of rectangle.

Posted by member 1885 on 2006-03-02 17:41:30 link

Well, you could simply cut out the Eiffel tower from the background, save it as a new image (with a transparent bg), and then put it as a label on top of the "original" background image.

Posted by member 1949 on 2006-03-02 18:21:28 link

Exactly, West...

The best way around this design.

Posted by member 212670 on 2006-03-02 18:55:23 link

Yup, and use docking if you wanted to move them around, or something. Might need BehindWindow, too.

Posted by member 256309 on 2006-03-02 19:21:02 link

Great! Thank you all so much for the speedy help. =)