Public Member Functions | List of all members
openmsx::CommandConsole Class Referencefinal

#include <CommandConsole.hh>

Inheritance diagram for openmsx::CommandConsole:
Inheritance graph
Collaboration diagram for openmsx::CommandConsole:
Collaboration graph

Public Member Functions

 CommandConsole (GlobalCommandController &commandController, EventDistributor &eventDistributor, Display &display)
 ~CommandConsole ()
BooleanSettinggetConsoleSetting ()
unsigned getScrollBack () const
ConsoleLine getLine (unsigned line) const
void getCursorPosition (unsigned &xPosition, unsigned &yPosition) const
void setColumns (unsigned columns_)
unsigned getColumns () const
void setRows (unsigned rows_)
unsigned getRows () const

Detailed Description

Definition at line 64 of file CommandConsole.hh.

Constructor & Destructor Documentation

◆ CommandConsole()

openmsx::CommandConsole::CommandConsole ( GlobalCommandController commandController,
EventDistributor eventDistributor,
Display display 

◆ ~CommandConsole()

openmsx::CommandConsole::~CommandConsole ( )

Member Function Documentation

◆ getColumns()

unsigned openmsx::CommandConsole::getColumns ( ) const

Definition at line 80 of file CommandConsole.hh.

Referenced by getCursorPosition(), and getLine().

◆ getConsoleSetting()

BooleanSetting& openmsx::CommandConsole::getConsoleSetting ( )

Definition at line 73 of file CommandConsole.hh.

◆ getCursorPosition()

void openmsx::CommandConsole::getCursorPosition ( unsigned &  xPosition,
unsigned &  yPosition 
) const

Definition at line 193 of file

References getColumns().

◆ getLine()

ConsoleLine openmsx::CommandConsole::getLine ( unsigned  line) const

Definition at line 200 of file

References LZ4::count(), getColumns(), and xrange().

◆ getRows()

unsigned openmsx::CommandConsole::getRows ( ) const

Definition at line 82 of file CommandConsole.hh.

◆ getScrollBack()

unsigned openmsx::CommandConsole::getScrollBack ( ) const

Definition at line 75 of file CommandConsole.hh.

◆ setColumns()

void openmsx::CommandConsole::setColumns ( unsigned  columns_)

Definition at line 79 of file CommandConsole.hh.

◆ setRows()

void openmsx::CommandConsole::setRows ( unsigned  rows_)

Definition at line 81 of file CommandConsole.hh.

The documentation for this class was generated from the following files: