X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=inline;f=source%2Fgraphics%2Fbmploader.h;h=926516d8ca080d0eecfffc2b80f664537a6fa873;hb=3c5bbaeadb33d288c0f9e487b52904b7ed7e4319;hp=9ae8f4e7c21bbd0d7a8312281c539170e87ec52f;hpb=2ebdf45974a0a7649b3488f9da4b8cf90a1db584;p=libs%2Fgui.git diff --git a/source/graphics/bmploader.h b/source/graphics/bmploader.h index 9ae8f4e..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