mirror of https://github.com/stella-emu/stella.git
Tweaked the mouse motion detection for invalid values, and bumped version #
for the next point release. git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2244 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
parent
670b61a15a
commit
d5ce0042e4
|
@ -1,3 +1,10 @@
|
||||||
|
stella (3.4-1) stable; urgency=high
|
||||||
|
|
||||||
|
* Version 3.4 release
|
||||||
|
|
||||||
|
-- Stephen Anthony <stephena@users.sf.net> Sun, 29 May 2011 18:38:25 +0200
|
||||||
|
|
||||||
|
|
||||||
stella (3.3-1) stable; urgency=high
|
stella (3.3-1) stable; urgency=high
|
||||||
|
|
||||||
* Version 3.3 release
|
* Version 3.3 release
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
|
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
|
|
||||||
#define STELLA_VERSION "3.4"
|
#define STELLA_VERSION "3.4.1_svn1"
|
||||||
#define STELLA_BUILD atoi("$Rev$" + 6)
|
#define STELLA_BUILD atoi("$Rev$" + 6)
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -683,7 +683,7 @@ GUI::Rect Debugger::getStatusBounds() const
|
||||||
int x1 = tia.right + 1;
|
int x1 = tia.right + 1;
|
||||||
int y1 = 0;
|
int y1 = 0;
|
||||||
int x2 = tia.right + 225 + (dlg.width() > 1030 ?
|
int x2 = tia.right + 225 + (dlg.width() > 1030 ?
|
||||||
(int) (0.3 * (dlg.width() - 1030)) : 0);
|
(int) (0.35 * (dlg.width() - 1030)) : 0);
|
||||||
int y2 = tia.bottom;
|
int y2 = tia.bottom;
|
||||||
GUI::Rect r(x1, y1, x2, y2);
|
GUI::Rect r(x1, y1, x2, y2);
|
||||||
|
|
||||||
|
|
|
@ -648,9 +648,9 @@ void EventHandler::poll(uInt64 time)
|
||||||
int x = event.motion.xrel, y = event.motion.yrel;
|
int x = event.motion.xrel, y = event.motion.yrel;
|
||||||
// Filter out extremely large movement, which is usually caused
|
// Filter out extremely large movement, which is usually caused
|
||||||
// by a screen being re-created
|
// by a screen being re-created
|
||||||
if(abs(x) < 100)
|
if(abs(x) < 50)
|
||||||
myEvent->set(Event::MouseAxisXValue, x);
|
myEvent->set(Event::MouseAxisXValue, x);
|
||||||
if(abs(y) < 100)
|
if(abs(y) < 50)
|
||||||
myEvent->set(Event::MouseAxisYValue, y);
|
myEvent->set(Event::MouseAxisYValue, y);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue