| 63 | } |
| 64 | |
| 65 | void 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 | |
| 71 | void ConsoleTab::SetText(const char* text) { |
| 72 | SetWindowTextW(console_, i18n::to_wide(text).c_str()); |