$search

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 (unsigned int width, unsigned int height, const char *name, bool visible=true)
 GLWindow (unsigned int width, unsigned int height)
 GLWindow ()
 Construction of an OpenGL Window (Rendering Context).
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

blortGLWindow::GLWindow::GLWindow (  ) 

Construction of an OpenGL Window (Rendering Context).

Parameters:
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
blortGLWindow::GLWindow::GLWindow ( unsigned int  width,
unsigned int  height 
)
blortGLWindow::GLWindow::GLWindow ( unsigned int  width,
unsigned int  height,
const char *  name,
bool  visible = true 
)
blortGLWindow::GLWindow::~GLWindow (  ) 

Member Function Documentation

void blortGLWindow::GLWindow::Activate (  ) 

Activate window for usage (set focus).

bool blortGLWindow::GLWindow::GetEvent ( Event event  ) 

Query input event.

Returns:
true if there are events in the event que
Parameters:
Event defined 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]
void blortGLWindow::GLWindow::Update (  ) 

Update OpenGL GLWindow (Swap Buffers).


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


blort
Author(s): Michael Zillich, Thomas Mörwald, Johann Prankl, Andreas Richtsfeld, Bence Magyar (ROS version)
autogenerated on Fri Mar 1 16:57:58 2013