Fixed compilation of the Qt frontend with latest scroll changes
fixed Qt project compilation with Mingw on Windows
This commit is contained in:
@@ -85,7 +85,7 @@ enum {
|
||||
#define BLEND_OPTION_BLEND GU_TFX_BLEND
|
||||
#endif
|
||||
|
||||
#ifdef WIN32
|
||||
#if (defined WIN32) && (!defined LINUX)
|
||||
#include <windows.h>
|
||||
#endif
|
||||
#if defined(LINUX) || defined(IOS) || defined (ANDROID)
|
||||
|
||||
@@ -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;};
|
||||
|
||||
Reference in New Issue
Block a user