X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f96f33629f3245f8282089d66b687351dfc82994..7eff657c071f9df1938edb2d1b530492ccfc9489:/include/wx/mgl/fontutil.h diff --git a/include/wx/mgl/fontutil.h b/include/wx/mgl/fontutil.h index 6f353a4d4a..f83849b133 100644 --- a/include/wx/mgl/fontutil.h +++ b/include/wx/mgl/fontutil.h @@ -57,10 +57,11 @@ private: class wxMGLFontLibrary { public: - wxMGLFontLibrary(const wxString& filename, int type); + wxMGLFontLibrary(const wxString& filename, int type, wxMGLFontFamily *parentFamily); ~wxMGLFontLibrary(); wxMGLFontInstance *GetFontInstance(wxFont *font, float scale, bool aa); + wxMGLFontFamily *GetFamily() const { return m_family; } void IncRef(); void DecRef(); @@ -73,6 +74,7 @@ private: wxString m_fileName; size_t m_refs; wxMGLFontInstanceList *m_instances; + wxMGLFontFamily *m_family; }; // structure representing native MGL font family