Mercurial > sdl-ios-xcode
annotate EXCLUDE/GLIMM/include/IMM.hpp @ 4745:0aaa54fbd2bc
Many changes, preparing to pull/merge main repo to get SDL_GetKeyboardFocus.
author | dewyatt |
---|---|
date | Tue, 06 Jul 2010 02:06:17 -0400 |
parents | bb189d44af16 |
children |
rev | line source |
---|---|
4741 | 1 #ifndef IMM_HPP |
2 #define IMM_HPP | |
3 | |
4 #define WIN32_LEAN_AND_MEAN | |
5 #include <Windows.h> | |
6 #include <msctf.h> | |
7 | |
8 class IMM | |
9 { | |
10 public: | |
11 IMM(); | |
12 ~IMM(); | |
13 | |
14 void Initialize(HWND Window); | |
15 void Finalize(); | |
16 | |
17 LRESULT Handle_Message(HWND Window, UINT Message, WPARAM wParam, LPARAM lParam, bool &Ate); | |
18 | |
4745
0aaa54fbd2bc
Many changes, preparing to pull/merge main repo to get SDL_GetKeyboardFocus.
dewyatt
parents:
4741
diff
changeset
|
19 void Enable(); |
0aaa54fbd2bc
Many changes, preparing to pull/merge main repo to get SDL_GetKeyboardFocus.
dewyatt
parents:
4741
diff
changeset
|
20 void Disable(); |
0aaa54fbd2bc
Many changes, preparing to pull/merge main repo to get SDL_GetKeyboardFocus.
dewyatt
parents:
4741
diff
changeset
|
21 bool Is_Enabled(); |
0aaa54fbd2bc
Many changes, preparing to pull/merge main repo to get SDL_GetKeyboardFocus.
dewyatt
parents:
4741
diff
changeset
|
22 void Toggle(); |
0aaa54fbd2bc
Many changes, preparing to pull/merge main repo to get SDL_GetKeyboardFocus.
dewyatt
parents:
4741
diff
changeset
|
23 |
0aaa54fbd2bc
Many changes, preparing to pull/merge main repo to get SDL_GetKeyboardFocus.
dewyatt
parents:
4741
diff
changeset
|
24 void Focus_Gained(); |
0aaa54fbd2bc
Many changes, preparing to pull/merge main repo to get SDL_GetKeyboardFocus.
dewyatt
parents:
4741
diff
changeset
|
25 void Focus_Lost(); |
0aaa54fbd2bc
Many changes, preparing to pull/merge main repo to get SDL_GetKeyboardFocus.
dewyatt
parents:
4741
diff
changeset
|
26 |
4741 | 27 private: |
28 void Update_Input_Locale(); | |
4745
0aaa54fbd2bc
Many changes, preparing to pull/merge main repo to get SDL_GetKeyboardFocus.
dewyatt
parents:
4741
diff
changeset
|
29 void Cancel_Composition(); |
0aaa54fbd2bc
Many changes, preparing to pull/merge main repo to get SDL_GetKeyboardFocus.
dewyatt
parents:
4741
diff
changeset
|
30 void Input_Language_Changed(); |
4741 | 31 |
32 bool my_COM_Initialized; | |
33 ITfThreadMgr *my_Thread_Manager; | |
34 HWND my_Window; | |
35 HIMC my_Context; | |
36 HKL my_HKL; | |
37 bool my_Vertical_Candidates; | |
4745
0aaa54fbd2bc
Many changes, preparing to pull/merge main repo to get SDL_GetKeyboardFocus.
dewyatt
parents:
4741
diff
changeset
|
38 bool my_Enabled; |
4741 | 39 }; |
40 | |
41 #endif |