Changeset View
Changeset View
Standalone View
Standalone View
intern/ghost/intern/GHOST_SystemWin32.h
| Show First 20 Lines • Show All 126 Lines • ▼ Show 20 Lines | public: | ||||
| GHOST_IWindow *createWindow( | GHOST_IWindow *createWindow( | ||||
| const STR_String& title, | const STR_String& title, | ||||
| GHOST_TInt32 left, GHOST_TInt32 top, GHOST_TUns32 width, GHOST_TUns32 height, | GHOST_TInt32 left, GHOST_TInt32 top, GHOST_TUns32 width, GHOST_TUns32 height, | ||||
| GHOST_TWindowState state, GHOST_TDrawingContextType type, | GHOST_TWindowState state, GHOST_TDrawingContextType type, | ||||
| GHOST_GLSettings glSettings, | GHOST_GLSettings glSettings, | ||||
| const bool exclusive = false, | const bool exclusive = false, | ||||
| const GHOST_TEmbedderWindowID parentWindow = 0); | const GHOST_TEmbedderWindowID parentWindow = 0); | ||||
| /** | |||||
| * Create a new offscreen context. | |||||
| * Never explicitly delete the window, use disposeContext() instead. | |||||
| * \return The new context (or 0 if creation failed). | |||||
| */ | |||||
| GHOST_IContext *createOffscreenContext(); | |||||
| /** | |||||
| * Dispose of a context. | |||||
| * \param context Pointer to the context to be disposed. | |||||
| * \return Indication of success. | |||||
| */ | |||||
| GHOST_TSuccess disposeContext(GHOST_IContext *context); | |||||
| /*************************************************************************************** | /*************************************************************************************** | ||||
| ** 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 272 Lines • Show Last 20 Lines | |||||