Add virtual bool visible() const { return true; } to MenuItem or introduce a new VisibleInterface
in menu rendering code, call continue; whenever a menuitem is not visible, which should result in correct delta rendering with my existing Label widgets.
1. Add `virtual bool visible() const { return true; }` to MenuItem or introduce a new VisibleInterface
2. in menu rendering code, call `continue;` whenever a menuitem is not visible, which should result in correct delta rendering with my existing Label widgets.
What if its already been drawn? Will it clear the space? Or is it constant and not changeable? Also for the scroll behavior, should there be a option to skip the element as if it was not there or should it be selectable like the current empty-text menu items.
Will open a pull request, also, with a new Class so one can just type
espgui::constructMenuItem<espgui::Emptyitem>();
(Name tbd)
What if its already been drawn? Will it clear the space? Or is it constant and not changeable? Also for the scroll behavior, should there be a option to skip the element as if it was not there or should it be selectable like the current empty-text menu items.
Will open a pull request, also, with a new Class so one can just type
```cpp
espgui::constructMenuItem<espgui::Empty item>();
```
(Name tbd)
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
A MenuItem that acts like an empty one but skips (so just for design)
virtual bool visible() const { return true; }to MenuItem or introduce a new VisibleInterfacecontinue;whenever a menuitem is not visible, which should result in correct delta rendering with my existing Label widgets.What if its already been drawn? Will it clear the space? Or is it constant and not changeable? Also for the scroll behavior, should there be a option to skip the element as if it was not there or should it be selectable like the current empty-text menu items.
Will open a pull request, also, with a new Class so one can just type
(Name tbd)