]>
Commit | Line | Data |
---|---|---|
500659a8 | 1 | ///////////////////////////////////////////////////////////////////////////// |
80fdcdb9 | 2 | // Name: wx/cocoa/private/fontfactory.h |
500659a8 DE |
3 | // Purpose: wxFontFactory class |
4 | // Author: David Elliott | |
5 | // Modified by: | |
6 | // Created: 2007-10-13 | |
500659a8 DE |
7 | // Copyright: 2007 David Elliott |
8 | // Licence: wxWindows licence | |
9 | ///////////////////////////////////////////////////////////////////////////// | |
10 | ||
11 | #ifndef _WX_COCOA_FONTFACTORY_H_ | |
12 | #define _WX_COCOA_FONTFACTORY_H_ | |
13 | ||
14 | /*! @discussion | |
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. | |
18 | */ | |
19 | class wxCocoaFontFactory | |
20 | { | |
21 | public: | |
22 | /*! @abstract Create an instance with the specified NSFont and underline flag. | |
23 | */ | |
24 | static wxFont InstanceForNSFont(WX_NSFont cocoaFont, bool underlined = false); | |
25 | }; | |
26 | ||
27 | #endif //_WX_COCOA_FONTFACTORY_H_ |