Blender  V3.3
Public Member Functions | Public Attributes | List of all members
Application Class Reference
Inheritance diagram for Application:
GHOST_IEventConsumer

Public Member Functions

 Application (GHOST_ISystem *system)
 
 ~Application (void)
 
virtual bool processEvent (GHOST_IEvent *event)
 
- Public Member Functions inherited from GHOST_IEventConsumer
virtual ~GHOST_IEventConsumer ()
 

Public Attributes

GHOST_ISystemm_system
 
GHOST_IWindowm_mainWindow
 
GHOST_IWindowm_secondaryWindow
 
GHOST_IWindowm_fullScreenWindow
 
GHOST_ITimerTaskm_gearsTimer
 
GHOST_ITimerTaskm_testTimer
 
GHOST_TStandardCursor m_cursor
 
bool m_exitRequested
 
bool stereo
 

Detailed Description

Definition at line 381 of file GHOST_Test.cpp.

Constructor & Destructor Documentation

◆ Application()

Application::Application ( GHOST_ISystem system)

◆ ~Application()

Application::~Application ( void  )

Member Function Documentation

◆ processEvent()

bool Application::processEvent ( GHOST_IEvent event)
virtual

This method is called by the system when it has events to dispatch.

See also
GHOST_ISystem::dispatchEvents
Parameters
eventThe event that can be handled or ignored.
Returns
Indication as to whether the event was handled.

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.

Member Data Documentation

◆ m_cursor

GHOST_TStandardCursor Application::m_cursor

Definition at line 392 of file GHOST_Test.cpp.

Referenced by processEvent().

◆ m_exitRequested

bool Application::m_exitRequested

Definition at line 393 of file GHOST_Test.cpp.

Referenced by main(), and processEvent().

◆ m_fullScreenWindow

GHOST_IWindow* Application::m_fullScreenWindow

Definition at line 390 of file GHOST_Test.cpp.

Referenced by gearsTimerProc(), and processEvent().

◆ m_gearsTimer

GHOST_ITimerTask* Application::m_gearsTimer

Definition at line 391 of file GHOST_Test.cpp.

Referenced by Application().

◆ m_mainWindow

GHOST_IWindow* Application::m_mainWindow

Definition at line 388 of file GHOST_Test.cpp.

Referenced by Application(), processEvent(), and ~Application().

◆ m_secondaryWindow

GHOST_IWindow* Application::m_secondaryWindow

Definition at line 389 of file GHOST_Test.cpp.

Referenced by Application(), and ~Application().

◆ m_system

GHOST_ISystem* Application::m_system

Definition at line 387 of file GHOST_Test.cpp.

Referenced by processEvent(), and ~Application().

◆ m_testTimer

GHOST_ITimerTask * Application::m_testTimer

Definition at line 391 of file GHOST_Test.cpp.

Referenced by processEvent().

◆ stereo

bool Application::stereo

Definition at line 395 of file GHOST_Test.cpp.

Referenced by processEvent(), and View().


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