X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgraphics%2Fbmploader.h;h=5f8ad0a6f48cba9b59263de7b09dd817411b44f5;hb=d7686e3867e3c68cec0d3767a21f9d2408383085;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