ScummVM API documentation
Graphics::MFC::CPalette Class Reference
Inheritance diagram for Graphics::MFC::CPalette:
Graphics::MFC::CGdiObject Graphics::MFC::CObject

Classes

struct  Impl
 

Public Member Functions

Implpalette () const
 
bool CreatePalette (LPLOGPALETTE lpLogPalette)
 
int GetObject (int nCount, void *lpObject) const
 
unsigned int GetEntryCount () const
 
unsigned int GetPaletteEntries (unsigned int nStartIndex, unsigned int nNumEntries, LPPALETTEENTRY lpPaletteColors) const
 
unsigned int SetPaletteEntries (unsigned int nStartIndex, unsigned int nNumEntries, LPPALETTEENTRY lpPaletteColors)
 
unsigned int SetPaletteEntries (const Graphics::Palette &pal)
 
bool AnimatePalette (unsigned int nStartIndex, unsigned int nNumEntries, const PALETTEENTRY *lpPaletteColors)
 
unsigned int GetNearestPaletteIndex (COLORREF crColor)
 
bool isEmpty () const
 
- Public Member Functions inherited from Graphics::MFC::CGdiObject
 operator HGDIOBJ () const
 
bool Attach (HGDIOBJ hObject)
 
HGDIOBJ Detach ()
 
bool DeleteObject ()
 
bool operator== (const CGdiObject &obj) const
 
bool operator!= (const CGdiObject &obj) const
 
- Public Member Functions inherited from Graphics::MFC::CObject
 CObject (const CObject &)=default
 
CObjectoperator= (const CObject &)=default
 
virtual const CRuntimeClassGetRuntimeClass () const
 
virtual void AssertValid () const
 
virtual void Dump (CDumpContext &dc) const
 
bool IsKindOf (const CRuntimeClass *pClass) const
 

Static Public Member Functions

static CPaletteFromHandle (HGDIOBJ h)
 
- Static Public Member Functions inherited from Graphics::MFC::CGdiObject
static CGdiObjectFromHandle (HGDIOBJ h)
 

Additional Inherited Members

- Public Attributes inherited from Graphics::MFC::CGdiObject
HGDIOBJ m_hObject = nullptr
 
- Static Public Attributes inherited from Graphics::MFC::CObject
static const CRuntimeClass classCObject
 
- Protected Member Functions inherited from Graphics::MFC::CGdiObject
void AfxHookObject ()
 
void AfxUnhookObject ()
 

The documentation for this class was generated from the following file: