Add Fast Zoom In & Out functions.

Shift +/-  or  Shift Mouse Wheel

http://pulkomandy.tk/projects/GrafX2/ticket/28
This commit is contained in:
Thomas Bernard
2018-01-12 10:31:26 +01:00
parent e36cff0fef
commit 753aaf3422
5 changed files with 34 additions and 1 deletions

View File

@@ -1036,10 +1036,19 @@ void Main_handler(void)
Zoom(+1);
action++;
break;
case SPECIAL_ZOOM_IN_MORE :
Zoom(+3);
action++;
break;
case SPECIAL_ZOOM_OUT : // Zoom out
Zoom(-1);
action++;
break;
case SPECIAL_ZOOM_OUT_MORE :
Zoom(-3);
action++;
break;
case SPECIAL_CENTER_ATTACHMENT : // Center brush attachment
Hide_cursor();
Brush_offset_X=(Brush_width>>1);