Hi guys,
The engine I am using supports multiple windows (not cegui windows) for the desktop. Only a few games might actually use more than one window, but this engine is meant to be general purpose, so it could be used to make games, but also editors, scientific tools, or educational applications. I am trying to improve the engine's use of CEGUI. I want to tell the CEGUI:: System about window resolution changes so that the GUI actually looks better for arbitrary resolutions. I realized that this could be bad for applications using more than one window. Has the idea of more than one screen ever been brought up in the CEGUI development? I think CEGUI could support this concept out of the box if it was possible to run more than one System. A coworker suggested that the fact that the System being a singleton is not necessarily a problem if CEGUI had the concept of resolution per 'screen'. I could see making CEGUI becoming screen-aware as being a lot of work to implement. What do you guys think about this? Are multiple screens something that CEGUI could support eventually? How could this support be implemented? Personally, I would like to have several independent CEGUI:: Systems running, so I'm not a fan of the singleton usage, but I'm willing to listen to possible ways to work around the fact that we live in a singleton world.
Thanks, -granx
Multiple Screens
Moderators: CEGUI MVP, CEGUI Team
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Re: Multiple Screens
Broken return key?
More than one CEGUI screen has not been discussed at all seriously, which is why there's really no easy way of doing this at the moment.
It's certainly something that would be possible in the future, though I have not given much thought over to it as yet.
It's most likely that you'd end up with something like multiple renderers to accomplish this, as opposed to multiple system objects. Though in actuality a new intermediate object of some description, to hold details about position resolution, active sheet, etc, could be introduced.
CE.
![Very Happy :-D](./images/smilies/icon_biggrin.gif)
More than one CEGUI screen has not been discussed at all seriously, which is why there's really no easy way of doing this at the moment.
It's certainly something that would be possible in the future, though I have not given much thought over to it as yet.
It's most likely that you'd end up with something like multiple renderers to accomplish this, as opposed to multiple system objects. Though in actuality a new intermediate object of some description, to hold details about position resolution, active sheet, etc, could be introduced.
CE.
Useful Links: Forum Guidelines | Documentation | Tutorials | HOWTO | Videos | Donate to CEGUI | CEGUI Twitter
Return to “CEGUI Library Development Discussion”
Who is online
Users browsing this forum: No registered users and 3 guests