aboutsummaryrefslogtreecommitdiff
path: root/devtools
diff options
context:
space:
mode:
authoreriktorbjorn2011-05-16 23:37:20 +0200
committereriktorbjorn2011-05-16 23:37:20 +0200
commit9dbf05890919bbe248e32a0cfd48b0f42d7f820a (patch)
treec29dedf1767d1d2d6cd942168f743ae09a2c24fb /devtools
parentd47eceeb2fdd122efb143d00097c0cf159552bb2 (diff)
downloadscummvm-rg350-9dbf05890919bbe248e32a0cfd48b0f42d7f820a.tar.gz
scummvm-rg350-9dbf05890919bbe248e32a0cfd48b0f42d7f820a.tar.bz2
scummvm-rg350-9dbf05890919bbe248e32a0cfd48b0f42d7f820a.zip
TSAGE: Fix graphics button behaviour (slightly hackish)
Don't rely on event.mousePos staying the same throughout the loop. This makes sure the button stays highlighted for as long as the mouse button is depressed, unless the mouse is moved off the button. The calculation of mousePos is slightly hackish. It should probably use a GfxManager object for that, but this will do for now.
Diffstat (limited to 'devtools')
0 files changed, 0 insertions, 0 deletions