isle-portable/LEGO1/mxpalette.h

24 lines
438 B
C
Raw Normal View History

2023-04-27 22:19:39 -04:00
#ifndef MXPALETTE_H
#define MXPALETTE_H
#include <ddraw.h>
#include "mxcore.h"
#include "mxresult.h"
class MxPalette : public MxCore
2023-04-27 22:19:39 -04:00
{
public:
__declspec(dllexport) unsigned char operator==(MxPalette &);
__declspec(dllexport) void Detach();
MxResult GetEntries(LPPALETTEENTRY p_entries);
private:
LPDIRECTDRAWPALETTE m_pDirectDrawPalette;
PALETTEENTRY m_entries[256];
// there's a bit more here
2023-04-27 22:19:39 -04:00
};
#endif // MXPALETTE_H