Fixed compilation of the Qt frontend with latest scroll changes

fixed Qt project compilation with Mingw on Windows
This commit is contained in:
Xawotihs@gmail.com
2012-01-26 23:17:40 +00:00
parent c56d907eb5
commit b9a52ab447
5 changed files with 7 additions and 7 deletions

View File

@@ -72,8 +72,8 @@ public:
Q_INVOKABLE qint64 getTick() {
return g_startTimer.elapsed();
};
Q_INVOKABLE void doScroll(int x, int y) {
m_engine->Scroll(x, y);
Q_INVOKABLE void doScroll(int x, int y, int magnitude) {
m_engine->Scroll(x, y, magnitude);
};
int getNominalHeight(){ return SCREEN_HEIGHT;};
int getNominalWidth(){ return SCREEN_WIDTH;};