OpenLayer Offline Manual

OpenLayer | Setup | GetWindowWidth GetWindowWidth
static inline int GetWindowWidth()
Returns the width of the program window. Of course this function only works after Setup::SetupScreen is called. Examples // Get the width of the window // int windowWidth = Setup::GetWindowWidth(); Other functions of the class Setup
SetupProgram | Sets up OpenLayer and the other libraries
SetupScreen | Sets up the program window or the fullscreen mode
GetWindowWidth | Returns the width of the program window
GetWindowHeight | Returns the height of the program window
GetColorDepth | Returns the color depth of the program window
GetExecutablePath | Returns the path of the program executable
ToAbsolutePathname | Converts the relative pathname to an absolute one
Advanced functions
IsProgramSetUp | Returns true if SetupProgram is called
IsScreenSetUp | Returns true if SetupScreen is called
Back to the main page of the manual Questions about GetWindowWidth? Click here.