diff options
Diffstat (limited to 'src/FbTk/Image.hh')
-rw-r--r-- | src/FbTk/Image.hh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/FbTk/Image.hh b/src/FbTk/Image.hh index 6e0bf53..eaa66ae 100644 --- a/src/FbTk/Image.hh +++ b/src/FbTk/Image.hh | |||
@@ -36,6 +36,13 @@ class PixmapWithMask; | |||
36 | /// loads images | 36 | /// loads images |
37 | class Image { | 37 | class Image { |
38 | public: | 38 | public: |
39 | |||
40 | /// called at FbTk::App creation time, init some internal stuff | ||
41 | static void init(); | ||
42 | |||
43 | /// called at FbTk:App destruction time, frees stuff allocated by init() | ||
44 | static void shutdown(); | ||
45 | |||
39 | /// @return an instance of PixmapWithMask on success, 0 on failure | 46 | /// @return an instance of PixmapWithMask on success, 0 on failure |
40 | static PixmapWithMask *load(const std::string &filename, int screen_num); | 47 | static PixmapWithMask *load(const std::string &filename, int screen_num); |
41 | /// for register file type and imagebase | 48 | /// for register file type and imagebase |