]> git.saurik.com Git - wxWidgets.git/blob - include/wx/unix/fontutil.h
Removed unnecessary code from utilsunx.cpp
[wxWidgets.git] / include / wx / unix / fontutil.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/unix/fontutil.h
3 // Purpose: font-related helper functions for Unix/X11
4 // Author: Vadim Zeitlin
5 // Modified by:
6 // Created: 05.11.99
7 // RCS-ID: $Id$
8 // Copyright: (c) wxWindows team
9 // Licence: wxWindows license
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifndef _WX_UNIX_FONTUTIL_H_
13 #define _WX_UNIX_FONTUTIL_H_
14
15 #ifdef __X__
16 typedef WXFontStructPtr wxNativeFont;
17 #elif defined(__WXGTK__)
18 typedef GdkFont *wxNativeFont;
19 #else
20 #error "Unsupported toolkit"
21 #endif
22
23 // returns the handle of the nearest available font or 0
24 extern wxNativeFont wxLoadQueryNearestFont(int pointSize,
25 int family,
26 int style,
27 int weight,
28 bool underlined,
29 const wxString &facename,
30 wxFontEncoding encoding);
31
32 #endif // _WX_UNIX_FONTUTIL_H_