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

40 lines
1.6 KiB
C++

class CXTPResourceTheme;
class _XTP_EXT_CLASS CXTPStatusBarThemeResource : public CXTPStatusBarPaintManager
{
public:
CXTPStatusBarThemeResource(CXTPResourceTheme *pTheme);
//-----------------------------------------------------------------------
// Summary:
// This method is called to fill a status bar.
// Parameters:
// pDC - Pointer to a valid device context
// pBar - Points to a CXTPStatusBar object
//-----------------------------------------------------------------------
virtual void FillStatusBar(CDC *pDC, CXTPStatusBar *pBar);
//-----------------------------------------------------------------------
// Summary:
// This method is called to draw frame of single cell of status bar.
// Parameters:
// pDC - Points to a valid device context.
// rc - CRect object specifying size of area.
// pPane - The status bar pane need to draw
// bGripperPane - TRUE if pane is last cell of status bar
//-----------------------------------------------------------------------
virtual void DrawStatusBarPaneBorder(CDC* pDC, CRect rc, CXTPStatusBarPane* pPane, BOOL bGripperPane);
//-----------------------------------------------------------------------
// Summary:
// This method is called to draw the status bar's gripper.
// Parameters:
// pDC - Pointer to a valid device context.
// rcClient - Client rectangle of the status bar.
//-----------------------------------------------------------------------
virtual void DrawStatusBarGripper(CDC* pDC, CRect rcClient);
protected:
CXTPResourceTheme *m_pTheme;
};