mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-02 06:41:51 +00:00
AVALANCHE: Do renaming/refactoring in Parser.
This commit is contained in:
parent
467a7b1cce
commit
00a963b840
@ -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) {
|
||||
|
@ -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();
|
||||
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user