aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/ThemeItems.hh
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2004-02-10 19:03:42 (GMT)
committerfluxgen <fluxgen>2004-02-10 19:03:42 (GMT)
commit6d1ed67e54edb37b65a78fcb0471f9286e39322e (patch)
tree50409f7fd57bbfba180265eebba08bdcc2c18f5c /src/FbTk/ThemeItems.hh
parenta560e67df5b1f5a87e4301949f5cf6db9d3223af (diff)
downloadfluxbox-6d1ed67e54edb37b65a78fcb0471f9286e39322e.zip
fluxbox-6d1ed67e54edb37b65a78fcb0471f9286e39322e.tar.bz2
minor fix
Diffstat (limited to 'src/FbTk/ThemeItems.hh')
-rw-r--r--src/FbTk/ThemeItems.hh9
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) {
212template <> 213template <>
213void ThemeItem<FbTk::Color>::load() { } 214void ThemeItem<FbTk::Color>::load() { }
214 215
215}; 216} // end namespace FbTk
216 217
217#endif // THEMEITEMS_HH 218#endif // THEMEITEMS_HH