Issue 233: Added mouse panning. Default is 'space' for new users, others need pick a key in Help screen.

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1901 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud
2012-02-01 00:56:21 +00:00
parent 46f2ec9475
commit cbcb7a6b8f
11 changed files with 155 additions and 7 deletions

View File

@@ -53,6 +53,10 @@ void Set_mouse_position(void);
/// that will record and retrieve a real control ID.
extern int Input_sticky_control;
///
/// State of the shortcut for panning (SPECIAL_HOLD_PAN) : pressed or not.
extern byte Pan_shortcut_pressed;
/// Allows locking movement to X or Y axis: 0=normal, 1=lock on next move, 2=locked horizontally, 3=locked vertically.
extern int Snap_axis;
/// For the :Snap_axis mode, sets the origin's point (in image coordinates)