Files
Leviathan/Library/External/XTToolkitPro/include/CommandBars/MessageBar/XTPMessageBarThemeResource.h
T
2026-06-01 12:46:52 +02:00

26 lines
1019 B
C++

class CXTPResourceTheme;
class CXTPMessageBar;
class CXTPMessageBarButton;
class _XTP_EXT_CLASS CXTPMessageBarThemeResource : public CXTPMessageBarPaintManager
{
public:
CXTPMessageBarThemeResource(CXTPResourceTheme *pTheme);
//-----------------------------------------------------------------------
// Summary: Draws the message bar.
// Input: pDC - Pointer to a valid device context.
// pBar - Pointer to the message bar to draw.
//-----------------------------------------------------------------------
virtual void FillMessageBar(CDC* pDC, CXTPMessageBar* pBar);
//-----------------------------------------------------------------------
// Summary: Call this member to draw a button in the message bar.
// Input: pDC - Pointer to a valid device context.
// pButton - Button to draw.
//-----------------------------------------------------------------------
virtual void DrawMessageBarButton(CDC* pDC, CXTPMessageBarButton* pButton);
protected:
CXTPResourceTheme *m_pTheme;
};