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
bb189d44af16 Added GLIMM (using IMM instead of TSF)
dewyatt
parents:
diff changeset
1 #ifndef IMM_HPP
bb189d44af16 Added GLIMM (using IMM instead of TSF)
dewyatt
parents:
diff changeset
2 #define IMM_HPP
bb189d44af16 Added GLIMM (using IMM instead of TSF)
dewyatt
parents:
diff changeset
3
bb189d44af16 Added GLIMM (using IMM instead of TSF)
dewyatt
parents:
diff changeset
4 #define WIN32_LEAN_AND_MEAN
bb189d44af16 Added GLIMM (using IMM instead of TSF)
dewyatt
parents:
diff changeset
5 #include <Windows.h>
bb189d44af16 Added GLIMM (using IMM instead of TSF)
dewyatt
parents:
diff changeset
6 #include <msctf.h>
bb189d44af16 Added GLIMM (using IMM instead of TSF)
dewyatt
parents:
diff changeset
7
bb189d44af16 Added GLIMM (using IMM instead of TSF)
dewyatt
parents:
diff changeset
8 class IMM
bb189d44af16 Added GLIMM (using IMM instead of TSF)
dewyatt
parents:
diff changeset
9 {
bb189d44af16 Added GLIMM (using IMM instead of TSF)
dewyatt
parents:
diff changeset
10 public:
bb189d44af16 Added GLIMM (using IMM instead of TSF)
dewyatt
parents:
diff changeset
11 IMM();
bb189d44af16 Added GLIMM (using IMM instead of TSF)
dewyatt
parents:
diff changeset
12 ~IMM();
bb189d44af16 Added GLIMM (using IMM instead of TSF)
dewyatt
parents:
diff changeset
13
bb189d44af16 Added GLIMM (using IMM instead of TSF)
dewyatt
parents:
diff changeset
14 void Initialize(HWND Window);
bb189d44af16 Added GLIMM (using IMM instead of TSF)
dewyatt
parents:
diff changeset
15 void Finalize();
bb189d44af16 Added GLIMM (using IMM instead of TSF)
dewyatt
parents:
diff changeset
16
bb189d44af16 Added GLIMM (using IMM instead of TSF)
dewyatt
parents:
diff changeset
17 LRESULT Handle_Message(HWND Window, UINT Message, WPARAM wParam, LPARAM lParam, bool &Ate);
bb189d44af16 Added GLIMM (using IMM instead of TSF)
dewyatt
parents:
diff changeset
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
bb189d44af16 Added GLIMM (using IMM instead of TSF)
dewyatt
parents:
diff changeset
27 private:
bb189d44af16 Added GLIMM (using IMM instead of TSF)
dewyatt
parents:
diff changeset
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
bb189d44af16 Added GLIMM (using IMM instead of TSF)
dewyatt
parents:
diff changeset
31
bb189d44af16 Added GLIMM (using IMM instead of TSF)
dewyatt
parents:
diff changeset
32 bool my_COM_Initialized;
bb189d44af16 Added GLIMM (using IMM instead of TSF)
dewyatt
parents:
diff changeset
33 ITfThreadMgr *my_Thread_Manager;
bb189d44af16 Added GLIMM (using IMM instead of TSF)
dewyatt
parents:
diff changeset
34 HWND my_Window;
bb189d44af16 Added GLIMM (using IMM instead of TSF)
dewyatt
parents:
diff changeset
35 HIMC my_Context;
bb189d44af16 Added GLIMM (using IMM instead of TSF)
dewyatt
parents:
diff changeset
36 HKL my_HKL;
bb189d44af16 Added GLIMM (using IMM instead of TSF)
dewyatt
parents:
diff changeset
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
bb189d44af16 Added GLIMM (using IMM instead of TSF)
dewyatt
parents:
diff changeset
39 };
bb189d44af16 Added GLIMM (using IMM instead of TSF)
dewyatt
parents:
diff changeset
40
bb189d44af16 Added GLIMM (using IMM instead of TSF)
dewyatt
parents:
diff changeset
41 #endif