GM_initWindowPos

Sets the default window position for windowed modes

Declaration

void MGLAPI GM_initWindowPos(
    int x,
    int y)

Prototype In

gm/gm.h

Parameters

x

X coordinate for top left corner of window

y

Y coordinate for top left corner of window

 

Description

This function tells the Game Framework where you want the top left corner of the window to be positioned for windowed modes. By default the Game Framework will center the window on the screen the first time the window is created, and you can use this function to override the default behavior.

See Also

GM_init

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com