#include <stdexcept>
#include <string>
#include <msp/io/seekable.h>
+#include "mspgui_api.h"
#include "pixelformat.h"
namespace Msp {
class ImageLoader;
-class Image
+class MSPGUI_API Image
{
public:
struct Data
unsigned width = 0;
unsigned height = 0;
unsigned stride = 0;
- char *owned_pixels = 0;
- char *pixels = 0;
+ char *owned_pixels = nullptr;
+ char *pixels = nullptr;
Data() = default;
Data(const Data &);