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

Method WriteLog

Source/ExportDialog.cpp:83–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81public:
82 explicit CEditLog(CWnd *pEdit) : m_pEdit(static_cast<CEdit *>(pEdit)) { }
83 void WriteLog(std::string_view text) override { // // //
84 int Len = m_pEdit->GetWindowTextLengthW();
85 m_pEdit->SetSel(Len, Len, 0);
86 m_pEdit->ReplaceSel(conv::to_wide(text).data(), 0);
87 m_pEdit->RedrawWindow();
88 }
89 void Clear() override {
90 m_pEdit->SetWindowTextW(L"");
91 m_pEdit->RedrawWindow();

Callers 2

PrintMethod · 0.45
PrintMethod · 0.45

Calls 2

to_wideFunction · 0.85
dataMethod · 0.45

Tested by

no test coverage detected