]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/cocoa/private/fontfactory.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/cocoa/private/fontfactory.h
3 // Purpose: wxFontFactory class
4 // Author: David Elliott
7 // Copyright: 2007 David Elliott
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
11 #ifndef _WX_COCOA_FONTFACTORY_H_
12 #define _WX_COCOA_FONTFACTORY_H_
15 This class exists so that wxFont need not know about wxSettings
16 The implementation, however, is in the font.mm file because the
17 implementation needs to have knowledge of wxFontRefData.
19 class wxCocoaFontFactory
22 /*! @abstract Create an instance with the specified NSFont and underline flag.
24 static wxFont
InstanceForNSFont(WX_NSFont cocoaFont
, bool underlined
= false);
27 #endif //_WX_COCOA_FONTFACTORY_H_