Page 1 of 1

how to use CEGUI draw "Circle Control"

Posted: Thu Jun 03, 2010 05:30
by jasonjzz
CEGUI default control All are based on Rectangle.

I dont know whether to support the draw "Circle Control".


like this:

Image


thanks!

Re: how to use CEGUI draw "Circle Control"

Posted: Thu Jun 03, 2010 09:03
by CrazyEddie
To do something like in the image posted you just ensure your 'fill' image is circular also, and just treat the thing as a square otherwise. Since you have transparent regions, it shows as circular, and this is the way probably 99% of these things are handled. To have actual circular windows, where child content is clipped to the inner edge of the circle is not currently supported.

CE.