]>
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
8 // Copyright: 2007 David Elliott
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_COCOA_FONTFACTORY_H_
13 #define _WX_COCOA_FONTFACTORY_H_
16 This class exists so that wxFont need not know about wxSettings
17 The implementation, however, is in the font.mm file because the
18 implementation needs to have knowledge of wxFontRefData.
20 class wxCocoaFontFactory
23 /*! @abstract Create an instance with the specified NSFont and underline flag.
25 static wxFont
InstanceForNSFont(WX_NSFont cocoaFont
, bool underlined
= false);
28 #endif //_WX_COCOA_FONTFACTORY_H_