MCPcopy Create free account
hub / github.com/CobaltFusion/DebugViewPP / SetLogFont

Method SetLogFont

DebugView++/MainFrame.cpp:1325–1335  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1323}
1324
1325void CMainFrame::SetLogFont()
1326{
1327 Win32::HFont hFont(CreateFontIndirect(&m_logfont));
1328 if (!hFont)
1329 return;
1330
1331 int views = GetViewCount();
1332 for (int i = 0; i < views; ++i)
1333 GetView(i).SetFont(hFont.get());
1334 m_hFont = std::move(hFont);
1335}
1336
1337void CMainFrame::OnAppAbout(UINT /*uNotifyCode*/, int /*nID*/, CWindow /*wndCtl*/)
1338{

Callers

nothing calls this directly

Calls 1

SetFontMethod · 0.80

Tested by

no test coverage detected