Skip to content
Snippets Groups Projects
Select Git revision
0 results

main_menu.py

Blame
  • Forked from flow3r / flow3r firmware
    Source project has a limited visibility.
    • dos's avatar
      f280186c
      py,st3m: Split SunMenu and MainMenu · f280186c
      dos authored and dos's avatar dos committed
      SunMenu is just a presentation layer that doesn't concern itself with
      any kind of logic. It could be simply replaced with (already existing)
      SimpleMenu and FlowerMenu or, in the future, may even become customizable
      by the user.
      
      Split the main menu's logic into a separate entity that delegates
      the presentation to the class it inherits from, like all the other
      uses of the menu system.
      f280186c
      History
      py,st3m: Split SunMenu and MainMenu
      dos authored and dos's avatar dos committed
      SunMenu is just a presentation layer that doesn't concern itself with
      any kind of logic. It could be simply replaced with (already existing)
      SimpleMenu and FlowerMenu or, in the future, may even become customizable
      by the user.
      
      Split the main menu's logic into a separate entity that delegates
      the presentation to the class it inherits from, like all the other
      uses of the menu system.