summaryrefslogtreecommitdiffstats
path: root/src/Color.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-09-17 11:20:10 +0200
committerMattes D <github@xoft.cz>2015-09-17 11:20:10 +0200
commit9871c0b0731446f6c12137502153c24c9f1d9dfa (patch)
tree4b984cbc73628fac3a3e0ed3aff55a65dfaf82f7 /src/Color.h
parentMerge pull request #2457 from cuberite/log (diff)
downloadcuberite-9871c0b0731446f6c12137502153c24c9f1d9dfa.tar
cuberite-9871c0b0731446f6c12137502153c24c9f1d9dfa.tar.gz
cuberite-9871c0b0731446f6c12137502153c24c9f1d9dfa.tar.bz2
cuberite-9871c0b0731446f6c12137502153c24c9f1d9dfa.tar.lz
cuberite-9871c0b0731446f6c12137502153c24c9f1d9dfa.tar.xz
cuberite-9871c0b0731446f6c12137502153c24c9f1d9dfa.tar.zst
cuberite-9871c0b0731446f6c12137502153c24c9f1d9dfa.zip
Diffstat (limited to 'src/Color.h')
-rw-r--r--src/Color.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/Color.h b/src/Color.h
index 57775b0dd..3680193ab 100644
--- a/src/Color.h
+++ b/src/Color.h
@@ -25,31 +25,31 @@ public:
cColor() { m_Color = static_cast<unsigned int>(COLOR_NONE);}
cColor(unsigned char a_Red, unsigned char a_Green, unsigned char a_Blue) { SetColor(a_Red, a_Green, a_Blue); }
- /// Returns whether the color is a valid color
+ /** Returns whether the color is a valid color */
bool IsValid() const { return m_Color != COLOR_NONE; }
- /// Changes the color
+ /** Changes the color */
void SetColor(unsigned char a_Red, unsigned char a_Green, unsigned char a_Blue);
- /// Alters the red value of the color
+ /** Alters the red value of the color */
void SetRed(unsigned char a_Red);
- /// Alters the green value of the color
+ /** Alters the green value of the color */
void SetGreen(unsigned char a_Red);
- /// Alters the blue value of the color
+ /** Alters the blue value of the color */
void SetBlue(unsigned char a_Red);
- /// Returns the red value of the color
+ /** Returns the red value of the color */
unsigned char GetRed() const;
- /// Returns the green value of the color
+ /** Returns the green value of the color */
unsigned char GetGreen() const;
- /// Returns the blue value of the color
+ /** Returns the blue value of the color */
unsigned char GetBlue() const;
- /// Resets the color
+ /** Resets the color */
void Clear() { m_Color = static_cast<unsigned int>(COLOR_NONE); }
// tolua_end