AVALANCHE: Do renaming/refactoring in Parser.

This commit is contained in:
uruk 2013-09-07 18:03:36 +02:00
parent 467a7b1cce
commit 00a963b840
2 changed files with 1 additions and 13 deletions

View File

@ -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) {

View File

@ -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();
};