overlays: api for showing info on tdws
authorAndrew Chadwick <andrewc-git@piffle.org>
Wed, 11 Jan 2012 01:02:30 +0000 (01:02 +0000)
committerAndrew Chadwick <andrewc-git@piffle.org>
Wed, 11 Jan 2012 14:26:46 +0000 (14:26 +0000)
commit619789d13d1b3de2c66d8785b749dc7bb5f835a0
tree83b32f91ed936aa219f3207393c2e160164003f9
parentc849d0428c0a18823c0eb7239b42843148a14a85
overlays: api for showing info on tdws

Experimental stab at an internal interface for animated or static
fragments of overlaid information which respond to user events.
Currently just a scale/zoom level indicator and a marker for the last
painting position, both of which fade out and are careful to only redraw
their own section of the screen.

Intended uses: textual explanations of fancy modes with lots of keyboard
chording, showing the document frame both normally and when being
edited, anything which must be displayed that isn't the canvas being
worked on. Maybe even previews of the current brush, its radius, colour,
stylus nib angle, whatever.
gui/application.py
gui/document.py
gui/overlays.py [new file with mode: 0644]
gui/tileddrawwidget.py