mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-08-18 06:55:48 +03:00
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:
@@ -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 );
|
||||
};
|
||||
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user