]> git.tdb.fi Git - libs/gui.git/blobdiff - source/graphics/png/pngloader.h
Add a class for creating Vulkan graphics contexts
[libs/gui.git] / source / graphics / png / pngloader.h
index 683f4d37389d3e98189b7edeaf41876c716a6f94..7c9390f23f79c4222972f211eeb87d1ad4561bd7 100644 (file)
@@ -13,8 +13,6 @@ private:
 
        Private *priv;
 
-       static Register<PngLoader> reg;
-
 public:
        PngLoader(IO::Base &, unsigned = 0);
        virtual ~PngLoader();
@@ -22,7 +20,8 @@ public:
        static unsigned get_signature_size() { return 8; }
        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