From: Mikko Rasa Date: Tue, 5 Sep 2023 09:23:52 +0000 (+0300) Subject: Export Image::Data in the public API X-Git-Url: https://git.tdb.fi/?a=commitdiff_plain;h=44d4879975b087e9accb82c6531c3c573a0ec107;p=libs%2Fgui.git Export Image::Data in the public API It's necessary because Image's destructor is generated by the compiler, and also in case a user wants to define their own image loader. --- diff --git a/source/graphics/image.h b/source/graphics/image.h index 15685c6..6f90250 100644 --- a/source/graphics/image.h +++ b/source/graphics/image.h @@ -15,7 +15,7 @@ class ImageLoader; class MSPGUI_API Image { public: - struct Data + struct MSPGUI_API Data { PixelFormat fmt = RGB; unsigned width = 0;