diff options
author | Eugene Sandulenko | 2010-10-19 20:54:30 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2010-10-19 20:54:30 +0000 |
commit | ae78107e2a8732977313e208f1d08e65d50ec8e8 (patch) | |
tree | 211a1d877c9bbb69b59f358a7f9ddd1cc151de8e /engines/sword25/gfx/staticbitmap.h | |
parent | 3feab382bc5c97656580254c235a5573e24e0d6f (diff) | |
download | scummvm-rg350-ae78107e2a8732977313e208f1d08e65d50ec8e8.tar.gz scummvm-rg350-ae78107e2a8732977313e208f1d08e65d50ec8e8.tar.bz2 scummvm-rg350-ae78107e2a8732977313e208f1d08e65d50ec8e8.zip |
SWORD25: Enforce code naming conventions in gfx/*
svn-id: r53625
Diffstat (limited to 'engines/sword25/gfx/staticbitmap.h')
-rw-r--r-- | engines/sword25/gfx/staticbitmap.h | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/engines/sword25/gfx/staticbitmap.h b/engines/sword25/gfx/staticbitmap.h index a325487213..b5b4c4f5a2 100644 --- a/engines/sword25/gfx/staticbitmap.h +++ b/engines/sword25/gfx/staticbitmap.h @@ -35,19 +35,11 @@ #ifndef SWORD25_STATIC_BITMAP_H #define SWORD25_STATIC_BITMAP_H -// ----------------------------------------------------------------------------- -// Includes -// ----------------------------------------------------------------------------- - #include "sword25/kernel/common.h" #include "sword25/gfx/bitmap.h" namespace Sword25 { -// ----------------------------------------------------------------------------- -// Klassendeklaration -// ----------------------------------------------------------------------------- - class StaticBitmap : public Bitmap { friend class RenderObject; @@ -63,20 +55,20 @@ public: virtual uint getPixel(int x, int y) const; - virtual bool setContent(const byte *pixeldata, uint size, uint offset, uint stride); + virtual bool setContent(const byte *pixeldata, uint size, uint offset, uint stride); - virtual bool isScalingAllowed() const; - virtual bool isAlphaAllowed() const; - virtual bool isColorModulationAllowed() const; - virtual bool isSetContentAllowed() const { + virtual bool isScalingAllowed() const; + virtual bool isAlphaAllowed() const; + virtual bool isColorModulationAllowed() const; + virtual bool isSetContentAllowed() const { return false; } - virtual bool persist(OutputPersistenceBlock &writer); - virtual bool unpersist(InputPersistenceBlock &reader); + virtual bool persist(OutputPersistenceBlock &writer); + virtual bool unpersist(InputPersistenceBlock &reader); protected: - virtual bool doRender(); + virtual bool doRender(); private: Common::String _resourceFilename; |