view EXCLUDE/GLTSF/include/Window_Listener.hpp @ 4754:2072fed2f583

Added SDL_utf8strlcpy to copy at UTF-8 character boundaries. Changed SDL_SendKeyboardText and SDL_SendEditingText to use SDL_utf8strlcpy.
author dewyatt
date Tue, 13 Jul 2010 15:05:45 -0400
parents 0e18c79c4111
children
line wrap: on
line source

#ifndef WINDOW_LISTENER_HPP
#define WINDOW_LISTENER_HPP

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){}
};

#endif