X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fgraphics%2Fbmploader.h;h=926516d8ca080d0eecfffc2b80f664537a6fa873;hb=6222d13e2790bdaa1013444f1221841397834cdd;hp=273e104407056300f29367c7343c5636a5c82c47;hpb=d3bc6c9c2cfaaedaabfd4b5b7bf4e1da2de51331;p=libs%2Fgui.git diff --git a/source/graphics/bmploader.h b/source/graphics/bmploader.h index 273e104..926516d 100644 --- a/source/graphics/bmploader.h +++ b/source/graphics/bmploader.h @@ -10,7 +10,8 @@ class BmpLoader: public ImageLoader { private: IO::Base &io; - unsigned sig_bytes; + unsigned sig_bytes = 0; + bool invert_row_order = false; public: BmpLoader(IO::Base &, unsigned = 0); @@ -18,7 +19,8 @@ public: static unsigned get_signature_size() { return 2; } static bool detect(const std::string &); - virtual void load(Image::Data &); + void load_headers_(Image::Data &) override; + void load_pixels_(Image::Data &) override; }; } // namespace Graphics