Changeset View
Changeset View
Standalone View
Standalone View
intern/ghost/intern/GHOST_SystemX11.h
| Show First 20 Lines • Show All 147 Lines • ▼ Show 20 Lines | GHOST_IWindow *createWindow(const STR_String &title, | ||||
| const bool exclusive = false, | const bool exclusive = false, | ||||
| const GHOST_TEmbedderWindowID parentWindow = 0); | const GHOST_TEmbedderWindowID parentWindow = 0); | ||||
| /** | /** | ||||
| * Create a new offscreen context. | * Create a new offscreen context. | ||||
| * Never explicitly delete the context, use disposeContext() instead. | * Never explicitly delete the context, use disposeContext() instead. | ||||
| * \return The new context (or 0 if creation failed). | * \return The new context (or 0 if creation failed). | ||||
| */ | */ | ||||
| GHOST_IContext *createOffscreenContext(); | GHOST_IContext *createOffscreenContext( | ||||
| GHOST_PlatformSupportCallbackPtr platform_support_callback); | |||||
| /** | /** | ||||
| * 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); | ||||
| ▲ Show 20 Lines • Show All 62 Lines • ▼ Show 20 Lines | #endif | ||||
| /** | /** | ||||
| * Puts buffer to system clipboard | * Puts buffer to system clipboard | ||||
| * \param buffer The buffer to copy to the clipboard | * \param buffer The buffer to copy to the clipboard | ||||
| * \param selection Set the selection into the clipboard, X11 only feature | * \param selection Set the selection into the clipboard, X11 only feature | ||||
| */ | */ | ||||
| void putClipboard(GHOST_TInt8 *buffer, bool selection) const; | void putClipboard(GHOST_TInt8 *buffer, bool selection) const; | ||||
| /** | |||||
| * Show a system message box | |||||
| * \param title The title of the message box | |||||
| * \param message The message to display | |||||
| * \param link An optional hyperlink | |||||
| * \param dialog_options Options how to display the message | |||||
| */ | |||||
| GHOST_TSuccess showMessageBox(const char *title, | |||||
| const char *message, | |||||
| const char *link, | |||||
| GHOST_DialogOptions dialog_options) const; | |||||
| #ifdef WITH_XDND | #ifdef WITH_XDND | ||||
| /** | /** | ||||
| * Creates a drag'n'drop event and pushes it immediately onto the event queue. | * Creates a drag'n'drop event and pushes it immediately onto the event queue. | ||||
| * Called by GHOST_DropTargetX11 class. | * Called by GHOST_DropTargetX11 class. | ||||
| * \param eventType The type of drag'n'drop event | * \param eventType The type of drag'n'drop event | ||||
| * \param draggedObjectType The type object concerned | * \param draggedObjectType The type object concerned | ||||
| * (currently array of file names, string, ?bitmap) | * (currently array of file names, string, ?bitmap) | ||||
| * \param mouseX x mouse coordinate (in window coordinates) | * \param mouseX x mouse coordinate (in window coordinates) | ||||
| ▲ Show 20 Lines • Show All 134 Lines • Show Last 20 Lines | |||||