Public Member Functions | Protected Member Functions
blortGLWindow::GLWindow Class Reference

Class GLWindow. More...

#include <GLWindow.h>

Inheritance diagram for blortGLWindow::GLWindow:
Inheritance graph
[legend]

List of all members.

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 ()

Detailed Description

Class GLWindow.

Definition at line 39 of file GLWindow.h.


Constructor & Destructor Documentation

Construction of an OpenGL Window (Rendering Context)

Parameters:
widthWindow and OpenGL viewport width in pixel
heightWindow and OpenGL viewport height in pixel
nameCaption of the window in the titel bar
visibleif false the window will not be mapped to the display
blortGLWindow::GLWindow::GLWindow ( unsigned int  width,
unsigned int  height 
)
blortGLWindow::GLWindow::GLWindow ( unsigned int  width,
unsigned int  height,
const char *  name,
bool  visible = true 
)

Member Function Documentation

Activate window for usage (set focus)

Query input event.

Returns:
true if there are events in the event que
Parameters:
Eventdefined in TMGLEvent.h
void blortGLWindow::GLWindow::init ( unsigned int  width,
unsigned int  height,
const char *  name,
bool  visible = true 
) [protected]
void blortGLWindow::GLWindow::quit ( ) [protected]

Update OpenGL GLWindow (Swap Buffers)


The documentation for this class was generated from the following file:


blort
Author(s): Michael Zillich, Thomas Mörwald, Johann Prankl, Andreas Richtsfeld, Bence Magyar (ROS version)
autogenerated on Thu Jan 2 2014 11:38:26