diff options
author | Eugene Sandulenko | 2010-08-19 12:43:37 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2010-08-19 12:43:37 +0000 |
commit | 26dc4c24256472898f4388de73699a5f54f4a2cf (patch) | |
tree | ed0c0c28f190b01c3583f2a700354d329186dc8b /backends/platform/dingux/dingux.h | |
parent | 6682659da059267a806db744ea35638348c872c3 (diff) | |
download | scummvm-rg350-26dc4c24256472898f4388de73699a5f54f4a2cf.tar.gz scummvm-rg350-26dc4c24256472898f4388de73699a5f54f4a2cf.tar.bz2 scummvm-rg350-26dc4c24256472898f4388de73699a5f54f4a2cf.zip |
DINGOO: new port. Patch #3039277
svn-id: r52210
Diffstat (limited to 'backends/platform/dingux/dingux.h')
-rw-r--r-- | backends/platform/dingux/dingux.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/backends/platform/dingux/dingux.h b/backends/platform/dingux/dingux.h new file mode 100644 index 0000000000..929abc0587 --- /dev/null +++ b/backends/platform/dingux/dingux.h @@ -0,0 +1,44 @@ + +#ifndef SDL_DINGUX_COMMON_H +#define SDL_DINGUX_COMMON_H + +#include <SDL.h> + +#include "backends/base-backend.h" +#include "backends/platform/sdl/sdl.h" + +#if defined(DINGUX) + +enum { + GFX_HALF = 12 +}; + +class OSystem_SDL_Dingux : public OSystem_SDL { +public: + virtual bool hasFeature(Feature f); + virtual void setFeatureState(Feature f, bool enable); + virtual bool getFeatureState(Feature f); + virtual int getDefaultGraphicsMode() const; + void initSize(uint w, uint h); + const OSystem::GraphicsMode *getSupportedGraphicsModes() const; + bool setGraphicsMode(const char *name); + bool setGraphicsMode(int mode); + void setGraphicsModeIntern(); + void internUpdateScreen(); + void showOverlay(); + void hideOverlay(); + bool loadGFXMode(); + void drawMouse(); + void undrawMouse(); + void warpMouse(int, int); + void fillMouseEvent(Common::Event&, int, int); + +protected: + virtual bool remapKey(SDL_Event &ev, Common::Event &event); +}; + + +#endif + +#endif + |