Changeset View
Changeset View
Standalone View
Standalone View
intern/ghost/intern/GHOST_C-api.cpp
| Show First 20 Lines • Show All 44 Lines • ▼ Show 20 Lines | GHOST_TSuccess GHOST_DisposeSystem(GHOST_SystemHandle systemhandle) | ||||
| GHOST_ISystem *system = (GHOST_ISystem *)systemhandle; | GHOST_ISystem *system = (GHOST_ISystem *)systemhandle; | ||||
| return system->disposeSystem(); | return system->disposeSystem(); | ||||
| } | } | ||||
| void GHOST_ShowMessageBox(GHOST_SystemHandle systemhandle, | void GHOST_ShowMessageBox(GHOST_SystemHandle systemhandle, | ||||
| const char *title, | const char *title, | ||||
| const char *message, | const char *message, | ||||
| const char *help_label, | |||||
| const char *continue_label, | |||||
| const char *link, | const char *link, | ||||
| GHOST_DialogOptions dialog_options) | GHOST_DialogOptions dialog_options) | ||||
| { | { | ||||
| GHOST_ISystem *system = (GHOST_ISystem *)systemhandle; | GHOST_ISystem *system = (GHOST_ISystem *)systemhandle; | ||||
| system->showMessageBox(title, message, link, dialog_options); | system->showMessageBox(title, message, help_label, continue_label, link, dialog_options); | ||||
| } | } | ||||
| GHOST_EventConsumerHandle GHOST_CreateEventConsumer(GHOST_EventCallbackProcPtr eventCallback, | GHOST_EventConsumerHandle GHOST_CreateEventConsumer(GHOST_EventCallbackProcPtr eventCallback, | ||||
| GHOST_TUserDataPtr userdata) | GHOST_TUserDataPtr userdata) | ||||
| { | { | ||||
| return (GHOST_EventConsumerHandle) new GHOST_CallbackEventConsumer(eventCallback, userdata); | return (GHOST_EventConsumerHandle) new GHOST_CallbackEventConsumer(eventCallback, userdata); | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 823 Lines • Show Last 20 Lines | |||||