KiCad PCB EDA Suite
|
Public Member Functions | |
wxArrayString | GetFonts () const |
void | Register (FONT_CHOICE *aCtrl) |
void | Unregister (FONT_CHOICE *aCtrl) |
Static Public Member Functions | |
static FONT_LIST_MANAGER & | Get () |
Private Member Functions | |
FONT_LIST_MANAGER () | |
~FONT_LIST_MANAGER () | |
void | Poll () |
void | UpdateFonts () |
Private Attributes | |
std::thread | m_thread |
std::mutex | m_mutex |
std::condition_variable | m_cv |
wxArrayString | m_fonts |
std::vector< FONT_CHOICE * > | m_controls |
std::atomic< bool > | m_quit |
Definition at line 42 of file font_choice.cpp.
|
private |
Definition at line 91 of file font_choice.cpp.
References m_quit, m_thread, Poll(), and UpdateFonts().
Referenced by Get().
|
private |
|
static |
Definition at line 64 of file font_choice.cpp.
References FONT_LIST_MANAGER().
Referenced by FONT_CHOICE::FONT_CHOICE(), FONT_CHOICE::RefreshFonts(), and FONT_CHOICE::~FONT_CHOICE().
wxArrayString FONT_LIST_MANAGER::GetFonts | ( | ) | const |
Definition at line 70 of file font_choice.cpp.
References m_fonts, and m_mutex.
Referenced by FONT_CHOICE::RefreshFonts().
|
private |
Definition at line 118 of file font_choice.cpp.
References m_cv, m_mutex, m_quit, and UpdateFonts().
Referenced by FONT_LIST_MANAGER().
void FONT_LIST_MANAGER::Register | ( | FONT_CHOICE * | aCtrl | ) |
Definition at line 76 of file font_choice.cpp.
References m_controls, and m_mutex.
Referenced by FONT_CHOICE::FONT_CHOICE().
void FONT_LIST_MANAGER::Unregister | ( | FONT_CHOICE * | aCtrl | ) |
Definition at line 82 of file font_choice.cpp.
References m_controls, and m_mutex.
Referenced by FONT_CHOICE::~FONT_CHOICE().
|
private |
Definition at line 137 of file font_choice.cpp.
References Fontconfig(), m_controls, m_fonts, m_mutex, name, and Pgm().
Referenced by FONT_LIST_MANAGER(), and Poll().
|
private |
Definition at line 60 of file font_choice.cpp.
Referenced by Register(), Unregister(), and UpdateFonts().
|
private |
Definition at line 58 of file font_choice.cpp.
Referenced by Poll(), and ~FONT_LIST_MANAGER().
|
private |
Definition at line 59 of file font_choice.cpp.
Referenced by GetFonts(), and UpdateFonts().
|
mutableprivate |
Definition at line 57 of file font_choice.cpp.
Referenced by GetFonts(), Poll(), Register(), Unregister(), UpdateFonts(), and ~FONT_LIST_MANAGER().
|
private |
Definition at line 61 of file font_choice.cpp.
Referenced by FONT_LIST_MANAGER(), Poll(), and ~FONT_LIST_MANAGER().
|
private |
Definition at line 56 of file font_choice.cpp.
Referenced by FONT_LIST_MANAGER(), and ~FONT_LIST_MANAGER().