Menu selection is now data driven
Some major refactoring has been going on. Added simple structs of data containing info about what action to take when a menu item is selected. Finally removed all but one call to display.display() in menu-function. There might still be more than one call to it on a frame though, since some functions still calls it internally.
This commit is contained in:
parent
6a8e36635e
commit
9a0bb369ac
2 changed files with 253 additions and 447 deletions
622
NuEVI/menu.cpp
622
NuEVI/menu.cpp
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue