#define MSP_GRAPHICS_BMPLOADER_H_
#include <msp/graphics/imageloader.h>
+#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);
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