summaryrefslogtreecommitdiff
path: root/src/gui/palette.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-02-03 18:59:37 +0300
committerAndrei Karas <akaras@inbox.ru>2012-02-03 19:03:30 +0300
commit98db78be9552b039090ce5dfc53803df2dd54b41 (patch)
treeefda1a43723e8e11e075dcfef2776fe38c7cb3da /src/gui/palette.h
parentd7cbb663f5f8e19ccfa7162ef7d1d4e3b4020335 (diff)
downloadplus-98db78be9552b039090ce5dfc53803df2dd54b41.tar.gz
plus-98db78be9552b039090ce5dfc53803df2dd54b41.tar.bz2
plus-98db78be9552b039090ce5dfc53803df2dd54b41.tar.xz
plus-98db78be9552b039090ce5dfc53803df2dd54b41.zip
Add some missing getters.
Diffstat (limited to 'src/gui/palette.h')
-rw-r--r--src/gui/palette.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/gui/palette.h b/src/gui/palette.h
index 36d87e305..7d5d93830 100644
--- a/src/gui/palette.h
+++ b/src/gui/palette.h
@@ -98,9 +98,7 @@ class Palette
* @return the gradient type of the color with the given index
*/
inline GradientType getGradientType(int type) const
- {
- return mColors[type].grad;
- }
+ { return mColors[type].grad; }
/**
* Get the character used by the specified color.
@@ -110,9 +108,7 @@ class Palette
* @return the color char of the color with the given index
*/
inline char getColorChar(int type) const
- {
- return mColors[type].ch;
- }
+ { return mColors[type].ch; }
/**
* Gets the gradient delay for the specified type.
@@ -122,7 +118,7 @@ class Palette
* @return the gradient delay of the color with the given index
*/
inline int getGradientDelay(int type) const
- { return mColors[type].delay; }
+ { return mColors[type].delay; }
/**
* Updates all colors, that are non-static.