diff options
| author | Johannes Schickel | 2012-02-25 21:33:28 +0100 | 
|---|---|---|
| committer | Johannes Schickel | 2012-02-26 01:01:19 +0100 | 
| commit | 83ce8da9359d0f015165d8e75c37776a7a49474e (patch) | |
| tree | 7354c580a6af080720e6e04ed358851615fe1735 /backends/platform/iphone/osys_main.h | |
| parent | 23732c7179ffe0e0a1d3ee3cdcefa5cee83e7518 (diff) | |
| download | scummvm-rg350-83ce8da9359d0f015165d8e75c37776a7a49474e.tar.gz scummvm-rg350-83ce8da9359d0f015165d8e75c37776a7a49474e.tar.bz2 scummvm-rg350-83ce8da9359d0f015165d8e75c37776a7a49474e.zip | |
IPHONE: Implement 16bpp color support.
This feature is currently disabled by default.
Diffstat (limited to 'backends/platform/iphone/osys_main.h')
| -rw-r--r-- | backends/platform/iphone/osys_main.h | 10 | 
1 files changed, 8 insertions, 2 deletions
| diff --git a/backends/platform/iphone/osys_main.h b/backends/platform/iphone/osys_main.h index 675fc96321..5d0f60c34c 100644 --- a/backends/platform/iphone/osys_main.h +++ b/backends/platform/iphone/osys_main.h @@ -75,10 +75,11 @@ protected:  	bool _mouseCursorPaletteEnabled;  	uint16 _mouseCursorPalette[256]; -	byte *_mouseBuf; -	byte _mouseKeyColor; +	Graphics::Surface _mouseBuffer; +	uint16 _mouseKeyColor;  	bool _mouseDirty;  	bool _mouseNeedTextureUpdate; +  	long _lastMouseDown;  	long _lastMouseTap;  	long _queuedEventTime; @@ -127,6 +128,11 @@ public:  	virtual int16 getHeight();  	virtual int16 getWidth(); +#ifdef USE_RGB_COLOR +	virtual Graphics::PixelFormat getScreenFormat() const { return _framebuffer.format; } +	virtual Common::List<Graphics::PixelFormat> getSupportedFormats() const; +#endif +  	virtual PaletteManager *getPaletteManager() { return this; }  protected:  	// PaletteManager API | 
