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:
parent
e046e5f1e7
commit
138618acb9
@ -122,6 +122,7 @@ public:
|
||||
// PangoContext stuff for GTK 2.0
|
||||
#ifdef __WXGTK20__
|
||||
PangoContext *m_context;
|
||||
PangoLayout *m_layout;
|
||||
PangoFontDescription *m_fontdesc;
|
||||
#endif
|
||||
|
||||
|
@ -102,7 +102,9 @@ public:
|
||||
// implementation from now on
|
||||
void Unshare();
|
||||
|
||||
#ifndef __WXGTK20__
|
||||
GdkFont* GetInternalFont(float scale = 1.0) const;
|
||||
#endif
|
||||
|
||||
// no data :-)
|
||||
|
||||
|
@ -122,6 +122,7 @@ public:
|
||||
// PangoContext stuff for GTK 2.0
|
||||
#ifdef __WXGTK20__
|
||||
PangoContext *m_context;
|
||||
PangoLayout *m_layout;
|
||||
PangoFontDescription *m_fontdesc;
|
||||
#endif
|
||||
|
||||
|
@ -102,7 +102,9 @@ public:
|
||||
// implementation from now on
|
||||
void Unshare();
|
||||
|
||||
#ifndef __WXGTK20__
|
||||
GdkFont* GetInternalFont(float scale = 1.0) const;
|
||||
#endif
|
||||
|
||||
// no data :-)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user