Multiple Screens
Posted: Wed Dec 28, 2005 00:53
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
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