#include <rtcRenderManager.h>
Public Member Functions | |
int | createWindow (const char *title, Renderer *renderer) |
void | disableIdleFunction (void) |
void | dispatch (void) |
void | enableIdleFunction (void) |
int | idleFunctionEnabled (void) |
int | idleSetToCurrentWindow (void) |
RenderManager (int *argc, char **argv) | |
void | setIdleToCurrentWindow (void) |
virtual | ~RenderManager () |
Static Private Member Functions | |
static void | callbackDisplayFunc (void) |
static void | callbackIdleFunc (void) |
static void | callbackKeyboardFunc (unsigned char key, int x, int y) |
static void | callbackMotionFunc (int x, int y) |
static void | callbackMouseFunc (int button, int state, int x, int y) |
static void | callbackPassiveMotionFunc (int x, int y) |
static void | callbackReshapeFunc (int w, int h) |
static void | callbackSpecialFunc (int key, int x, int y) |
static void | callbackTimerFunc (int value) |
static void | callbackVisibilityFunc (int visible) |
Static Private Attributes | |
static int | m_currentIdleRenderer = 0 |
static int | m_idleFunctionEnabled = 0 |
Definition at line 22 of file rtcRenderManager.h.
rtc::RenderManager::RenderManager | ( | int * | argc, |
char ** | argv | ||
) |
default constructor
Definition at line 25 of file rtcRenderManager.cpp.
rtc::RenderManager::~RenderManager | ( | ) | [virtual] |
destructor
Definition at line 36 of file rtcRenderManager.cpp.
void rtc::RenderManager::callbackDisplayFunc | ( | void | ) | [static, private] |
Definition at line 40 of file rtcRenderManager.cpp.
void rtc::RenderManager::callbackIdleFunc | ( | void | ) | [static, private] |
Definition at line 46 of file rtcRenderManager.cpp.
void rtc::RenderManager::callbackKeyboardFunc | ( | unsigned char | key, |
int | x, | ||
int | y | ||
) | [static, private] |
Definition at line 56 of file rtcRenderManager.cpp.
void rtc::RenderManager::callbackMotionFunc | ( | int | x, |
int | y | ||
) | [static, private] |
Definition at line 62 of file rtcRenderManager.cpp.
void rtc::RenderManager::callbackMouseFunc | ( | int | button, |
int | state, | ||
int | x, | ||
int | y | ||
) | [static, private] |
Definition at line 68 of file rtcRenderManager.cpp.
void rtc::RenderManager::callbackPassiveMotionFunc | ( | int | x, |
int | y | ||
) | [static, private] |
Definition at line 74 of file rtcRenderManager.cpp.
void rtc::RenderManager::callbackReshapeFunc | ( | int | w, |
int | h | ||
) | [static, private] |
Definition at line 80 of file rtcRenderManager.cpp.
void rtc::RenderManager::callbackSpecialFunc | ( | int | key, |
int | x, | ||
int | y | ||
) | [static, private] |
Definition at line 86 of file rtcRenderManager.cpp.
void rtc::RenderManager::callbackTimerFunc | ( | int | value | ) | [static, private] |
Definition at line 98 of file rtcRenderManager.cpp.
void rtc::RenderManager::callbackVisibilityFunc | ( | int | visible | ) | [static, private] |
Definition at line 92 of file rtcRenderManager.cpp.
int rtc::RenderManager::createWindow | ( | const char * | title, |
Renderer * | renderer | ||
) |
create a rendering window
Definition at line 105 of file rtcRenderManager.cpp.
void rtc::RenderManager::disableIdleFunction | ( | void | ) |
Definition at line 156 of file rtcRenderManager.cpp.
void rtc::RenderManager::dispatch | ( | void | ) |
rendering mainloop
Definition at line 151 of file rtcRenderManager.cpp.
void rtc::RenderManager::enableIdleFunction | ( | void | ) |
Definition at line 161 of file rtcRenderManager.cpp.
int rtc::RenderManager::idleFunctionEnabled | ( | void | ) |
Definition at line 166 of file rtcRenderManager.cpp.
int rtc::RenderManager::idleSetToCurrentWindow | ( | void | ) |
Definition at line 172 of file rtcRenderManager.cpp.
void rtc::RenderManager::setIdleToCurrentWindow | ( | void | ) |
Definition at line 178 of file rtcRenderManager.cpp.
int rtc::RenderManager::m_currentIdleRenderer = 0 [static, private] |
Definition at line 63 of file rtcRenderManager.h.
int rtc::RenderManager::m_idleFunctionEnabled = 0 [static, private] |
Definition at line 64 of file rtcRenderManager.h.