#include <OpenGLApp.h>
Definition at line 18 of file OpenGLApp.h.
Public Member Functions | |
int | exec () |
GLXContext | getGLXContext () |
Colormap | getXColormap () |
Display * | getXDisplay () |
XVisualInfo * | getXVisualInfo () |
bool | initialize (int argc=0, char **argv=0) |
OpenGLApp () | |
~OpenGLApp () | |
Public Attributes | |
std::vector < OpenGLWindow * > | fViews |
Private Member Functions | |
OpenGLWindow * | findView (Window) const |
Private Attributes | |
Colormap | m_colormap |
GLXContext | m_ctx |
Display * | m_display |
bool | m_privateColormap |
XVisualInfo * | m_vinfo |
OpenGLApp | ( | ) |
Definition at line 15 of file OpenGLApp.cxx.
~OpenGLApp | ( | ) |
Definition at line 24 of file OpenGLApp.cxx.
int exec | ( | ) |
Definition at line 71 of file OpenGLApp.cxx.
References findView(), m_ctx, m_display, and OpenGLWindow::resize().
OpenGLWindow * findView | ( | Window | aWindow | ) | const [private] |
Definition at line 94 of file OpenGLApp.cxx.
References fViews, and OpenGLWindow::window().
Referenced by exec().
GLXContext getGLXContext | ( | ) |
Colormap getXColormap | ( | ) |
Display * getXDisplay | ( | ) |
XVisualInfo * getXVisualInfo | ( | ) |
bool initialize | ( | int | argc = 0 , |
|
char ** | argv = 0 | |||
) |
Definition at line 28 of file OpenGLApp.cxx.
References m_colormap, m_ctx, m_display, m_privateColormap, and m_vinfo.
std::vector<OpenGLWindow*> fViews |
Colormap m_colormap [private] |
GLXContext m_ctx [private] |
Display* m_display [private] |
bool m_privateColormap [private] |
XVisualInfo* m_vinfo [private] |