1 #ifndef MSP_GRAPHICS_BMPLOADER_H_
2 #define MSP_GRAPHICS_BMPLOADER_H_
4 #include <msp/graphics/imageloader.h>
5 #include "mspgui_api.h"
10 class MSPGUI_API BmpLoader: public ImageLoader
14 unsigned sig_bytes = 0;
15 bool invert_row_order = false;
18 BmpLoader(IO::Base &, unsigned = 0);
20 static unsigned get_signature_size() { return 2; }
21 static bool detect(const std::string &);
23 void load_headers_(Image::Data &) override;
24 void load_pixels_(Image::Data &) override;
27 } // namespace Graphics