aui notebook sizing calculations streamlined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -36,6 +36,10 @@ public:
|
||||
|
||||
wxTabArt() { }
|
||||
virtual ~wxTabArt() { }
|
||||
|
||||
virtual void SetNormalFont(const wxFont& font) = 0;
|
||||
virtual void SetSelectedFont(const wxFont& font) = 0;
|
||||
virtual void SetMeasuringFont(const wxFont& font) = 0;
|
||||
|
||||
virtual void DrawBackground(
|
||||
wxDC* dc,
|
||||
@@ -62,10 +66,8 @@ public:
|
||||
const wxString& caption,
|
||||
bool active,
|
||||
int* x_extent) = 0;
|
||||
|
||||
virtual void SetNormalFont(const wxFont& font) = 0;
|
||||
virtual void SetSelectedFont(const wxFont& font) = 0;
|
||||
virtual void SetMeasuringFont(const wxFont& font) = 0;
|
||||
|
||||
virtual int GetBestTabCtrlSize(wxWindow* wnd) = 0;
|
||||
};
|
||||
|
||||
|
||||
@@ -77,6 +79,10 @@ public:
|
||||
wxDefaultTabArt();
|
||||
virtual ~wxDefaultTabArt();
|
||||
|
||||
void SetNormalFont(const wxFont& font);
|
||||
void SetSelectedFont(const wxFont& font);
|
||||
void SetMeasuringFont(const wxFont& font);
|
||||
|
||||
void DrawBackground(
|
||||
wxDC* dc,
|
||||
const wxRect& rect);
|
||||
@@ -102,11 +108,9 @@ public:
|
||||
const wxString& caption,
|
||||
bool active,
|
||||
int* x_extent);
|
||||
|
||||
void SetNormalFont(const wxFont& font);
|
||||
void SetSelectedFont(const wxFont& font);
|
||||
void SetMeasuringFont(const wxFont& font);
|
||||
|
||||
|
||||
int GetBestTabCtrlSize(wxWindow* wnd);
|
||||
|
||||
private:
|
||||
|
||||
wxFont m_normal_font;
|
||||
|
||||
Reference in New Issue
Block a user