svn-id: r15597
This commit is contained in:
Max Horn 2004-10-17 19:40:34 +00:00
parent 42909eb0b0
commit ea9d53be79
2 changed files with 2 additions and 3 deletions

View File

@ -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:

View File

@ -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();