KiCad PCB EDA Suite
|
#include <font_choice.h>
Public Member Functions | |
FONT_CHOICE (wxWindow *aParent, int aId, wxPoint aPosition, wxSize aSize, int nChoices, wxString *aChoices, int aStyle) | |
virtual | ~FONT_CHOICE () |
void | SetFontSelection (KIFONT::FONT *aFont) |
bool | HaveFontSelection () const |
KIFONT::FONT * | GetFontSelection (bool aBold, bool aItalic, bool aForDrawingSheet=false) const |
Private Attributes | |
int | m_systemFontCount |
wxString | m_notFound |
Definition at line 28 of file font_choice.h.
FONT_CHOICE::FONT_CHOICE | ( | wxWindow * | aParent, |
int | aId, | ||
wxPoint | aPosition, | ||
wxSize | aSize, | ||
int | nChoices, | ||
wxString * | aChoices, | ||
int | aStyle | ||
) |
Definition at line 30 of file font_choice.cpp.
References _, Fontconfig(), KICAD_FONT_NAME, KIPLATFORM::UI::LargeChoiceBoxHack(), m_notFound, m_systemFontCount, name, and Pgm().
|
virtual |
Definition at line 68 of file font_choice.cpp.
KIFONT::FONT * FONT_CHOICE::GetFontSelection | ( | bool | aBold, |
bool | aItalic, | ||
bool | aForDrawingSheet = false |
||
) | const |
Definition at line 108 of file font_choice.cpp.
References KIFONT::FONT::GetFont(), KICAD_FONT_NAME, and m_systemFontCount.
Referenced by PROPERTIES_FRAME::CopyPrmsFromPanelToItem(), DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS::processItem(), DIALOG_FIELD_PROPERTIES::TransferDataFromWindow(), DIALOG_LABEL_PROPERTIES::TransferDataFromWindow(), DIALOG_SHEET_PIN_PROPERTIES::TransferDataFromWindow(), DIALOG_TABLECELL_PROPERTIES::TransferDataFromWindow(), DIALOG_TEXT_PROPERTIES::TransferDataFromWindow(), DIALOG_TEXTBOX_PROPERTIES::TransferDataFromWindow(), DIALOG_TABLECELL_PROPERTIES::TransferDataToWindow(), and DIALOG_DIMENSION_PROPERTIES::updateDimensionFromDialog().
bool FONT_CHOICE::HaveFontSelection | ( | ) | const |
Definition at line 94 of file font_choice.cpp.
References m_notFound.
Referenced by PROPERTIES_FRAME::CopyPrmsFromPanelToItem(), DIALOG_FIELD_PROPERTIES::TransferDataFromWindow(), DIALOG_LABEL_PROPERTIES::TransferDataFromWindow(), DIALOG_SHEET_PIN_PROPERTIES::TransferDataFromWindow(), DIALOG_TABLECELL_PROPERTIES::TransferDataFromWindow(), DIALOG_TEXT_PROPERTIES::TransferDataFromWindow(), DIALOG_TEXTBOX_PROPERTIES::TransferDataFromWindow(), and DIALOG_DIMENSION_PROPERTIES::updateDimensionFromDialog().
void FONT_CHOICE::SetFontSelection | ( | KIFONT::FONT * | aFont | ) |
Definition at line 73 of file font_choice.cpp.
References KIFONT::FONT::GetName(), and m_notFound.
Referenced by PROPERTIES_FRAME::CopyPrmsFromItemToPanel(), DIALOG_FIELD_PROPERTIES::TransferDataToWindow(), DIALOG_LABEL_PROPERTIES::TransferDataToWindow(), DIALOG_SHEET_PIN_PROPERTIES::TransferDataToWindow(), DIALOG_TABLECELL_PROPERTIES::TransferDataToWindow(), DIALOG_TEXT_PROPERTIES::TransferDataToWindow(), DIALOG_DIMENSION_PROPERTIES::TransferDataToWindow(), and DIALOG_TEXTBOX_PROPERTIES::TransferDataToWindow().
|
private |
Definition at line 44 of file font_choice.h.
Referenced by FONT_CHOICE(), HaveFontSelection(), and SetFontSelection().
|
private |
Definition at line 43 of file font_choice.h.
Referenced by FONT_CHOICE(), and GetFontSelection().