Mercurial > sdl-ios-xcode
view EXCLUDE/GLIMM/include/Window_Listener.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 |
line wrap: on
line source
#ifndef WINDOW_LISTENER_HPP #define WINDOW_LISTENER_HPP enum Mouse_Button { Mouse_Button_Left, Mouse_Button_Right }; class Window_Listener { public: virtual void On_Close(){} virtual void On_Key_Down(int Key){} virtual void On_Key_Up(int Key){} virtual void On_Char(unsigned int Char){} virtual void On_Resized(unsigned int Width, unsigned int Height){} virtual void On_Mouse_Button_Down(Mouse_Button Button){} virtual void On_Mouse_Button_Up(Mouse_Button Button){} }; #endif