Hi,
what ways does CEGUI (0.7.5) offer to create non-standard control groups that are round for example or have some buttons on it that slightly overlap?
A quick google brought a nice example of what I mean:
http://www.maniasarcania.com/wp-content ... repair.jpg
Should I simply create some StaticImages and ImageButtons with round pictures and put them into a FrameWindow or DefaultWindow?
Or is it possible to draw the whole thing into a StaticImage and define "click areas"?
What are the best ways here? Do examples exist? Thanks.
Non-standard controls (round, partly overlapping, ...)
Moderators: CEGUI MVP, CEGUI Team
Re: Non-standard controls (round, partly overlapping, ...)
If you had searched the forum for "round button" you would have found that all you need to render round buttons is to use alpha in your square images, so as to give the perception of a round button. And if you had searched the wiki for "round button" you would have found some code providing an implementation for hit-testing the image, and only registering input events if the non-transparent part of the image was clicked.
Please make sure you exhaust all of the available resources before asking for help, as while this support is free for you it costs us time/money. If people cannot be bothered to do some leg work of their own, this support may cease to exist. And no one wants that to happen! Thank you!
Please make sure you exhaust all of the available resources before asking for help, as while this support is free for you it costs us time/money. If people cannot be bothered to do some leg work of their own, this support may cease to exist. And no one wants that to happen! Thank you!
If somebody helps you by replying to your thread, upvote him/her as a thanks! Make sure to include your CEGUI.log and everything you tried when posting! And remember that we are not magicians!
Who is online
Users browsing this forum: No registered users and 24 guests

