summaryrefslogtreecommitdiff
path: root/src/gui/colour.h
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2009-02-07 12:18:52 -0700
committerIra Rice <irarice@gmail.com>2009-02-07 12:18:52 -0700
commit1b8c088a48822641b53c2a304372471a128c2841 (patch)
tree4f2fbb68a2fb011a572bb5d0d69deb3a16780d92 /src/gui/colour.h
parent074ca287804a56f776d641826b1ecfc1454b6c72 (diff)
downloadMana-1b8c088a48822641b53c2a304372471a128c2841.tar.gz
Mana-1b8c088a48822641b53c2a304372471a128c2841.tar.bz2
Mana-1b8c088a48822641b53c2a304372471a128c2841.tar.xz
Mana-1b8c088a48822641b53c2a304372471a128c2841.zip
Added a text color preview to the setup color tab.
Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/gui/colour.h')
-rw-r--r--src/gui/colour.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/colour.h b/src/gui/colour.h
index 1648e1e8..d0349b7d 100644
--- a/src/gui/colour.h
+++ b/src/gui/colour.h
@@ -88,6 +88,12 @@ class Colour : public gcn::ListModel
int getColourAt(int i);
/**
+ * Get the character used by the colour for the element at index i in
+ * the current colour model
+ */
+ char getColourCharAt(int i);
+
+ /**
* Set the colour for the element at index i
*/
void setColourAt(int i, int rgb);