ultimatepp/bazaar/MapCommon/IMapEvent.h
Sc0rch 9959d8888c MapRender: First release (FormEditorCommon, FormEditorProperties, Map, MapBG, MapCommon, MapEditor, MapRenderTest.
git-svn-id: svn://ultimatepp.org/upp/trunk@4180 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-11-18 06:28:11 +00:00

28 lines
1,002 B
C++

#ifndef MAP_COMMON__I_MAP_EVENT_H
#define MAP_COMMON__I_MAP_EVENT_H
#include <CtrlLib/CtrlLib.h>
using namespace Upp;
class IMapEvent
{
public:
virtual ~IMapEvent() {}
virtual bool ProcessLeftDouble (Point p, dword keyflags) { return false; }
virtual bool ProcessLeftDown (Point p, dword keyflags) { return false; }
virtual bool ProcessLeftDrag (Point p, dword keyflags) { return false; }
virtual bool ProcessLeftUp (Point p, dword keyflags) { return false; }
virtual bool ProcessRightDouble(Point p, dword keyflags) { return false; }
virtual bool ProcessRightDown (Point p, dword keyflags) { return false; }
virtual bool ProcessRightDrag (Point p, dword keyflags) { return false; }
virtual bool ProcessRightUp (Point p, dword keyflags) { return false; }
virtual bool ProcessMouseMove (Point p, dword keyflags) { return false; }
virtual bool ProcessMouseEnter() { return false; }
virtual bool ProcessMouseLeave() { return false; }
};
#endif