diff options
Diffstat (limited to 'src/FbTk/ThemeItems.hh')
-rw-r--r-- | src/FbTk/ThemeItems.hh | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/FbTk/ThemeItems.hh b/src/FbTk/ThemeItems.hh index 4d4d081..63c17df 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.4 2004/01/02 21:59:52 fluxgen Exp $ | 22 | // $Id: ThemeItems.hh,v 1.5 2004/02/10 19:03:04 fluxgen Exp $ |
23 | 23 | ||
24 | /// @file implements common theme items | 24 | /// @file implements common theme items |
25 | 25 | ||
@@ -132,8 +132,9 @@ void ThemeItem<FbTk::Texture>::load() { | |||
132 | m_value.pixmap() = 0; | 132 | m_value.pixmap() = 0; |
133 | return; | 133 | return; |
134 | } | 134 | } |
135 | std::auto_ptr<PixmapWithMask> pm(Image::load(pixmap_name, | 135 | |
136 | m_tm.screenNum())); | 136 | std::auto_ptr<FbTk::PixmapWithMask> pm(FbTk::Image::load(pixmap_name, |
137 | m_tm.screenNum())); | ||
137 | if (pm.get() == 0) { | 138 | if (pm.get() == 0) { |
138 | if (FbTk::ThemeManager::instance().verbose()) { | 139 | if (FbTk::ThemeManager::instance().verbose()) { |
139 | cerr<<"Resource("<<name()+".pixmap" | 140 | cerr<<"Resource("<<name()+".pixmap" |
@@ -212,6 +213,6 @@ void ThemeItem<FbTk::Color>::setFromString(const char *str) { | |||
212 | template <> | 213 | template <> |
213 | void ThemeItem<FbTk::Color>::load() { } | 214 | void ThemeItem<FbTk::Color>::load() { } |
214 | 215 | ||
215 | }; | 216 | } // end namespace FbTk |
216 | 217 | ||
217 | #endif // THEMEITEMS_HH | 218 | #endif // THEMEITEMS_HH |