aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/gfx/text.h
diff options
context:
space:
mode:
authorEugene Sandulenko2010-09-02 17:11:45 +0000
committerEugene Sandulenko2010-10-12 23:32:32 +0000
commit06bce68860696f67f0a0ac1e9682635081918801 (patch)
treeaa64e048a3c8870f5305db8f112194ab874409d5 /engines/sword25/gfx/text.h
parent086f5961b6575c50bb386750b6e9a3ed1efdd8cd (diff)
downloadscummvm-rg350-06bce68860696f67f0a0ac1e9682635081918801.tar.gz
scummvm-rg350-06bce68860696f67f0a0ac1e9682635081918801.tar.bz2
scummvm-rg350-06bce68860696f67f0a0ac1e9682635081918801.zip
SWORD25: Comply to the code conventions for several classes
svn-id: r53310
Diffstat (limited to 'engines/sword25/gfx/text.h')
-rw-r--r--engines/sword25/gfx/text.h20
1 files changed, 10 insertions, 10 deletions
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<RenderObject> ParentPtr);
Text(InputPersistenceBlock &Reader, RenderObjectPtr<RenderObject> ParentPtr, uint Handle);
- uint m_ModulationColor;
+ uint _modulationColor;
Common::String m_Font;
Common::String m_Text;
bool m_AutoWrap;