|
| GLWindow (int w=-1, int h=-1, const char *title=0) |
|
int | width () const |
|
int | height () const |
|
bool | visible () const |
|
bool | alive () const |
|
bool | make_current () |
|
bool | push_context () |
|
void | pop_context () |
|
void | swap_buffers () |
|
void | set_size (int w, int h) |
|
void | set_position (int x, int y) |
|
void | set_title (const char *title) |
|
void | add_handler (EventHandler *handler) |
|
bool | remove_handler (EventHandler *handler) |
|
void | handle_events () |
|
void | destroy () |
|
void | draw_text (double x, double y, const char *text, int xywh[4]=0) |
|
|
static void | handle_all_events () |
|
|
static void | add_window (GLWindow *win) |
|
static bool | remove_window (GLWindow *win) |
|
|
static GLWindow * | active_context = 0 |
|
static std::vector< GLWindow * > | all_windows |
|
The documentation for this class was generated from the following files:
- examples/glViewer/glwindow.hpp
- examples/glViewer/glwindow_x11.cpp