diff options
| author | Max Horn | 2009-01-30 16:23:41 +0000 | 
|---|---|---|
| committer | Max Horn | 2009-01-30 16:23:41 +0000 | 
| commit | e7afcecda279ff06b375a826cd7e49441dd6cf7e (patch) | |
| tree | 1c731bd0ee252523e0f93422d9b69455722f90d8 | |
| parent | e354c4b4f28ec5e67817fe3161ce163bd60e4748 (diff) | |
| download | scummvm-rg350-e7afcecda279ff06b375a826cd7e49441dd6cf7e.tar.gz scummvm-rg350-e7afcecda279ff06b375a826cd7e49441dd6cf7e.tar.bz2 scummvm-rg350-e7afcecda279ff06b375a826cd7e49441dd6cf7e.zip  | |
Removed default implementations of OSystem::getOverlayHeight() and getOverlayWidth()
svn-id: r36152
| -rw-r--r-- | backends/platform/ps2/systemps2.h | 2 | ||||
| -rw-r--r-- | common/system.h | 4 | 
2 files changed, 4 insertions, 2 deletions
diff --git a/backends/platform/ps2/systemps2.h b/backends/platform/ps2/systemps2.h index c0a8b9af60..7f29677ba5 100644 --- a/backends/platform/ps2/systemps2.h +++ b/backends/platform/ps2/systemps2.h @@ -76,6 +76,8 @@ public:  	virtual void clearOverlay();  	virtual void grabOverlay(OverlayColor *buf, int pitch);  	virtual void copyRectToOverlay(const OverlayColor *buf, int pitch, int x, int y, int w, int h); +	virtual int16 getOverlayHeight()  { return getHeight(); } +	virtual int16 getOverlayWidth()   { return getWidth(); }  	virtual bool showMouse(bool visible); diff --git a/common/system.h b/common/system.h index 8c05b6d756..913c19c70e 100644 --- a/common/system.h +++ b/common/system.h @@ -640,13 +640,13 @@ public:  	 * Return the height of the overlay.  	 * @see getHeight  	 */ -	virtual int16 getOverlayHeight()  { return getHeight(); } +	virtual int16 getOverlayHeight() = 0;  	/**  	 * Return the width of the overlay.  	 * @see getWidth  	 */ -	virtual int16 getOverlayWidth()   { return getWidth(); } +	virtual int16 getOverlayWidth() = 0;  	//@}  | 
