I have a game that I have running in 1024*768 (using the graphics command). But I want to change this to enable it to use some of the GUI gadgets.
So I want to run the game within a window but at 1024*768 resolution, whilst still appearing that the game is running in full screen mode. I can hide the title bar and other bits of the window, and size it so it appears full screen on a monitor running at 1024*768 but if the resolution on the monitor is greater - say 1280*1024 then the window obviously doesn't look like full screen mode.
I can maximize the window but I am worried about how the graphics will be scaled and how calculations and positions will be affected - e.g. will an item positioned at 10,10 appear in the same position relatively on a maximized window compared to a normal one or is the some form of scaling required?
Any helpful tips would be much appreciated - or if I am just talking rubbish then sarcastic derision is fine too.
So I want to run the game within a window but at 1024*768 resolution, whilst still appearing that the game is running in full screen mode. I can hide the title bar and other bits of the window, and size it so it appears full screen on a monitor running at 1024*768 but if the resolution on the monitor is greater - say 1280*1024 then the window obviously doesn't look like full screen mode.
I can maximize the window but I am worried about how the graphics will be scaled and how calculations and positions will be affected - e.g. will an item positioned at 10,10 appear in the same position relatively on a maximized window compared to a normal one or is the some form of scaling required?
Any helpful tips would be much appreciated - or if I am just talking rubbish then sarcastic derision is fine too.