Commit graph

14 commits

Author SHA1 Message Date
dewyatt
bfba97da7f Many changes, preparing to pull/merge main repo to get SDL_GetKeyboardFocus. 2010-07-06 02:06:17 -04:00
dewyatt
56aecc4828 Added mouse button click to toggle IMM. 2010-07-06 02:00:15 -04:00
dewyatt
71f0192c59 Fixed window title (from GLTSF to GLIMM). 2010-07-04 06:15:42 -04:00
dewyatt
6d7e820588 Added Get_IMM method to Window.
Added focus gain/loss events for IMM.
2010-07-04 06:07:38 -04:00
dewyatt
825ef53157 Added GLIMM (using IMM instead of TSF)
Uses small bit of TSF to fully disable cicero (TSF for non-TSF enabled apps)
2010-06-30 17:29:20 -04:00
dewyatt
cbda698ad4 Added condition check macros to make the code clear and easier to debug.
Updated code to use macros.
2010-06-27 22:03:08 -04:00
dewyatt
4b2cb56c12 Starting to implement ITextStoreACP.
It's very incomplete and will probably change quite a bit but it's a start.
ITextStoreACP is the minimum interface to be considered TSF-aware.
2010-06-21 17:16:37 -04:00
dewyatt
4ec949ec5b Added support for On_Resized event to App.
Added OpenGL code to draw a rotating triangle.
Rearranged main loop code.
2010-06-12 03:21:54 -04:00
dewyatt
f5b3329281 Renamed Window::Update to Window::Handle_Events.
Removed Window::Clear.
Added Window::Show_Cursor/Hide_Cursor.
Added On_Resized event.
2010-06-12 03:19:43 -04:00
dewyatt
fca96b4c82 Added vs2008 project files for GLTSF (2008 is much faster on my old computer) 2010-06-11 18:32:18 -04:00
dewyatt
649b23090a 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).
2010-06-09 00:03:54 -04:00
dewyatt
a1f1bc8952 Implementing base parts of TSF 2010-05-30 15:48:16 -04:00
dewyatt
301e0597a3 Adding some initial TSF code 2010-05-27 20:47:52 -04:00
dewyatt
249f46e706 Adding GLTSF (somewhat based on SFML, no actual TSF code yet) 2010-05-25 18:53:09 -04:00