]> git.tdb.fi Git - libs/gui.git/blobdiff - source/graphics/bmploader.h
Enable xrandr support by default
[libs/gui.git] / source / graphics / bmploader.h
index 273e104407056300f29367c7343c5636a5c82c47..926516d8ca080d0eecfffc2b80f664537a6fa873 100644 (file)
@@ -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