modes: make more of them switchable
authorAndrew Chadwick <andrewc-git@piffle.org>
Sat, 17 Nov 2012 18:34:21 +0000 (18:34 +0000)
committerAndrew Chadwick <andrewc-git@piffle.org>
Sat, 17 Nov 2012 22:10:12 +0000 (22:10 +0000)
commit854712010cdeb626e5cdb2febe92936bd5cadb67
tree25da96d3b6b40239e054ff2ce22f21be337553ae
parent27667533db68ec7d535116ba16e673ca7b79711c
modes: make more of them switchable

Factor out switchability, allowing more modes to push temporary
sub-modes (and perform arbitrary actions) in response to configured user
input. In other words, panning, rotating and zooming with button 2 is
now supported when adjusting the frame. That plus any non-mode action is
now possible from line-geometry modes.
gui/canvasevent.py
gui/framewindow.py
gui/linemode.py