diff options
author | John Willis | 2009-07-28 20:22:38 +0000 |
---|---|---|
committer | John Willis | 2009-07-28 20:22:38 +0000 |
commit | 972cbb4b579bb3767b118e666c761422e20b14b0 (patch) | |
tree | e1aaa23a45e4407516911ded8c396980c2604f77 /backends/platform/gp2xwiz/gp2xwiz-sdl.h | |
parent | 7a6329a29bbe755250586693f8bb651fd3521e95 (diff) | |
download | scummvm-rg350-972cbb4b579bb3767b118e666c761422e20b14b0.tar.gz scummvm-rg350-972cbb4b579bb3767b118e666c761422e20b14b0.tar.bz2 scummvm-rg350-972cbb4b579bb3767b118e666c761422e20b14b0.zip |
GP2XWiz: Add downscale support to the backend using the PocketPCHalfARM scaler from the WinCE backend (Maybe this should be moved into /graphics/scalers at some point?). Also enable all the ARM optemised routines in this and the GP2X backend.
svn-id: r42863
Diffstat (limited to 'backends/platform/gp2xwiz/gp2xwiz-sdl.h')
-rw-r--r-- | backends/platform/gp2xwiz/gp2xwiz-sdl.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/backends/platform/gp2xwiz/gp2xwiz-sdl.h b/backends/platform/gp2xwiz/gp2xwiz-sdl.h index 8811f86edf..1f67624d5c 100644 --- a/backends/platform/gp2xwiz/gp2xwiz-sdl.h +++ b/backends/platform/gp2xwiz/gp2xwiz-sdl.h @@ -27,6 +27,7 @@ #define GP2XWIZ_SDL_H #include "backends/platform/sdl/sdl.h" +#include "backends/platform/gp2xwiz/gp2xwiz-scaler.h" #include <SDL.h> @@ -42,12 +43,24 @@ public: OSystem_GP2XWIZ() {} /* Graphics */ - bool loadGFXMode(); + void initSize(uint w, uint h); + void setGraphicsModeIntern(); + bool setGraphicsMode(int mode); + void internUpdateScreen(); + const OSystem::GraphicsMode *getSupportedGraphicsModes() const; + bool setGraphicsMode(const char *name); + int getDefaultGraphicsMode() const; + bool loadGFXMode(); + void drawMouse(); + void undrawMouse(); + void showOverlay(); + void hideOverlay(); /* Event Stuff */ bool pollEvent(Common::Event &event); void moveStick(); void fillMouseEvent(Common::Event&, int, int); + void warpMouse(int, int); bool remapKey(SDL_Event&, Common::Event&); /* Platform Setup Stuff */ |