openMSX
|
#include <ImGuiConsole.hh>
Public Member Functions | |
ImGuiConsole (ImGuiManager &manager) | |
~ImGuiConsole () | |
zstring_view | iniName () const override |
void | save (ImGuiTextBuffer &buf) override |
void | loadLine (std::string_view name, zstring_view value) override |
void | paint (MSXMotherBoard *motherBoard) override |
Public Member Functions inherited from openmsx::ImGuiPart | |
ImGuiPart (ImGuiManager &manager_) | |
~ImGuiPart () | |
ImGuiPart (const ImGuiPart &)=delete | |
ImGuiPart (ImGuiPart &&)=delete | |
ImGuiPart & | operator= (const ImGuiPart &)=delete |
ImGuiPart & | operator= (ImGuiPart &&)=delete |
Public Member Functions inherited from openmsx::ImGuiPartInterface | |
virtual void | loadStart () |
virtual void | loadEnd () |
virtual void | showMenu (MSXMotherBoard *) |
Public Attributes | |
bool | show = false |
Additional Inherited Members | |
Protected Attributes inherited from openmsx::ImGuiPart | |
ImGuiManager & | manager |
Definition at line 20 of file ImGuiConsole.hh.
|
explicit |
Definition at line 38 of file ImGuiConsole.cc.
References openmsx::Subject< T >::attach(), openmsx::Version::full(), openmsx::ImGuiManager::getInterpreter(), openmsx::ImGuiPart::manager, openmsx::Completer::setOutput(), and openmsx::Interpreter::setOutput().
openmsx::ImGuiConsole::~ImGuiConsole | ( | ) |
Definition at line 64 of file ImGuiConsole.cc.
References openmsx::Subject< T >::detach().
|
inlineoverridevirtual |
Reimplemented from openmsx::ImGuiPartInterface.
Definition at line 28 of file ImGuiConsole.hh.
|
overridevirtual |
Reimplemented from openmsx::ImGuiPartInterface.
Definition at line 74 of file ImGuiConsole.cc.
References openmsx::loadOnePersistent().
|
overridevirtual |
Reimplemented from openmsx::ImGuiPartInterface.
Definition at line 120 of file ImGuiConsole.cc.
References openmsx::ConsoleLine::addLine(), begin(), ImGui::CalcTextSize(), im::Child(), openmsx::ConsoleLine::chunkColor(), openmsx::ConsoleLine::chunkText(), openmsx::ConsoleLine::clear(), utf8::unchecked::distance(), end(), openmsx::ERROR, openmsx::ImGuiManager::executeDelayed(), openmsx::ImGuiManager::fontMono, openmsx::getColor(), openmsx::Reactor::getGlobalCommandController(), openmsx::ImGuiManager::getReactor(), openmsx::TclObject::getString(), im::ListClipper(), openmsx::ImGuiPart::manager, openmsx::ConsoleLine::numChunks(), im::PopupContextWindow(), show, strAppend(), im::StyleColor(), im::StyleVar(), openmsx::TEXT, ImGui::TextUnformatted(), im::Window(), and xrange().
|
overridevirtual |
Reimplemented from openmsx::ImGuiPartInterface.
Definition at line 69 of file ImGuiConsole.cc.
References openmsx::savePersistent().
bool openmsx::ImGuiConsole::show = false |
Definition at line 34 of file ImGuiConsole.hh.
Referenced by paint().