diff --git a/src/screenimage.cpp b/src/screenimage.cpp index c6ed56a..668feec 100644 --- a/src/screenimage.cpp +++ b/src/screenimage.cpp @@ -301,35 +301,6 @@ void ScreenImage::blank() { } } -void ScreenImage::enterCommandMode() { - int r(76); - int c(1); - unsigned int* pn = this->pixels; - pn += r * FONTH * SCRW + c*FONTW; - - memset((char*) pn, 0, SCRW * 4 * FONTH * 3); - - drawText("command: ", 78, 1); - this->cmdpos = 9; - - notifyObservers(); -} - -void ScreenImage::exitCommandMode() { - drawFnKeys(); - notifyObservers(); -} - -void ScreenImage::addkeyCommand(unsigned char key) { - ++this->cmdpos; - drawChar((char) key, 78, this->cmdpos); -} - -void ScreenImage::backspaceCommand() { - drawChar(' ', 78, this->cmdpos); - --this->cmdpos; -} - void ScreenImage::updateSlotName(const int slot, Card* card) { int r(R_SLOT + slot); int c(20); diff --git a/src/screenimage.h b/src/screenimage.h index bb21996..ad0432f 100644 --- a/src/screenimage.h +++ b/src/screenimage.h @@ -38,7 +38,6 @@ private: bool fullscreen; bool buffer; AnalogTV::DisplayType display; - unsigned int cmdpos; void createScreen(); std::vector slotnames; std::string cassInName; @@ -73,11 +72,6 @@ public: void updateSlotName(const int slot, Card* card); void removeCard(const int slot, Card* card /* empty */); - void enterCommandMode(); - void exitCommandMode(); - void addkeyCommand(unsigned char key); - void backspaceCommand(); - void setDiskFile(int slot, int drive, const std::filesystem::path& filename); void setAnnunciator(int ann, bool on);