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:
Benjamin Williams
2006-10-30 20:07:52 +00:00
parent 3fff396675
commit a4c8fc2374
2 changed files with 31 additions and 31 deletions

View File

@@ -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;