Hello,
imagine the windows in my application are spread within an area of say 10,000x10,000 . Now I have the default viewport of say 800x600. I want to be able to move this viewport around, so I can see the different windows. Furthermore I'd like to zoom out, at the most extreme level displaying all windows inside the 10,000x10,000 area, all shown very small only of course.
How can I realize this with cegui? So far I have messed around with the viewport of the renderer and viewport target, but that does not work as expected.
-Matthias
Panning/zooming
Moderators: CEGUI MVP, CEGUI Team
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Re: Panning/zooming
I don't have and specific insight into how to go about this. I guess creating a container window with the appropriate dimensions, adding the content to it, and then setting absolute negative offsets could achieve the panning (basically like a scrollable pane). For the zooming, I'm not sure what to suggest at the moment - it's something I've never tried! So, your guess is as good as mine (yes, I know that's a lame answer ).
CE.
CE.
Useful Links: Forum Guidelines | Documentation | Tutorials | HOWTO | Videos | Donate to CEGUI | CEGUI Twitter
Who is online
Users browsing this forum: No registered users and 13 guests