summaryrefslogtreecommitdiff
path: root/src/gui/color.h
diff options
context:
space:
mode:
authorPhilipp Sehmisch <crush@themanaworld.org>2009-02-10 17:26:15 +0100
committerPhilipp Sehmisch <crush@themanaworld.org>2009-02-10 17:30:19 +0100
commitd5d8b2f29c8bd776d4c9fb1fad2af8232f59a1ab (patch)
tree76e77269ec6afcaafb57558c1bf2b6a4f2b0e79a /src/gui/color.h
parentc5fe99dcfd22b7e4d455ab8961d5f6c6210872d7 (diff)
downloadmana-client-d5d8b2f29c8bd776d4c9fb1fad2af8232f59a1ab.tar.gz
mana-client-d5d8b2f29c8bd776d4c9fb1fad2af8232f59a1ab.tar.bz2
mana-client-d5d8b2f29c8bd776d4c9fb1fad2af8232f59a1ab.tar.xz
mana-client-d5d8b2f29c8bd776d4c9fb1fad2af8232f59a1ab.zip
fixed capitalization of color member functions.
Diffstat (limited to 'src/gui/color.h')
-rw-r--r--src/gui/color.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gui/color.h b/src/gui/color.h
index 2539c085..a4ba752a 100644
--- a/src/gui/color.h
+++ b/src/gui/color.h
@@ -46,7 +46,7 @@ class color : public gcn::ListModel
* @param c charater to be replaced
* @param rgb color to replace character
*/
- void setcolor(const char c, const int rgb);
+ void setColor(const char c, const int rgb);
/**
* Define the color replacement for a character
@@ -56,9 +56,9 @@ class color : public gcn::ListModel
* @param g green component
* @param b blue component
*/
- void setcolor(const char c, const int r, const int g, const int b)
+ void setColor(const char c, const int r, const int g, const int b)
{
- setcolor(c, (r << 16) | (g << 8) | b);
+ setColor(c, (r << 16) | (g << 8) | b);
}
/**
@@ -67,7 +67,7 @@ class color : public gcn::ListModel
* @param c character requested
* @param valid indicate whether character is known
*/
- int getcolor(const char c, bool &valid) const;
+ int getColor(const char c, bool &valid) const;
/**
* Return the number of colors known
@@ -85,18 +85,18 @@ class color : public gcn::ListModel
* Get the color for the element at index i in the current color
* model
*/
- int getcolorAt(int i);
+ int getColorAt(int i);
/**
* Get the character used by the color for the element at index i in
* the current color model
*/
- char getcolorCharAt(int i);
+ char getColorCharAt(int i);
/**
* Set the color for the element at index i
*/
- void setcolorAt(int i, int rgb);
+ void setColorAt(int i, int rgb);
/**
* Commit the colors
@@ -128,7 +128,7 @@ class color : public gcn::ListModel
* @param rgb default color if not found in config
* @param text identifier of color
*/
- void addcolor(const char c, const int rgb, const std::string &text);
+ void addColor(const char c, const int rgb, const std::string &text);
};
extern color *textcolor;