Changeset View
Changeset View
Standalone View
Standalone View
intern/ghost/GHOST_ISystem.h
| Show First 20 Lines • Show All 303 Lines • ▼ Show 20 Lines | public: | ||||
| */ | */ | ||||
| virtual bool useNativePixel(void) = 0; | virtual bool useNativePixel(void) = 0; | ||||
| /** | /** | ||||
| * Focus window after opening, or put them in the background. | * Focus window after opening, or put them in the background. | ||||
| */ | */ | ||||
| virtual void useWindowFocus(const bool use_focus) = 0; | virtual void useWindowFocus(const bool use_focus) = 0; | ||||
| /** | |||||
| * 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. | |||||
| */ | |||||
| virtual GHOST_IWindow *getWindowUnderCursor(int32_t x, int32_t y) = 0; | |||||
| /*************************************************************************************** | /*************************************************************************************** | ||||
| * Event management functionality | * Event management functionality | ||||
| ***************************************************************************************/ | ***************************************************************************************/ | ||||
| /** | /** | ||||
| * Retrieves events from the system and stores them in the queue. | * Retrieves 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 155 Lines • Show Last 20 Lines | |||||