/[pcsx2_0.9.7]/trunk/3rdparty/wxWidgets/include/wx/msw/fontenum.h
ViewVC logotype

Contents of /trunk/3rdparty/wxWidgets/include/wx/msw/fontenum.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 10 - (show annotations) (download)
Mon Sep 6 11:40:06 2010 UTC (9 years, 5 months ago) by william
File MIME type: text/plain
File size: 1149 byte(s)
exported r3113 from ./upstream/trunk
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/msw/fontenum.h
3 // Purpose: wxFontEnumerator class for Windows
4 // Author: Julian Smart
5 // Modified by:
6 // Created: 04/01/98
7 // RCS-ID: $Id: fontenum.h 39461 2006-05-29 21:12:51Z ABX $
8 // Copyright: (c) Julian Smart
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifndef _WX_FONTENUM_MSW_H_
13 #define _WX_FONTENUM_MSW_H_
14
15 /*
16 * wxFontEnumerator: for gathering font information
17 */
18
19 class wxFontEnumerator: public wxObject
20 {
21 DECLARE_CLASS(wxFontEnumerator)
22 public:
23 wxFontEnumerator() {}
24
25 // Enumerate the fonts.
26 bool Enumerate();
27
28 // Stop enumeration if false is returned.
29 // By default, the enumerator stores the facenames in a list for
30 // retrieval via GetFacenames().
31 virtual bool OnFont(const wxFont& font);
32
33 // Return the list of facenames.
34 wxStringList& GetFacenames() { return (wxStringList&) m_faceNames; }
35 protected:
36 wxStringList m_faceNames;
37 };
38
39 #endif
40 // _WX_FONTENUM_MSW_H_

  ViewVC Help
Powered by ViewVC 1.1.22