Changeset View
Changeset View
Standalone View
Standalone View
intern/ghost/intern/GHOST_SystemCocoa.h
| Show First 20 Lines • Show All 117 Lines • ▼ Show 20 Lines | GHOST_IWindow *createWindow( | ||||
| GHOST_TUns32 height, | GHOST_TUns32 height, | ||||
| GHOST_TWindowState state, | GHOST_TWindowState state, | ||||
| GHOST_TDrawingContextType type, | 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 context, 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 169 Lines • Show Last 20 Lines | |||||