summaryrefslogtreecommitdiffstats
path: root/src/Color.h
diff options
context:
space:
mode:
authorworktycho <work.tycho@gmail.com>2015-09-17 14:32:01 +0200
committerworktycho <work.tycho@gmail.com>2015-09-17 14:32:01 +0200
commit2598f3158f0f47c5e082851032bf4a1a3b8d88e5 (patch)
tree4b984cbc73628fac3a3e0ed3aff55a65dfaf82f7 /src/Color.h
parentMerge pull request #2457 from cuberite/log (diff)
parentAdded CircleCI for stylechecking. (diff)
downloadcuberite-2598f3158f0f47c5e082851032bf4a1a3b8d88e5.tar
cuberite-2598f3158f0f47c5e082851032bf4a1a3b8d88e5.tar.gz
cuberite-2598f3158f0f47c5e082851032bf4a1a3b8d88e5.tar.bz2
cuberite-2598f3158f0f47c5e082851032bf4a1a3b8d88e5.tar.lz
cuberite-2598f3158f0f47c5e082851032bf4a1a3b8d88e5.tar.xz
cuberite-2598f3158f0f47c5e082851032bf4a1a3b8d88e5.tar.zst
cuberite-2598f3158f0f47c5e082851032bf4a1a3b8d88e5.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