My favorites | Sign in
Project Home Downloads Source
Checkout   Browse   Changes    
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#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

Change log

r4180 by Sc0rch on Nov 17, 2011   Diff
MapRender: First release
(FormEditorCommon, FormEditorProperties,
Map, MapBG, MapCommon, MapEditor,
MapRenderTest.
Go to: 
Project members, sign in to write a code review

Older revisions

All revisions of this file

File info

Size: 1002 bytes, 28 lines
Powered by Google Project Hosting