diff EXCLUDE/GLTSF/include/Window.hpp @ 4734:0c7c67d4e6ee

Added On_Char method to Window_Listener for WM_CHAR messages. Removed a lot of TSF code because part of it was wrong and part was too complicated. Added Clear method to clear the window. IME input should work in both windowed mode and fullscreen mode with these changes. I have tested on Windows XP SP3 and Windows 7 Ultimate in VirtualBox. When you type a character (with an IME or not), the console will show the code point as U+XXXX. You use Left Alt+Shift (or whatever you have it set to) to switch input languages as usual. Hit ESC to exit (or close the window in windowed mode). The program will pause before exiting so you can review the console output (press a key to exit).
author dewyatt
date Wed, 09 Jun 2010 00:03:54 -0400
parents 6032ada8b9e5
children 0e18c79c4111
line wrap: on
line diff
--- a/EXCLUDE/GLTSF/include/Window.hpp	Tue Jun 08 05:22:49 2010 -0400
+++ b/EXCLUDE/GLTSF/include/Window.hpp	Wed Jun 09 00:03:54 2010 -0400
@@ -8,6 +8,7 @@
 
 #include "Video_Mode.hpp"
 #include "Window_Listener.hpp"
+#include "TSF.hpp"
 
 class Window
 {
@@ -26,6 +27,8 @@
 	void Update();
 	void Display();
 
+	void Clear();
+
 private:
 	static const wchar_t *Window_Class_Name;