Small speed up to fonts and support for scaling.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling 2003-01-26 12:39:51 +00:00
parent e046e5f1e7
commit 138618acb9
4 changed files with 6 additions and 0 deletions

View File

@ -122,6 +122,7 @@ public:
// PangoContext stuff for GTK 2.0
#ifdef __WXGTK20__
PangoContext *m_context;
PangoLayout *m_layout;
PangoFontDescription *m_fontdesc;
#endif

View File

@ -102,7 +102,9 @@ public:
// implementation from now on
void Unshare();
#ifndef __WXGTK20__
GdkFont* GetInternalFont(float scale = 1.0) const;
#endif
// no data :-)

View File

@ -122,6 +122,7 @@ public:
// PangoContext stuff for GTK 2.0
#ifdef __WXGTK20__
PangoContext *m_context;
PangoLayout *m_layout;
PangoFontDescription *m_fontdesc;
#endif

View File

@ -102,7 +102,9 @@ public:
// implementation from now on
void Unshare();
#ifndef __WXGTK20__
GdkFont* GetInternalFont(float scale = 1.0) const;
#endif
// no data :-)