Add non focusable components. (#172)

This commit is contained in:
Arthur Sonzogni
2021-08-05 22:40:40 +02:00
committed by GitHub
parent 49e8cc57d3
commit 26e26fd41a
11 changed files with 99 additions and 23 deletions

View File

@@ -107,6 +107,8 @@ class ToggleBase : public ComponentBase {
return false;
}
bool Focusable() const final { return entries_->size(); }
int& focused_entry() { return option_->focused_entry(); }
const std::vector<std::wstring>* const entries_;