Unofficial OpenGL Software Development Kit
0.5.0
|
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... | |
Contains functions to position the window relative to the desktop.