blender/intern/ghost
Harley Acheson d6facd44b5 Fix T88909: Win32 getTitle() UTF8 Support
In the Win32 platform our setTitle() can properly assign a Unicode
utf-8 window title. Unfortunately our getTitle() will only read regular
8-bit character strings. This means that we can never compare what we
set to what we get. This patch updates getTitle() to use Unicode-aware
GetWindowTextLengthW and GetWindowTextW.

see T88909 for an example of this affecting user experience.

Differential Revision: https://developer.blender.org/D11782

Reviewed by Ray Molenkamp
2021-09-06 09:33:45 +02:00
..
intern Fix T88909: Win32 getTitle() UTF8 Support 2021-09-06 09:33:45 +02:00
test UI: Removal of GHOST_CreateDialogWindow 2021-02-09 16:14:31 -08:00
CMakeLists.txt Explicitly link X11 libraries 2020-12-17 13:24:35 +01:00
GHOST_C-api.h UI: Removal of GHOST_CreateDialogWindow 2021-02-09 16:14:31 -08:00
GHOST_IContext.h Cleanup: doxygen comments in ghost 2020-11-06 14:25:44 +11:00
GHOST_IEvent.h Code Style: use "#pragma once" in intern/ghost 2020-08-07 10:18:01 +02:00
GHOST_IEventConsumer.h Cleanup: doxygen comments in ghost 2020-11-06 14:25:44 +11:00
GHOST_ISystem.h Cleanup: doxygen comments in ghost 2020-11-06 14:25:44 +11:00
GHOST_ISystemPaths.h Ghost: Support queries for special user directories (desktop, documents, etc.) 2020-12-11 16:20:53 +01:00
GHOST_ITimerTask.h Cleanup: doxygen comments in ghost 2020-11-06 14:25:44 +11:00
GHOST_IWindow.h Cleanup: doxygen comments in ghost 2020-11-06 14:25:44 +11:00
GHOST_IXrContext.h Code Style: use "#pragma once" in intern/ghost 2020-08-07 10:18:01 +02:00
GHOST_Path-api.h Ghost: Support queries for special user directories (desktop, documents, etc.) 2020-12-11 16:20:53 +01:00
GHOST_Rect.h Cleanup: doxygen comments in ghost 2020-11-06 14:25:44 +11:00
GHOST_Types.h Cleanup: correct spelling in comments 2021-02-05 16:23:34 +11:00