From 06bce68860696f67f0a0ac1e9682635081918801 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Thu, 2 Sep 2010 17:11:45 +0000 Subject: SWORD25: Comply to the code conventions for several classes svn-id: r53310 --- engines/sword25/gfx/text.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'engines/sword25/gfx/text.h') diff --git a/engines/sword25/gfx/text.h b/engines/sword25/gfx/text.h index 126f7ad0d6..ed3a83e630 100644 --- a/engines/sword25/gfx/text.h +++ b/engines/sword25/gfx/text.h @@ -78,7 +78,7 @@ public: @brief Setzt den Alphawert des Textes. @param Alpha der neue Alphawert des Textes (0 = keine Deckung, 255 = volle Deckung). */ - void SetAlpha(int Alpha); + void setAlpha(int alpha); /** @brief Legt fest, ob der Text automatisch umgebrochen werden soll. @@ -115,22 +115,22 @@ public: @brief Setzt die Farbe des Textes. @param Color eine 24-Bit RGB Farbe, die die Farbe des Textes festlegt. */ - void SetColor(uint ModulationColor); + void setColor(uint modulationColor); /** @brief Gibt den Alphawert des Textes zurück. @return Der Alphawert des Textes (0 = keine Deckung, 255 = volle Deckung). */ - int GetAlpha() const { - return m_ModulationColor >> 24; + int getAlpha() const { + return _modulationColor >> 24; } /** @brief Gibt die Farbe des Textes zurück. @return Eine 24-Bit RGB Farbe, die die Farbe des Textes angibt. */ - int GetColor() const { - return m_ModulationColor & 0x00ffffff; + int getColor() const { + return _modulationColor & 0x00ffffff; } /** @@ -147,17 +147,17 @@ public: return m_AutoWrapThreshold; } - 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: Text(RenderObjectPtr ParentPtr); Text(InputPersistenceBlock &Reader, RenderObjectPtr ParentPtr, uint Handle); - uint m_ModulationColor; + uint _modulationColor; Common::String m_Font; Common::String m_Text; bool m_AutoWrap; -- cgit v1.2.3