Unofficial OpenGL Software Development Kit  0.5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Namespaces | Enumerations | Functions
WindowPos.h File Reference

Contains functions to position the window relative to the desktop. More...

#include <glm/glm.hpp>

Go to the source code of this file.

Namespaces

namespace  glutil
 The main namespace for the GL Utility library. All GL Util functions are in this namespace.
 

Enumerations

enum  glutil::HorizWindowPos { glutil::WH_CENTER, glutil::WH_LEFT, glutil::WH_RIGHT }
 Horizontal window positions. More...
 
enum  glutil::VertWindowPos { glutil::WV_CENTER, glutil::WV_TOP, glutil::WV_BOTTOM }
 Vertical window positions. More...
 

Functions

glm::ivec2 glutil::CalcWindowPosition (const glm::ivec2 &wndSize, const glm::ivec2 &desktopSize, HorizWindowPos hpos=WH_CENTER, VertWindowPos vpos=WV_CENTER)
 Compute the position of the window relative to the desktop area. More...
 

Detailed Description

Contains functions to position the window relative to the desktop.