git.ucc.asn.au
/
ipdf
/
code.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Support doing coordinate transforms on the CPU
[ipdf/code.git]
/
src
/
screen.cpp
diff --git
a/src/screen.cpp
b/src/screen.cpp
index
09cd0b5
..
2764ef7
100644
(file)
--- a/
src/screen.cpp
+++ b/
src/screen.cpp
@@
-82,7
+82,7
@@
bool Screen::PumpEvents()
m_last_mouse_y = evt.button.y;
if (m_mouse_handler)
{
m_last_mouse_y = evt.button.y;
if (m_mouse_handler)
{
- m_mouse_handler(evt.button.x, evt.button.y, evt.button.state, 0);
+ m_mouse_handler(evt.button.x, evt.button.y, evt.button.state
?evt.button.button:0
, 0);
}
break;
case SDL_MOUSEWHEEL:
}
break;
case SDL_MOUSEWHEEL:
@@
-100,6
+100,7
@@
bool Screen::PumpEvents()
filename[0] = (char)evt.key.keysym.sym;
ScreenShot(filename);
}
filename[0] = (char)evt.key.keysym.sym;
ScreenShot(filename);
}
+ break;
}
default:
break;
}
default:
break;
UCC
git Repository :: git.ucc.asn.au