diff options
| author | David-John Willis | 2011-05-08 22:31:17 +0100 | 
|---|---|---|
| committer | David-John Willis | 2011-06-11 17:07:21 +0100 | 
| commit | 4fcd65d885f14b88d3ef3cbdf1bbedd5884c72a7 (patch) | |
| tree | 50a465813e2ec8b0c3a655fec034fcfe55c7fa23 /backends/graphics | |
| parent | 7878c1ec4933dcedf20ab20e15a671a2209c4838 (diff) | |
| download | scummvm-rg350-4fcd65d885f14b88d3ef3cbdf1bbedd5884c72a7.tar.gz scummvm-rg350-4fcd65d885f14b88d3ef3cbdf1bbedd5884c72a7.tar.bz2 scummvm-rg350-4fcd65d885f14b88d3ef3cbdf1bbedd5884c72a7.zip  | |
OPENPANDORA: Start to cleanup the backend and move controls into remapkey.
* Work in progress.
Diffstat (limited to 'backends/graphics')
| -rw-r--r-- | backends/graphics/openpandora/op-graphics.cpp | 12 | ||||
| -rw-r--r-- | backends/graphics/openpandora/op-graphics.h | 42 | 
2 files changed, 26 insertions, 28 deletions
diff --git a/backends/graphics/openpandora/op-graphics.cpp b/backends/graphics/openpandora/op-graphics.cpp index 20ee5dfc36..c8617635a5 100644 --- a/backends/graphics/openpandora/op-graphics.cpp +++ b/backends/graphics/openpandora/op-graphics.cpp @@ -26,15 +26,13 @@  #include "backends/graphics/openpandora/op-graphics.h"  #include "backends/events/openpandora/op-events.h" -#include "backends/platform/openpandora/op-sdl.h" -#include "common/mutex.h" -#include "common/util.h" - +//#include "backends/platform/openpandora/op-sdl.h"  #include "graphics/scaler/aspect.h" -#include "graphics/surface.h" +#include "common/mutex.h" +#include "common/textconsole.h" -OPGraphicsManager::OPGraphicsManager(SdlEventSource *boss) -	: SdlGraphicsManager(boss) { +OPGraphicsManager::OPGraphicsManager(SdlEventSource *sdlEventSource) +	: SdlGraphicsManager(sdlEventSource) {  }  bool OPGraphicsManager::loadGFXMode() { diff --git a/backends/graphics/openpandora/op-graphics.h b/backends/graphics/openpandora/op-graphics.h index b0d4298620..4bb89ca1e6 100644 --- a/backends/graphics/openpandora/op-graphics.h +++ b/backends/graphics/openpandora/op-graphics.h @@ -33,30 +33,30 @@ enum {  class OPGraphicsManager : public SdlGraphicsManager {  public: -	OPGraphicsManager(SdlEventSource *boss); - -	bool hasFeature(OSystem::Feature f); -	void setFeatureState(OSystem::Feature f, bool enable); -	bool getFeatureState(OSystem::Feature f); -	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(); +	OPGraphicsManager(SdlEventSource *sdlEventSource); + +//	bool hasFeature(OSystem::Feature f); +//	void setFeatureState(OSystem::Feature f, bool enable); +//	bool getFeatureState(OSystem::Feature f); +//	int getDefaultGraphicsMode() const; + +//	void initSize(uint w, uint h, const Graphics::PixelFormat *format = NULL); +//	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(); -	virtual void warpMouse(int x, int y); +//	void drawMouse(); +//	void undrawMouse(); +//	virtual void warpMouse(int x, int y); -	SdlGraphicsManager::MousePos *getMouseCurState(); -	SdlGraphicsManager::VideoState *getVideoMode(); +//	SdlGraphicsManager::MousePos *getMouseCurState(); +//	SdlGraphicsManager::VideoState *getVideoMode(); -	virtual void adjustMouseEvent(const Common::Event &event); +//	virtual void adjustMouseEvent(const Common::Event &event);  };  #endif /* BACKENDS_GRAPHICS_OP_H */  | 
