FrameComponent tiling not only for background
Posted: Sat Jan 20, 2007 16:29
Hi,
I noticed that the FrameComponent does tiling (if you set <HorzFormat type="Stretched" /> and <VertFormat type="Stretched" />) only for the background image.
This is very restricting to skin designers. Often we want some kind of repeating pattern on a button or a window's frame, not only for the background but also for the left, right, top and bottom edges. In it's current version, CEGUI does a stretch operation for all edges, no matter what formatting you choose. As a result, you can only use images or edges that don't contain much visible detail on the one axis, because it would just look blurred when stretched.
I know that this would be an easy thing to add, since it is also possible for the background image, but I'm not very familiar with CEGUI yet.
David
I noticed that the FrameComponent does tiling (if you set <HorzFormat type="Stretched" /> and <VertFormat type="Stretched" />) only for the background image.
This is very restricting to skin designers. Often we want some kind of repeating pattern on a button or a window's frame, not only for the background but also for the left, right, top and bottom edges. In it's current version, CEGUI does a stretch operation for all edges, no matter what formatting you choose. As a result, you can only use images or edges that don't contain much visible detail on the one axis, because it would just look blurred when stretched.
I know that this would be an easy thing to add, since it is also possible for the background image, but I'm not very familiar with CEGUI yet.
David