diff options
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 | }; |