Panning/zooming
Posted: Mon Dec 14, 2009 02:04
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
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