diff options
author | Mathias Gumz <akira at fluxbox dot org> | 2007-12-30 15:32:53 (GMT) |
---|---|---|
committer | Mathias Gumz <akira at fluxbox dot org> | 2007-12-30 15:32:53 (GMT) |
commit | 04cd2fd14c6f45f61457e034906f630ce46a76cc (patch) | |
tree | 67e2f2f7977c3e8525c2ae7eb30f593f7f440b82 /src/FbTk/Image.hh | |
parent | 4cc810b0d39917d37fa08034ac7dd509292c9ce3 (diff) | |
download | fluxbox-04cd2fd14c6f45f61457e034906f630ce46a76cc.zip fluxbox-04cd2fd14c6f45f61457e034906f630ce46a76cc.tar.bz2 |
removed some unneeded headers
Diffstat (limited to 'src/FbTk/Image.hh')
-rw-r--r-- | src/FbTk/Image.hh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/FbTk/Image.hh b/src/FbTk/Image.hh index b0f3ecc..1f8c41d 100644 --- a/src/FbTk/Image.hh +++ b/src/FbTk/Image.hh | |||
@@ -33,16 +33,16 @@ namespace FbTk { | |||
33 | class ImageBase; | 33 | class ImageBase; |
34 | class PixmapWithMask; | 34 | class PixmapWithMask; |
35 | 35 | ||
36 | /// loads images | 36 | /// loads images |
37 | class Image { | 37 | class Image { |
38 | public: | 38 | public: |
39 | 39 | ||
40 | /// called at FbTk::App creation time, init some internal stuff | 40 | /// called at FbTk::App creation time, init some internal stuff |
41 | static void init(); | 41 | static void init(); |
42 | 42 | ||
43 | /// called at FbTk:App destruction time, frees stuff allocated by init() | 43 | /// called at FbTk:App destruction time, frees stuff allocated by init() |
44 | static void shutdown(); | 44 | static void shutdown(); |
45 | 45 | ||
46 | /// @return an instance of PixmapWithMask on success, 0 on failure | 46 | /// @return an instance of PixmapWithMask on success, 0 on failure |
47 | static PixmapWithMask *load(const std::string &filename, int screen_num); | 47 | static PixmapWithMask *load(const std::string &filename, int screen_num); |
48 | /// for register file type and imagebase | 48 | /// for register file type and imagebase |
@@ -67,7 +67,7 @@ private: | |||
67 | 67 | ||
68 | /// common interface for all image classes | 68 | /// common interface for all image classes |
69 | class ImageBase { | 69 | class ImageBase { |
70 | public: | 70 | public: |
71 | virtual ~ImageBase() { Image::remove(*this); } | 71 | virtual ~ImageBase() { Image::remove(*this); } |
72 | virtual PixmapWithMask *load(const std::string &name, int screen_num) const = 0; | 72 | virtual PixmapWithMask *load(const std::string &name, int screen_num) const = 0; |
73 | }; | 73 | }; |