diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-31 17:07:13 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-31 17:33:20 +0300 |
commit | 6683d42b636619e02e2bcf98923a2fdbf44bd95b (patch) | |
tree | 7c7bb1c27fd1b756a428b639f098b51cdeb08b94 /src/gui/palette.cpp | |
parent | d7c67fa2b6faa3e81269244224da4b72f045d659 (diff) | |
download | mv-6683d42b636619e02e2bcf98923a2fdbf44bd95b.tar.gz mv-6683d42b636619e02e2bcf98923a2fdbf44bd95b.tar.bz2 mv-6683d42b636619e02e2bcf98923a2fdbf44bd95b.tar.xz mv-6683d42b636619e02e2bcf98923a2fdbf44bd95b.zip |
Move functions getColor, getIdByChar from palette to theme and userpalette.
Diffstat (limited to 'src/gui/palette.cpp')
-rw-r--r-- | src/gui/palette.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/gui/palette.cpp b/src/gui/palette.cpp index 88de9d5d0..757a61a23 100644 --- a/src/gui/palette.cpp +++ b/src/gui/palette.cpp @@ -72,19 +72,6 @@ const Color& Palette::getCharColor(const signed char c, bool &valid) const return BLACK; } -int Palette::getIdByChar(const signed char c, bool &valid) const -{ - const CharColors::const_iterator it = mCharColors.find(c); - if (it != mCharColors.end()) - { - valid = true; - return (*it).second; - } - - valid = false; - return 0; -} - void Palette::advanceGradients() { FOR_EACH (Palettes::const_iterator, it, mInstances) |