]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mgl/fontutil.h
Added wx/listbase.h with wxListCtrl types, so we can
[wxWidgets.git] / include / wx / mgl / fontutil.h
index 6f353a4d4a5f569928b4fd8815efe955b8e43585..915e61d72e7601c683bfa3384a205c55dffe76a3 100644 (file)
@@ -4,7 +4,7 @@
 // Author:      Vaclav Slavik
 // Created:     2001/05/01
 // RCS-ID:      $Id$
-// Copyright:   (c) 2001 SciTech Software, Inc. (www.scitechsoft.com)
+// Copyright:   (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com)
 // Licence:     wxWindows license
 /////////////////////////////////////////////////////////////////////////////
 
@@ -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