1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 06:27:45 +00:00

PNGLoader: Tag the decoded bitmap with the source PNG path.

This commit is contained in:
Andreas Kling 2019-04-30 13:46:03 +02:00
parent d55ff4756a
commit f4b190c58b
3 changed files with 14 additions and 2 deletions

View file

@ -33,6 +33,8 @@ public:
bool has_alpha_channel() const { return m_format == Format::RGBA32; }
Format format() const { return m_format; }
void set_mmap_name(const String&);
private:
GraphicsBitmap(Format, const Size&);
GraphicsBitmap(Format, const Size&, RGBA32*);