]> git.cworth.org Git - kub/commit
Move tile movement/redraw code from on_button_press_event to on_button_motion_event
authorCarl Worth <cworth@cworth.org>
Wed, 14 Mar 2007 14:35:26 +0000 (07:35 -0700)
committerCarl Worth <cworth@cworth.org>
Wed, 14 Mar 2007 14:35:26 +0000 (07:35 -0700)
commit5d20e3cc60eb1295ffaaeaea1660c50d2343bdd8
tree32fef1c763e843067fa2d85a90b8933fa6732a4c
parent7d059f058ddcb67baa6921c66389381968ea080c
Move tile movement/redraw code from on_button_press_event to on_button_motion_event

We queue redraws rather than calling draw_tile directly so that we
only draw in the idle loop, for much better performance, (and for
proper interaction with GTK+'s double buffering).
kub.c