diff options
Diffstat (limited to 'src/FbTk/ThemeItems.cc')
-rw-r--r-- | src/FbTk/ThemeItems.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/FbTk/ThemeItems.cc b/src/FbTk/ThemeItems.cc index 41d05e8..2f58b2a 100644 --- a/src/FbTk/ThemeItems.cc +++ b/src/FbTk/ThemeItems.cc | |||
@@ -21,7 +21,7 @@ | |||
21 | 21 | ||
22 | // $Id$ | 22 | // $Id$ |
23 | 23 | ||
24 | /// @file implements common theme items | 24 | /// @file ThemeItems.cc implements common theme items |
25 | 25 | ||
26 | #ifndef THEMEITEMS_HH | 26 | #ifndef THEMEITEMS_HH |
27 | #define THEMEITEMS_HH | 27 | #define THEMEITEMS_HH |
@@ -71,7 +71,7 @@ void ThemeItem<string>::setFromString(const char *str) { | |||
71 | } | 71 | } |
72 | 72 | ||
73 | template <> | 73 | template <> |
74 | void ThemeItem<int>::load(const string *name, const string *altname) { } | 74 | void ThemeItem<int>::load(const std::string *name, const std::string *altname) { } |
75 | 75 | ||
76 | template<> | 76 | template<> |
77 | void ThemeItem<int>::setDefaultValue() { | 77 | void ThemeItem<int>::setDefaultValue() { |
@@ -233,7 +233,7 @@ void ThemeItem<Texture>::load(const string *o_name, const string *o_altname) { | |||
233 | 233 | ||
234 | template <> | 234 | template <> |
235 | void ThemeItem<Texture>::setDefaultValue() { | 235 | void ThemeItem<Texture>::setDefaultValue() { |
236 | m_value.setType(Texture::FLAT | Texture::SOLID); | 236 | m_value.setType(Texture::DEFAULT_BEVEL | Texture::DEFAULT_TEXTURE); |
237 | load(); // one might forget to add line something: so we try to load something.*: too | 237 | load(); // one might forget to add line something: so we try to load something.*: too |
238 | } | 238 | } |
239 | 239 | ||