mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-09-28 16:29:34 +08:00
Add non focusable components. (#172)
This commit is contained in:
@@ -106,6 +106,10 @@ class MenuBase : public ComponentBase {
|
||||
return false;
|
||||
}
|
||||
|
||||
bool Focusable() const final {
|
||||
return entries_->size();
|
||||
}
|
||||
|
||||
int& focused_entry() { return option_->focused_entry(); }
|
||||
|
||||
protected:
|
||||
|
Reference in New Issue
Block a user