summaryrefslogtreecommitdiff
path: root/src/FbTk/Image.hh
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2008-10-07 01:16:26 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2008-10-07 01:16:26 (GMT)
commitdda95bf106079fdfd12a690de0ce79a88279505f (patch)
treebdf8d56789f56c094e775a32fd3b26e9b36fa64b /src/FbTk/Image.hh
parentc033c201c4254c11804713dc427d22940da05438 (diff)
downloadfluxbox_lack-dda95bf106079fdfd12a690de0ce79a88279505f.zip
fluxbox_lack-dda95bf106079fdfd12a690de0ce79a88279505f.tar.bz2
allow relative path for background images in style files
Diffstat (limited to 'src/FbTk/Image.hh')
-rw-r--r--src/FbTk/Image.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/FbTk/Image.hh b/src/FbTk/Image.hh
index c27e452..acb5879 100644
--- a/src/FbTk/Image.hh
+++ b/src/FbTk/Image.hh
@@ -55,6 +55,8 @@ public:
55 static void removeSearchPath(const std::string &search_path); 55 static void removeSearchPath(const std::string &search_path);
56 /// adds a path to search images from 56 /// adds a path to search images from
57 static void removeAllSearchPaths(); 57 static void removeAllSearchPaths();
58 /// locates an image in the search path
59 static std::string locateFile(const std::string &filename);
58private: 60private:
59 typedef std::map<std::string, ImageBase *> ImageMap; 61 typedef std::map<std::string, ImageBase *> ImageMap;
60 typedef std::list<std::string> StringList; 62 typedef std::list<std::string> StringList;