aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/ThemeItems.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk/ThemeItems.hh')
-rw-r--r--src/FbTk/ThemeItems.hh8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/FbTk/ThemeItems.hh b/src/FbTk/ThemeItems.hh
index 57a5f11..f17cba6 100644
--- a/src/FbTk/ThemeItems.hh
+++ b/src/FbTk/ThemeItems.hh
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: ThemeItems.hh,v 1.6 2004/04/26 15:04:37 rathnor Exp $ 22// $Id: ThemeItems.hh,v 1.7 2004/08/26 16:37:48 rathnor Exp $
23 23
24/// @file implements common theme items 24/// @file implements common theme items
25 25
@@ -128,7 +128,11 @@ void ThemeItem<FbTk::Texture>::load(const std::string *o_name, const std::string
128 if (!m_value.colorTo().setFromString(colorto_name.c_str(), 128 if (!m_value.colorTo().setFromString(colorto_name.c_str(),
129 m_tm.screenNum())) 129 m_tm.screenNum()))
130 m_value.colorTo().setFromString("white", m_tm.screenNum()); 130 m_value.colorTo().setFromString("white", m_tm.screenNum());
131 131
132
133 if ((m_value.type() & FbTk::Texture::SOLID) != 0 && (m_value.type() & FbTk::Texture::FLAT) == 0)
134 m_value.calcHiLoColors(m_tm.screenNum());
135
132 StringUtil::removeFirstWhitespace(pixmap_name); 136 StringUtil::removeFirstWhitespace(pixmap_name);
133 StringUtil::removeTrailingWhitespace(pixmap_name); 137 StringUtil::removeTrailingWhitespace(pixmap_name);
134 if (pixmap_name.empty()) { 138 if (pixmap_name.empty()) {