Starting window position
by Ian Omroth Hardingham · in Technical Issues · 11/29/2010 (11:11 am) · 2 replies
Hey guys, simple but unusual query.
In windowed mode I'd like to be able to set the startup position of the Torque window. Anyone know how to achieve this?
Thanks,
Ian
In windowed mode I'd like to be able to set the startup position of the Torque window. Anyone know how to achieve this?
Thanks,
Ian
About the author
Designer and lead programmer on Frozen Synapse, Frozen Endzone, and Determinance. Co-owner of Mode 7 Games.
#2
02/03/2011 (11:50 am)
I was looking to do the same thing. The PlatformWindow class stores your window position and has the functionality you're looking for. I indirectly access this through the GuiCanvas class by setting up a Console Method so I can set the default position in a script.
Torque Owner Christian S
Oak-Entertainment
in game\core\main.cs they mention constants for rendering mode.
in game\core\unifiedShell\OptionsGui.cs they seem to use them as well
in engine\source\windowManager -win32 & mac the methods and args are also mentioned in win32Window & platformWindow
happy hunting