]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/unix/fontutil.h
ada65aa9f3b308d01971ca1cd0e801ef8cc4ec23
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/unix/fontutil.h
3 // Purpose: font-related helper functions for Unix/X11
4 // Author: Vadim Zeitlin
8 // Copyright: (c) wxWindows team
9 // Licence: wxWindows license
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_UNIX_FONTUTIL_H_
13 #define _WX_UNIX_FONTUTIL_H_
17 typedef XFontStruct
*wxNativeFont
;
18 #elif defined(__WXGTK__)
19 typedef GdkFont
*wxNativeFont
;
21 #error "Unsupported toolkit"
24 // returns the handle of the nearest available font or 0
25 extern wxNativeFont
wxLoadQueryNearestFont(int pointSize
,
30 const wxString
&facename
,
31 wxFontEncoding encoding
);
33 #endif // _WX_UNIX_FONTUTIL_H_