Public Member Functions | Protected Member Functions | Protected Attributes
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 ()

Protected Attributes

GLWindowImplimpl

Detailed Description

Class GLWindow.

Definition at line 25 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

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.


Member Function Documentation

Activate window for usage (set focus)

Definition at line 468 of file GLXWindow.cpp.

Query input event.

Returns:
true if there are events in the event que
Parameters:
Eventdefined 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.

Update OpenGL GLWindow (Swap Buffers)

Definition at line 472 of file GLXWindow.cpp.


Member Data Documentation

Definition at line 54 of file GLWindow.h.


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


blort
Author(s): Thomas Mörwald , Michael Zillich , Andreas Richtsfeld , Johann Prankl , Markus Vincze , Bence Magyar
autogenerated on Wed Aug 26 2015 15:24:12