summaryrefslogtreecommitdiff
path: root/src/FbTk/Image.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk/Image.hh')
-rw-r--r--src/FbTk/Image.hh8
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 {
33class ImageBase; 33class ImageBase;
34class PixmapWithMask; 34class PixmapWithMask;
35 35
36/// loads images 36/// loads images
37class Image { 37class Image {
38public: 38public:
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
69class ImageBase { 69class ImageBase {
70public: 70public:
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};