KungFooMasta, CEGUI divides the button widget in 3 parts, with an image for each one. The central part is the only one which stretches its image.
Do you plan to implement a button divided in 9 parts? What is the widget I could use as starting point in QuickGUI to do such button? It seems QuickGUI::Window only uses 5 parts (materials).
If you need, I can send you an image to explain what are those 9 parts, and the kind of stretch to each one.
Images are usually fun to look at.
Maybe you're referring to borders? Border exist for widgets in v0.9.5, and will be redone in v0.9.6. I'll make sure to include an example of a button with borders in the demo app. If I've misunderstood you, then an image would really help explain what you're looking for.
I do not know if what you call border
is exactly what I was trying to say. So let us try the image approach.
When we set the size of a button, some parts of it are stretched to fit the new size. Actually what is stretched is an image texture. For instance, this Windows button is divided in 9 parts.
- The blue ones may not be stretched at all
- The red ones may be stretched vertically
- The green ones may be stretched horizontally
- The yellow one may be stretched freely
Is this what you were calling borders
? Will the new version of QuickGUI support this feature?
Yes, we are talking about the same. Thanks for showing the image.
Each widget will have the ability to use borders. It will be something like
Widget::useBorders( /* some parameters */ );
Very good! Thank you KungFooMasta.