Resizing SDL Ogre window without resizing CEGUI elements
Posted: Wed Nov 30, 2005 08:21
Hi there,
I'm not sure to ask this question here ore on the Ogre forum but I don't now if its related to CEGUI or Ogre so I'll ask both.
I've implemented a window resize function for the SDL so that I'm able to resize the Ogre window. Then I have two basic problems:
The view of my camera also gets resized. But I want to have the effect of only "making my window bigger and see more of the scene", not zooming in.
The second problem and I think its related to this one is the CEGUI elements change there size. But they should retain their current size no matter how the window around gets resized. There are special settings for CEGUI (like AutoScale= False) and so on but nothing changed this behavior and because of the view problem maybe I'm doing something wrong in Ogre.
I hope I described my problem so that it's understandable what I mean.
Thanks for you help!
Ben
I'm not sure to ask this question here ore on the Ogre forum but I don't now if its related to CEGUI or Ogre so I'll ask both.
I've implemented a window resize function for the SDL so that I'm able to resize the Ogre window. Then I have two basic problems:
The view of my camera also gets resized. But I want to have the effect of only "making my window bigger and see more of the scene", not zooming in.
The second problem and I think its related to this one is the CEGUI elements change there size. But they should retain their current size no matter how the window around gets resized. There are special settings for CEGUI (like AutoScale= False) and so on but nothing changed this behavior and because of the view problem maybe I'm doing something wrong in Ogre.
I hope I described my problem so that it's understandable what I mean.
Thanks for you help!
Ben