Loading...
Searching...
No Matches
GarchGLDebugWindow Class Reference

Platform specific minimum GL widget for unit tests. More...

#include <glDebugWindow.h>

Public Types

enum  Buttons { MyButton1 = 0 , MyButton2 = 1 , MyButton3 = 2 }
 
enum  ModifierKeys { NoModifiers = 0 , Shift = 1 , Alt = 2 , Ctrl = 4 }
 

Public Member Functions

GARCH_API GarchGLDebugWindow (const char *title, int width, int height)
 
GARCH_API void Init ()
 
GARCH_API void Run ()
 
GARCH_API void ExitApp ()
 
int GetWidth () const
 
int GetHeight () const
 
virtual GARCH_API void OnInitializeGL ()
 
virtual GARCH_API void OnUninitializeGL ()
 
virtual GARCH_API void OnResize (int w, int h)
 
virtual GARCH_API void OnIdle ()
 
virtual GARCH_API void OnPaintGL ()
 
virtual GARCH_API void OnKeyRelease (int key)
 
virtual GARCH_API void OnMousePress (int button, int x, int y, int modKeys)
 
virtual GARCH_API void OnMouseRelease (int button, int x, int y, int modKeys)
 
virtual GARCH_API void OnMouseMove (int x, int y, int modKeys)
 

Detailed Description

Platform specific minimum GL widget for unit tests.

Definition at line 40 of file glDebugWindow.h.

Member Enumeration Documentation

◆ Buttons

enum Buttons

Definition at line 57 of file glDebugWindow.h.

◆ ModifierKeys

enum ModifierKeys

Definition at line 62 of file glDebugWindow.h.

Member Function Documentation

◆ GetHeight()

int GetHeight ( ) const
inline

Definition at line 55 of file glDebugWindow.h.

◆ GetWidth()

int GetWidth ( ) const
inline

Definition at line 54 of file glDebugWindow.h.


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