Changeset View
Changeset View
Standalone View
Standalone View
intern/ghost/intern/GHOST_SystemCocoa.h
| Show First 20 Lines • Show All 103 Lines • ▼ Show 20 Lines | public: | ||||
| /** | /** | ||||
| * Dispose of a context. | * Dispose of a context. | ||||
| * \param context: Pointer to the context to be disposed. | * \param context: Pointer to the context to be disposed. | ||||
| * \return Indication of success. | * \return Indication of success. | ||||
| */ | */ | ||||
| GHOST_TSuccess disposeContext(GHOST_IContext *context); | GHOST_TSuccess disposeContext(GHOST_IContext *context); | ||||
| /** | |||||
| * Get the Window under the cursor. | |||||
| * \param x: The x-coordinate of the cursor. | |||||
| * \param y: The y-coordinate of the cursor. | |||||
| * @return The window under the cursor or nullptr if none. | |||||
| */ | |||||
| GHOST_IWindow *getWindowUnderCursor(int32_t x, int32_t y); | |||||
| /*************************************************************************************** | /*************************************************************************************** | ||||
| * Event management functionality | * Event management functionality | ||||
| ***************************************************************************************/ | ***************************************************************************************/ | ||||
| /** | /** | ||||
| * Gets events from the system and stores them in the queue. | * Gets events from the system and stores them in the queue. | ||||
| * \param waitForEvent: Flag to wait for an event (or return immediately). | * \param waitForEvent: Flag to wait for an event (or return immediately). | ||||
| * \return Indication of the presence of events. | * \return Indication of the presence of events. | ||||
| ▲ Show 20 Lines • Show All 182 Lines • Show Last 20 Lines | |||||