Changeset View
Changeset View
Standalone View
Standalone View
intern/ghost/intern/GHOST_SystemCocoa.h
| Show First 20 Lines • Show All 260 Lines • ▼ Show 20 Lines | public: | ||||
| /** | /** | ||||
| * Handles a key event. | * Handles a key event. | ||||
| * \param eventPtr: An #NSEvent pointer (cast to `void *` to enable compilation in standard C++). | * \param eventPtr: An #NSEvent pointer (cast to `void *` to enable compilation in standard C++). | ||||
| * \return Indication whether the event was handled. | * \return Indication whether the event was handled. | ||||
| */ | */ | ||||
| GHOST_TSuccess handleKeyEvent(void *eventPtr); | GHOST_TSuccess handleKeyEvent(void *eventPtr); | ||||
| GHOST_WindowCocoa *m_windowMouseCaptured; | |||||
| protected: | protected: | ||||
| /** | /** | ||||
| * Initializes the system. | * Initializes the system. | ||||
| * For now, it just registers the window class (WNDCLASS). | * For now, it just registers the window class (WNDCLASS). | ||||
| * \return A success value. | * \return A success value. | ||||
| */ | */ | ||||
| GHOST_TSuccess init(); | GHOST_TSuccess init(); | ||||
| Show All 33 Lines | |||||