mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-23 08:08:03 -05:00
64d2b9e02b
* lego: implement LegoNavController::SetControlMax and related * use MxResult * fix name
23 lines
438 B
C++
23 lines
438 B
C++
#ifndef MXPALETTE_H
|
|
#define MXPALETTE_H
|
|
|
|
#include <ddraw.h>
|
|
|
|
#include "mxcore.h"
|
|
#include "mxresult.h"
|
|
|
|
class MxPalette : public MxCore
|
|
{
|
|
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
|
|
};
|
|
|
|
#endif // MXPALETTE_H
|