MCPcopy Create free account
hub / github.com/78/tenbox / UpdateFonts

Method UpdateFonts

src/manager/ui/console_tab.cpp:65–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65void ConsoleTab::UpdateFonts(HFONT mono_font, HFONT ui_font) {
66 SendMessage(console_, WM_SETFONT, reinterpret_cast<WPARAM>(mono_font), TRUE);
67 SendMessage(console_in_, WM_SETFONT, reinterpret_cast<WPARAM>(mono_font), TRUE);
68 SendMessage(send_btn_, WM_SETFONT, reinterpret_cast<WPARAM>(ui_font), TRUE);
69}
70
71void ConsoleTab::SetText(const char* text) {
72 SetWindowTextW(console_, i18n::to_wide(text).c_str());

Callers 1

MainWndProcFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected