X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgraphics%2Fbmploader.h;h=db9af1db4b28405616cf5f64c8735e99cae97c74;hb=HEAD;hp=60be2dc14cf066a87450eefba6e05613109cbc89;hpb=054fca09f0bbd64fdbd6406a0643de938a9cd4fb;p=libs%2Fgui.git diff --git a/source/graphics/bmploader.h b/source/graphics/bmploader.h index 60be2dc..5f8ad0a 100644 --- a/source/graphics/bmploader.h +++ b/source/graphics/bmploader.h @@ -2,16 +2,17 @@ #define MSP_GRAPHICS_BMPLOADER_H_ #include +#include "mspgui_api.h" namespace Msp { namespace Graphics { -class BmpLoader: public ImageLoader +class MSPGUI_API BmpLoader: public ImageLoader { private: IO::Base &io; - unsigned sig_bytes; - bool invert_row_order; + unsigned sig_bytes = 0; + bool invert_row_order = false; public: BmpLoader(IO::Base &, unsigned = 0); @@ -19,8 +20,8 @@ public: static unsigned get_signature_size() { return 2; } static bool detect(const std::string &); - virtual void load_headers_(Image::Data &); - virtual void load_pixels_(Image::Data &); + void load_headers_(Image::Data &) override; + void load_pixels_(Image::Data &) override; }; } // namespace Graphics