diff options
Diffstat (limited to 'intern/ghost/GHOST_C-api.h')
-rw-r--r-- | intern/ghost/GHOST_C-api.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/intern/ghost/GHOST_C-api.h b/intern/ghost/GHOST_C-api.h index be8dc138797..75837239c4a 100644 --- a/intern/ghost/GHOST_C-api.h +++ b/intern/ghost/GHOST_C-api.h @@ -845,6 +845,18 @@ extern GHOST_TUns8* GHOST_getClipboard(int selection); extern void GHOST_putClipboard(GHOST_TInt8 *buffer, int selection); + +/** + * Toggles console + * @action 0 - Hides + * 1 - Shows + * 2 - Toggles + * 3 - Hides if it runs not from command line + * * - Does nothing + * @return current status (1 -visible, 0 - hidden) + */ +extern int GHOST_toggleConsole(int action); + #ifdef __cplusplus } #endif |