Changeset View
Changeset View
Standalone View
Standalone View
intern/ghost/intern/GHOST_SystemWin32.h
| Show First 20 Lines • Show All 125 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 window, use disposeContext() instead. | * Never explicitly delete the window, 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 56 Lines • ▼ Show 20 Lines | public: | ||||
| /** | /** | ||||
| * Puts buffer to system clipboard | * Puts buffer to system clipboard | ||||
| * \param selection Used by X11 only | * \param selection Used by X11 only | ||||
| * \return No return | * \return No return | ||||
| */ | */ | ||||
| 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; | |||||
| /** | |||||
| * 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_DropTargetWin32 class. | * Called by GHOST_DropTargetWin32 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) | ||||
| * \param mouseY: y mouse coordinate | * \param mouseY: y mouse coordinate | ||||
| * \param window: The window on which the event occurred | * \param window: The window on which the event occurred | ||||
| ▲ Show 20 Lines • Show All 226 Lines • Show Last 20 Lines | |||||