AVALANCHE: Rename DropDown into Menu, add some access functions
This commit is contained in:
parent
7790b4cc5b
commit
8be433b960
13 changed files with 125 additions and 117 deletions
|
@ -65,7 +65,7 @@ void Parser::handleInputText(const Common::Event &event) {
|
|||
}
|
||||
|
||||
void Parser::handleBackspace() {
|
||||
if (!_vm->_dropdown->_activeMenuItem._activeNow) {
|
||||
if (!_vm->_menu->_activeMenuItem._activeNow) {
|
||||
if (_inputTextPos > _leftMargin) {
|
||||
_inputTextPos--;
|
||||
if ((_inputText[_inputTextPos] == '"') || (_inputText[_inputTextPos] == '`'))
|
||||
|
@ -78,7 +78,7 @@ void Parser::handleBackspace() {
|
|||
}
|
||||
|
||||
void Parser::handleReturn() {
|
||||
if (_vm->_dropdown->_activeMenuItem._activeNow)
|
||||
if (_vm->_menu->_activeMenuItem._activeNow)
|
||||
_vm->_parser->tryDropdown();
|
||||
else if (!_inputText.empty()) {
|
||||
_inputTextBackup = _inputText;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue