Added OnDrag event to be able to intercept the drag event.

Added dragging the map in the map editor with the mouse middle press.
This commit is contained in:
Martín Lucas Golini
2013-01-21 03:17:45 -03:00
parent 0bf0808f30
commit ae8c75d97d
6 changed files with 36 additions and 5 deletions

View File

@@ -35,6 +35,8 @@ class EE_API cUIDragable : public cUIControl {
virtual Uint32 OnMouseDown( const eeVector2i& Pos, const Uint32 Flags );
virtual Uint32 OnMouseUp( const eeVector2i& Pos, const Uint32 Flags );
virtual Uint32 OnDrag( const eeVector2i& Pos );
};
}}