From 00a963b840c7d0cbb227cc4ac9f8e3ddaa2e9d42 Mon Sep 17 00:00:00 2001 From: uruk Date: Sat, 7 Sep 2013 18:03:36 +0200 Subject: AVALANCHE: Do renaming/refactoring in Parser. --- engines/avalanche/parser.cpp | 2 +- engines/avalanche/parser.h | 12 ------------ 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/engines/avalanche/parser.cpp b/engines/avalanche/parser.cpp index 073fdfdc7e..fc505e4984 100644 --- a/engines/avalanche/parser.cpp +++ b/engines/avalanche/parser.cpp @@ -135,7 +135,7 @@ void Parser::cursorOff() { } void Parser::tryDropdown() { - warning("STUB: Parser::tryDropdown()"); // TODO: Implement at the same time with Dropdown. + warning("STUB: Parser::tryDropdown()"); // TODO: Implement at the same time with Dropdown's keyboard handling. } int16 Parser::pos(const Common::String &crit, const Common::String &src) { diff --git a/engines/avalanche/parser.h b/engines/avalanche/parser.h index 70a87b6ea7..b6ee0466ae 100644 --- a/engines/avalanche/parser.h +++ b/engines/avalanche/parser.h @@ -42,35 +42,23 @@ public: byte _leftMargin; bool _cursorState; - - Parser(AvalancheEngine *vm); void init(); - void handleInputText(const Common::Event &event); - void handleBackspace(); - void handleReturn(); - void handleFunctionKey(const Common::Event &event); - void plotText(); - void cursorOn(); - void cursorOff(); - void tryDropdown(); // This asks the parsekey proc in Dropdown if it knows it. - int16 pos(const Common::String &crit, const Common::String &src); // Returns the index of the first appearance of crit in src. private: AvalancheEngine *_vm; void drawCursor(); - void wipeText(); }; -- cgit v1.2.3