37 lines
1.5 KiB
C++
37 lines
1.5 KiB
C++
class _XTP_EXT_CLASS CXTPTabThemeVisualStudio2012 : public CXTPTabThemeFlat
|
|
{
|
|
public:
|
|
|
|
CXTPTabThemeVisualStudio2012();
|
|
|
|
//-----------------------------------------------------------------------
|
|
// Summary:
|
|
// This member is called to refresh the appearance metrics.
|
|
// Remarks:
|
|
// This member is used to refresh the appearance metrics such
|
|
// as font, button height, margin size, etc. Override this
|
|
// member in derived classes to change the appearance metrics.
|
|
//-----------------------------------------------------------------------
|
|
virtual void RefreshMetrics();
|
|
|
|
//-----------------------------------------------------------------------
|
|
// Summary:
|
|
// This method is called to draw a single tab button in the tab
|
|
// client header area.
|
|
// Parameters:
|
|
// pDC - Pointer to a valid device context.
|
|
// pItem - Tab button to draw.
|
|
// Remarks:
|
|
// This method will draw a single tab button. This method only
|
|
// draws the button, no text or icon is added.
|
|
//
|
|
// DrawSingleButton calls CXTPTabPaintManager::DrawSingleButtonIconAndText
|
|
// after the button is drawn. This is called to draw the button's
|
|
// icon and text.
|
|
// See Also:: CXTPTabPaintManager::DrawTabControlEx, CXTPTabPaintManager::DrawSingleButtonIconAndText
|
|
//-----------------------------------------------------------------------
|
|
virtual void DrawSingleButton(CDC *pDC, CXTPTabManagerItem *pItem);
|
|
|
|
virtual XTPTabColorStyle GetDefaultColorSet() { return xtpTabColorVisualStudio2012; }
|
|
};
|