#include <GLWindow.h>
Public Member Functions | |
void | Activate () |
Activate window for usage (set focus) | |
bool | GetEvent (Event &event) |
Query input event. | |
GLWindow () | |
Construction of an OpenGL Window (Rendering Context) | |
GLWindow (unsigned int width, unsigned int height) | |
GLWindow (unsigned int width, unsigned int height, const char *name, bool visible=true) | |
void | Update () |
Update OpenGL GLWindow (Swap Buffers) | |
~GLWindow () | |
Protected Member Functions | |
void | init (unsigned int width, unsigned int height, const char *name, bool visible=true) |
void | quit () |
Protected Attributes | |
GLWindowImpl * | impl |
Class GLWindow.
Definition at line 25 of file GLWindow.h.
Construction of an OpenGL Window (Rendering Context)
width | Window and OpenGL viewport width in pixel |
height | Window and OpenGL viewport height in pixel |
name | Caption of the window in the titel bar |
visible | if false the window will not be mapped to the display |
Definition at line 476 of file GLXWindow.cpp.
blortGLWindow::GLWindow::GLWindow | ( | unsigned int | width, |
unsigned int | height | ||
) |
Definition at line 482 of file GLXWindow.cpp.
blortGLWindow::GLWindow::GLWindow | ( | unsigned int | width, |
unsigned int | height, | ||
const char * | name, | ||
bool | visible = true |
||
) |
Definition at line 488 of file GLXWindow.cpp.
Definition at line 493 of file GLXWindow.cpp.
void blortGLWindow::GLWindow::Activate | ( | ) |
Activate window for usage (set focus)
Definition at line 468 of file GLXWindow.cpp.
bool blortGLWindow::GLWindow::GetEvent | ( | Event & | event | ) |
Query input event.
Event | defined in TMGLEvent.h |
Definition at line 498 of file GLXWindow.cpp.
void blortGLWindow::GLWindow::init | ( | unsigned int | width, |
unsigned int | height, | ||
const char * | name, | ||
bool | visible = true |
||
) | [protected] |
Definition at line 460 of file GLXWindow.cpp.
void blortGLWindow::GLWindow::quit | ( | ) | [protected] |
Definition at line 464 of file GLXWindow.cpp.
void blortGLWindow::GLWindow::Update | ( | ) |
Update OpenGL GLWindow (Swap Buffers)
Definition at line 472 of file GLXWindow.cpp.
GLWindowImpl* blortGLWindow::GLWindow::impl [protected] |
Definition at line 54 of file GLWindow.h.