diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2011-05-02 12:07:24 +0400 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2011-05-02 12:07:24 +0400 |
commit | d197ec74e31c0a90b440246e5c48dd0644055740 (patch) | |
tree | 0623a838e26a1cb1c84b807b1abdb1b6051ebc94 /intern/ghost/GHOST_C-api.h | |
parent | 17451136390980fc26e971cd7fb8308a509bb22d (diff) |
Fix [#26981] Command window is not opening in 2.57.0
Reported by Thomas Engel
Fix [#26938] Blender Zoom not working after startup (Windows)
Reported by Ilija Boshkov
by applying patch [#26881] Fix for console disappearing in debug mode [Windows]
Submitted by Alexander Kuznetsov (AlexK)
The patch moves console toggling code into GHOST and improves on the toggling behaviour.
The patch changes handling of WM_SYSCOMMAND so that alt-key toggling isn't a problem anymore.
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 |