mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-11 09:18:40 +12:00
This commit is contained in:
parent
de070bf485
commit
a90b5cf37a
1998 changed files with 1034301 additions and 0 deletions
40
wxWidgets/include/wx/msw/fontenum.h
Normal file
40
wxWidgets/include/wx/msw/fontenum.h
Normal file
|
@ -0,0 +1,40 @@
|
|||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: wx/msw/fontenum.h
|
||||
// Purpose: wxFontEnumerator class for Windows
|
||||
// Author: Julian Smart
|
||||
// Modified by:
|
||||
// Created: 04/01/98
|
||||
// RCS-ID: $Id: fontenum.h 39461 2006-05-29 21:12:51Z ABX $
|
||||
// Copyright: (c) Julian Smart
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifndef _WX_FONTENUM_MSW_H_
|
||||
#define _WX_FONTENUM_MSW_H_
|
||||
|
||||
/*
|
||||
* wxFontEnumerator: for gathering font information
|
||||
*/
|
||||
|
||||
class wxFontEnumerator: public wxObject
|
||||
{
|
||||
DECLARE_CLASS(wxFontEnumerator)
|
||||
public:
|
||||
wxFontEnumerator() {}
|
||||
|
||||
// Enumerate the fonts.
|
||||
bool Enumerate();
|
||||
|
||||
// Stop enumeration if false is returned.
|
||||
// By default, the enumerator stores the facenames in a list for
|
||||
// retrieval via GetFacenames().
|
||||
virtual bool OnFont(const wxFont& font);
|
||||
|
||||
// Return the list of facenames.
|
||||
wxStringList& GetFacenames() { return (wxStringList&) m_faceNames; }
|
||||
protected:
|
||||
wxStringList m_faceNames;
|
||||
};
|
||||
|
||||
#endif
|
||||
// _WX_FONTENUM_MSW_H_
|
Loading…
Add table
Add a link
Reference in a new issue