TurtleBrains  0.2.1
High quality, portable, C++ API for native application and game development.
TurtleBrains::Application::WindowProperties Struct Reference

#include <tb_application_window.h>

Public Member Functions

 WindowProperties (void)
 

Public Attributes

tbCore::int16 mWindowWidth
 The width of the window rectangle in pixels. The actual width may be larger to account for the window border.
 
tbCore::int16 mWindowHeight
 The height of the window rectangle in pixels. The actual height may be larger to account for the window title and border.
 
tbCore::int16 mWindowPositionX
 The position of the left edge of the window in pixels.
 
tbCore::int16 mWindowPositionY
 The position of the top edge of the window in pixels.
 

Detailed Description

Holds information about the size and position of a window along with the context information for OpenGL.

Constructor & Destructor Documentation

TurtleBrains::Application::WindowProperties::WindowProperties ( void  )

Sets the default width/height and location for the window. Likely to be (1280x720 at 100,100)