mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-04 16:26:53 +00:00
cleanup
svn-id: r15597
This commit is contained in:
parent
42909eb0b0
commit
ea9d53be79
@ -133,7 +133,7 @@ void NewGui::runLoop() {
|
||||
break;
|
||||
// We don't distinguish between mousebuttons (for now at least)
|
||||
case OSystem::EVENT_LBUTTONDOWN:
|
||||
case OSystem::EVENT_RBUTTONDOWN: {
|
||||
case OSystem::EVENT_RBUTTONDOWN:
|
||||
if (_lastClick.count && (time < _lastClick.time + kDoubleClickDelay)
|
||||
&& ABS(_lastClick.x - event.mouse.x) < 3
|
||||
&& ABS(_lastClick.y - event.mouse.y) < 3) {
|
||||
@ -144,7 +144,6 @@ void NewGui::runLoop() {
|
||||
_lastClick.count = 1;
|
||||
}
|
||||
_lastClick.time = time;
|
||||
}
|
||||
activeDialog->handleMouseDown(event.mouse.x - activeDialog->_x, event.mouse.y - activeDialog->_y, 1, _lastClick.count);
|
||||
break;
|
||||
case OSystem::EVENT_LBUTTONUP:
|
||||
|
@ -89,7 +89,7 @@ public:
|
||||
|
||||
namespace BundleCodecs {
|
||||
|
||||
uint32 decode12BitsSample(byte *src, byte **dst, uint32 size);
|
||||
uint32 decode12BitsSample(const byte *src, byte **dst, uint32 size);
|
||||
void initializeImcTables();
|
||||
#ifdef __PALM_OS__
|
||||
void releaseImcTables();
|
||||
|
Loading…
Reference in New Issue
Block a user