void Prepare(ContainerWindow &parent, const PixelRect &rc) override { WindowStyle style; style.Hide(); terminal.Create(parent, rc, style); SetWindow(&terminal); device.SetMonitor(&bridge); }
void Create(PixelSize size) { SingleWindow::Create(_T("RunTerminal"), size); PixelRect rc = GetClientRect(); terminal.Create(*this, rc); }
void CreateTerminal(ContainerWindow &parent, const PixelRect &rc) { terminal.Create(parent, rc); device.SetMonitor(&bridge); }