annotate EXCLUDE/GLIMM/include/Window_Listener.hpp @ 4753:11b0a6a3eb4d

Changed Start/StopTextInput back to not take any parameters. We call SDL_GetKeyboardFocus internally now.
author dewyatt
date Mon, 12 Jul 2010 14:17:43 -0400
parents 0aaa54fbd2bc
children
rev   line source
4741
bb189d44af16 Added GLIMM (using IMM instead of TSF)
dewyatt
parents:
diff changeset
1 #ifndef WINDOW_LISTENER_HPP
bb189d44af16 Added GLIMM (using IMM instead of TSF)
dewyatt
parents:
diff changeset
2 #define WINDOW_LISTENER_HPP
bb189d44af16 Added GLIMM (using IMM instead of TSF)
dewyatt
parents:
diff changeset
3
4745
0aaa54fbd2bc Many changes, preparing to pull/merge main repo to get SDL_GetKeyboardFocus.
dewyatt
parents: 4741
diff changeset
4 enum Mouse_Button
0aaa54fbd2bc Many changes, preparing to pull/merge main repo to get SDL_GetKeyboardFocus.
dewyatt
parents: 4741
diff changeset
5 {
0aaa54fbd2bc Many changes, preparing to pull/merge main repo to get SDL_GetKeyboardFocus.
dewyatt
parents: 4741
diff changeset
6 Mouse_Button_Left,
0aaa54fbd2bc Many changes, preparing to pull/merge main repo to get SDL_GetKeyboardFocus.
dewyatt
parents: 4741
diff changeset
7 Mouse_Button_Right
0aaa54fbd2bc Many changes, preparing to pull/merge main repo to get SDL_GetKeyboardFocus.
dewyatt
parents: 4741
diff changeset
8 };
0aaa54fbd2bc Many changes, preparing to pull/merge main repo to get SDL_GetKeyboardFocus.
dewyatt
parents: 4741
diff changeset
9
4741
bb189d44af16 Added GLIMM (using IMM instead of TSF)
dewyatt
parents:
diff changeset
10 class Window_Listener
bb189d44af16 Added GLIMM (using IMM instead of TSF)
dewyatt
parents:
diff changeset
11 {
bb189d44af16 Added GLIMM (using IMM instead of TSF)
dewyatt
parents:
diff changeset
12 public:
bb189d44af16 Added GLIMM (using IMM instead of TSF)
dewyatt
parents:
diff changeset
13 virtual void On_Close(){}
bb189d44af16 Added GLIMM (using IMM instead of TSF)
dewyatt
parents:
diff changeset
14 virtual void On_Key_Down(int Key){}
bb189d44af16 Added GLIMM (using IMM instead of TSF)
dewyatt
parents:
diff changeset
15 virtual void On_Key_Up(int Key){}
bb189d44af16 Added GLIMM (using IMM instead of TSF)
dewyatt
parents:
diff changeset
16 virtual void On_Char(unsigned int Char){}
bb189d44af16 Added GLIMM (using IMM instead of TSF)
dewyatt
parents:
diff changeset
17 virtual void On_Resized(unsigned int Width, unsigned int Height){}
4745
0aaa54fbd2bc Many changes, preparing to pull/merge main repo to get SDL_GetKeyboardFocus.
dewyatt
parents: 4741
diff changeset
18 virtual void On_Mouse_Button_Down(Mouse_Button Button){}
0aaa54fbd2bc Many changes, preparing to pull/merge main repo to get SDL_GetKeyboardFocus.
dewyatt
parents: 4741
diff changeset
19 virtual void On_Mouse_Button_Up(Mouse_Button Button){}
0aaa54fbd2bc Many changes, preparing to pull/merge main repo to get SDL_GetKeyboardFocus.
dewyatt
parents: 4741
diff changeset
20
4741
bb189d44af16 Added GLIMM (using IMM instead of TSF)
dewyatt
parents:
diff changeset
21 };
bb189d44af16 Added GLIMM (using IMM instead of TSF)
dewyatt
parents:
diff changeset
22
bb189d44af16 Added GLIMM (using IMM instead of TSF)
dewyatt
parents:
diff changeset
23 #endif