Page 1 of 1
Possible to do odd shapes (circles ect) with a mask?
Posted: Tue Jan 02, 2007 20:42
I want to do a minimap, but would like it to be a circle shape. It seems this would require some kind of 'mask image' to define where cegui would draw the window. Without such a mask, it seems we are limited to square/rectangular shapes no?
What are our options here?
Posted: Tue Jan 02, 2007 21:01
AFAIK, masks doesn't exist (or only rectangular ones). If the minimap is fixed-size maybe you could accomplis it by creating a new widget type, but i don't know much about how to accomplis this.
Posted: Tue Jan 02, 2007 21:55
Even creating a new widget would require some kind of mask though right?
Posted: Tue Jan 02, 2007 22:19
but as a last chance you could try to implement a pseudo-mask (by rewriting some methods atc. but i really dont know much about that.)