]> git.tdb.fi Git - libs/gui.git/blobdiff - source/graphics/bmploader.h
Split image loading into headers and pixels
[libs/gui.git] / source / graphics / bmploader.h
index 9ae8f4e7c21bbd0d7a8312281c539170e87ec52f..60be2dc14cf066a87450eefba6e05613109cbc89 100644 (file)
@@ -11,6 +11,7 @@ class BmpLoader: public ImageLoader
 private:
        IO::Base &io;
        unsigned sig_bytes;
+       bool invert_row_order;
 
 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 &);
+       virtual void load_headers_(Image::Data &);
+       virtual void load_pixels_(Image::Data &);
 };
 
 } // namespace Graphics