Changeset View
Changeset View
Standalone View
Standalone View
intern/ghost/intern/GHOST_System.h
| Show First 20 Lines • Show All 151 Lines • ▼ Show 20 Lines | public: | ||||
| bool m_nativePixel; | bool m_nativePixel; | ||||
| /** | /** | ||||
| * Focus window after opening, or put them in the background. | * Focus window after opening, or put them in the background. | ||||
| */ | */ | ||||
| void useWindowFocus(const bool use_focus); | void useWindowFocus(const bool use_focus); | ||||
| bool m_windowFocus; | bool m_windowFocus; | ||||
| /** | |||||
| * 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 | ||||
| ***************************************************************************************/ | ***************************************************************************************/ | ||||
| /** | /** | ||||
| * Inherited from GHOST_ISystem but left pure virtual | * Inherited from GHOST_ISystem but left pure virtual | ||||
| * | * | ||||
| * virtual bool processEvents(bool waitForEvent) = 0; | * virtual bool processEvents(bool waitForEvent) = 0; | ||||
| ▲ Show 20 Lines • Show All 244 Lines • Show Last 20 Lines | |||||