MCPcopy Create free account
hub / github.com/HertzDevil/0CC-FamiTracker / AddFontName

Method AddFontName

Source/ConfigAppearance.cpp:284–295  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

282}
283
284void CConfigAppearance::AddFontName(std::wstring_view Name) // // //
285{
286 if (Name.size() >= LF_FACESIZE) // // //
287 return;
288
289 CComboBox *pFontList = static_cast<CComboBox*>(GetDlgItem(IDC_FONT));
290
291 pFontList->AddString(Name.data());
292
293 if (m_strFont == Name)
294 pFontList->SelectString(0, Name.data());
295}
296
297BOOL CConfigAppearance::OnApply()
298{

Callers 1

EnumFontFamExProcMethod · 0.80

Calls 2

sizeMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected