Blender
V3.3
|
Public Member Functions | |
Application (GHOST_ISystem *system) | |
~Application (void) | |
virtual bool | processEvent (GHOST_IEvent *event) |
![]() | |
virtual | ~GHOST_IEventConsumer () |
Definition at line 381 of file GHOST_Test.cpp.
Application::Application | ( | GHOST_ISystem * | system | ) |
Definition at line 398 of file GHOST_Test.cpp.
References GHOST_ISystem::createWindow(), fApp, gearsTimerProc(), GHOST_kDrawingContextTypeOpenGL, GHOST_kWindowStateNormal, GHOST_ISystem::installTimer(), m_gearsTimer, m_mainWindow, and m_secondaryWindow.
Application::~Application | ( | void | ) |
Definition at line 445 of file GHOST_Test.cpp.
References GHOST_ISystem::disposeWindow(), m_mainWindow, m_secondaryWindow, m_system, and GHOST_ISystem::validWindow().
|
virtual |
This method is called by the system when it has events to dispatch.
event | The event that can be handled or ignored. |
Implements GHOST_IEventConsumer.
Definition at line 456 of file GHOST_Test.cpp.
References GHOST_ISystem::beginFullScreen(), GHOST_DisplaySetting::bpp, GHOST_ISystem::disposeWindow(), GHOST_ISystem::endFullScreen(), GHOST_DisplaySetting::frequency, GHOST_IWindow::getCursorVisibility(), GHOST_IEvent::getData(), GHOST_ISystem::getFullScreen(), GHOST_ISystem::getModifierKeyState(), GHOST_IWindow::getTitle(), GHOST_IEvent::getType(), GHOST_kEventCursorMove, GHOST_kEventKeyDown, GHOST_kEventKeyUp, GHOST_kEventUnknown, GHOST_kEventWheel, GHOST_kEventWindowActivate, GHOST_kEventWindowClose, GHOST_kEventWindowDeactivate, GHOST_kEventWindowUpdate, GHOST_kKeyC, GHOST_kKeyE, GHOST_kKeyF, GHOST_kKeyH, GHOST_kKeyM, GHOST_kKeyQ, GHOST_kKeyS, GHOST_kKeyT, GHOST_kKeyW, GHOST_kModifierKeyLeftAlt, GHOST_kModifierKeyLeftControl, GHOST_kModifierKeyLeftShift, GHOST_kModifierKeyRightAlt, GHOST_kModifierKeyRightControl, GHOST_kModifierKeyRightShift, GHOST_kStandardCursorFirstCursor, GHOST_kStandardCursorNumCursors, glPopMatrix, glPushMatrix, GHOST_ISystem::installTimer(), GHOST_TEventKeyData::key, LEFT_EYE, m_cursor, m_exitRequested, m_fullScreenWindow, m_mainWindow, m_system, m_testTimer, GHOST_ISystem::removeTimer(), RenderCamera(), RenderScene(), RIGHT_EYE, GHOST_ISystem::setCursorPosition(), GHOST_IWindow::setCursorShape(), GHOST_IWindow::setCursorVisibility(), GHOST_IWindow::setTitle(), stereo, GHOST_IWindow::swapBuffers(), testTimerProc(), GHOST_ISystem::validWindow(), View(), view_rotz, x, GHOST_DisplaySetting::xPixels, y, GHOST_DisplaySetting::yPixels, and GHOST_TEventWheelData::z.
GHOST_TStandardCursor Application::m_cursor |
Definition at line 392 of file GHOST_Test.cpp.
Referenced by processEvent().
bool Application::m_exitRequested |
Definition at line 393 of file GHOST_Test.cpp.
Referenced by main(), and processEvent().
GHOST_IWindow* Application::m_fullScreenWindow |
Definition at line 390 of file GHOST_Test.cpp.
Referenced by gearsTimerProc(), and processEvent().
GHOST_ITimerTask* Application::m_gearsTimer |
Definition at line 391 of file GHOST_Test.cpp.
Referenced by Application().
GHOST_IWindow* Application::m_mainWindow |
Definition at line 388 of file GHOST_Test.cpp.
Referenced by Application(), processEvent(), and ~Application().
GHOST_IWindow* Application::m_secondaryWindow |
Definition at line 389 of file GHOST_Test.cpp.
Referenced by Application(), and ~Application().
GHOST_ISystem* Application::m_system |
Definition at line 387 of file GHOST_Test.cpp.
Referenced by processEvent(), and ~Application().
GHOST_ITimerTask * Application::m_testTimer |
Definition at line 391 of file GHOST_Test.cpp.
Referenced by processEvent().
bool Application::stereo |
Definition at line 395 of file GHOST_Test.cpp.
Referenced by processEvent(), and View().