mirror of
https://github.com/BernardoGiordano/Checkpoint
synced 2024-11-14 21:57:13 +00:00
Merge branch 'master' of https://github.com/FlagBrew/Checkpoint
This commit is contained in:
commit
f3e48f8b51
1 changed files with 5 additions and 5 deletions
|
@ -226,10 +226,10 @@ KeyboardManager::KeyboardManager(void)
|
|||
);
|
||||
buttons.push_back(spacebar);
|
||||
|
||||
// set first button as selected
|
||||
buttons.at(0)->selected(true);
|
||||
buttons.at(0)->invertColors();
|
||||
prevSelectedButtonIndex = 0;
|
||||
// set OK button as selected
|
||||
buttons.at(INDEX_OK)->selected(true);
|
||||
buttons.at(INDEX_OK)->invertColors();
|
||||
prevSelectedButtonIndex = INDEX_OK;
|
||||
}
|
||||
|
||||
KeyboardManager::~KeyboardManager(void)
|
||||
|
@ -362,4 +362,4 @@ std::pair<bool, std::string> KeyboardManager::keyboard(const std::string& sugges
|
|||
}
|
||||
|
||||
return std::make_pair(false, suggestion);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue