Add focusable Renderer. (#173)

This commit is contained in:
Arthur Sonzogni
2021-08-06 20:32:33 +02:00
committed by GitHub
parent 26e26fd41a
commit 3f005d7715
19 changed files with 151 additions and 68 deletions

View File

@@ -106,9 +106,7 @@ class MenuBase : public ComponentBase {
return false;
}
bool Focusable() const final {
return entries_->size();
}
bool Focusable() const final { return entries_->size(); }
int& focused_entry() { return option_->focused_entry(); }