#pragma once

#include "miniwin/ddraw.h"

struct DirectDrawPaletteImpl : public IDirectDrawPalette {
	DirectDrawPaletteImpl(LPPALETTEENTRY lpColorTable);
	~DirectDrawPaletteImpl() override;
	HRESULT GetEntries(DWORD dwFlags, DWORD dwBase, DWORD dwNumEntries, LPPALETTEENTRY lpEntries) override;
	HRESULT SetEntries(DWORD dwFlags, DWORD dwStartingEntry, DWORD dwCount, LPPALETTEENTRY lpEntries) override;

	SDL_Palette* m_palette;
};
