openMSX
|
#include <CommandConsole.hh>
Public Member Functions | |
CommandConsole (GlobalCommandController &commandController, EventDistributor &eventDistributor, Display &display) | |
~CommandConsole () | |
BooleanSetting & | getConsoleSetting () |
unsigned | getScrollBack () const |
gl::ivec2 | getCursorPosition () const |
void | setColumns (unsigned columns_) |
unsigned | getColumns () const |
void | setRows (unsigned rows_) |
unsigned | getRows () const |
const auto & | getLines () const |
Definition at line 58 of file CommandConsole.hh.
openmsx::CommandConsole::CommandConsole | ( | GlobalCommandController & | commandController, |
EventDistributor & | eventDistributor, | ||
Display & | display | ||
) |
Definition at line 74 of file CommandConsole.cc.
References openmsx::EventDistributor::CONSOLE, openmsx::Version::full(), openmsx::GlobalCommandController::getInterpreter(), openmsx::OPENMSX_KEY_DOWN_EVENT, openmsx::OPENMSX_KEY_UP_EVENT, openmsx::PROMPT_NEW, openmsx::EventDistributor::registerEventListener(), openmsx::Completer::setOutput(), and openmsx::Interpreter::setOutput().
openmsx::CommandConsole::~CommandConsole | ( | ) |
Definition at line 121 of file CommandConsole.cc.
References openmsx::GlobalCommandController::getInterpreter(), openmsx::OPENMSX_KEY_DOWN_EVENT, openmsx::OPENMSX_KEY_UP_EVENT, openmsx::Completer::setOutput(), openmsx::Interpreter::setOutput(), and openmsx::EventDistributor::unregisterEventListener().
|
inline |
Definition at line 73 of file CommandConsole.hh.
Referenced by getCursorPosition().
|
inline |
Definition at line 67 of file CommandConsole.hh.
gl::ivec2 openmsx::CommandConsole::getCursorPosition | ( | ) | const |
Definition at line 163 of file CommandConsole.cc.
References getColumns().
|
inline |
Definition at line 77 of file CommandConsole.hh.
|
inline |
Definition at line 75 of file CommandConsole.hh.
|
inline |
Definition at line 69 of file CommandConsole.hh.
|
inline |
Definition at line 72 of file CommandConsole.hh.
|
inline |
Definition at line 74 of file CommandConsole.hh.