Mercurial > sdl-ios-xcode
view EXCLUDE/GLIMM/include/IMM.hpp @ 4741:bb189d44af16
Added GLIMM (using IMM instead of TSF)
Uses small bit of TSF to fully disable cicero (TSF for non-TSF enabled apps)
author | dewyatt |
---|---|
date | Wed, 30 Jun 2010 17:29:20 -0400 |
parents | |
children | 0aaa54fbd2bc |
line wrap: on
line source
#ifndef IMM_HPP #define IMM_HPP #define WIN32_LEAN_AND_MEAN #include <Windows.h> #include <msctf.h> class IMM { public: IMM(); ~IMM(); void Initialize(HWND Window); void Finalize(); LRESULT Handle_Message(HWND Window, UINT Message, WPARAM wParam, LPARAM lParam, bool &Ate); private: void Update_Input_Locale(); bool my_COM_Initialized; ITfThreadMgr *my_Thread_Manager; HWND my_Window; HIMC my_Context; HKL my_HKL; bool my_Vertical_Candidates; }; #endif