From ae78107e2a8732977313e208f1d08e65d50ec8e8 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Tue, 19 Oct 2010 20:54:30 +0000 Subject: SWORD25: Enforce code naming conventions in gfx/* svn-id: r53625 --- engines/sword25/gfx/dynamicbitmap.h | 25 ++++++++----------------- 1 file changed, 8 insertions(+), 17 deletions(-) (limited to 'engines/sword25/gfx/dynamicbitmap.h') diff --git a/engines/sword25/gfx/dynamicbitmap.h b/engines/sword25/gfx/dynamicbitmap.h index a02769fb57..1737bdf5fc 100644 --- a/engines/sword25/gfx/dynamicbitmap.h +++ b/engines/sword25/gfx/dynamicbitmap.h @@ -35,11 +35,6 @@ #ifndef SWORD25_DYNAMIC_BITMAP_H #define SWORD25_DYNAMIC_BITMAP_H - -// ----------------------------------------------------------------------------- -// Includes -// ----------------------------------------------------------------------------- - #include "sword25/kernel/common.h" #include "sword25/gfx/bitmap.h" #include "sword25/gfx/image/renderedimage.h" @@ -48,10 +43,6 @@ namespace Sword25 { -// ----------------------------------------------------------------------------- -// Klassendeklaration -// ----------------------------------------------------------------------------- - class DynamicBitmap : public Bitmap { friend class RenderObject; @@ -60,18 +51,18 @@ 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; - 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: DynamicBitmap(RenderObjectPtr parentPtr, uint width, uint height); -- cgit v1.2.3