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/intern/GHOST_C-api.cpp | |
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/intern/GHOST_C-api.cpp')
-rw-r--r-- | intern/ghost/intern/GHOST_C-api.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/intern/ghost/intern/GHOST_C-api.cpp b/intern/ghost/intern/GHOST_C-api.cpp index a1e1bafa82f..7ba8d7db411 100644 --- a/intern/ghost/intern/GHOST_C-api.cpp +++ b/intern/ghost/intern/GHOST_C-api.cpp @@ -877,3 +877,9 @@ void GHOST_putClipboard(GHOST_TInt8 *buffer, int selection) GHOST_ISystem* system = GHOST_ISystem::getSystem(); system->putClipboard(buffer, selection); } + +int GHOST_toggleConsole(int action) +{ + GHOST_ISystem* system = GHOST_ISystem::getSystem(); + return system->toggleConsole(action); +} |