system-manager.hpp 537 B

12345678910111213141516171819202122
  1. struct SystemManager : PanelList {
  2. SystemManager(View*);
  3. auto show() -> void override;
  4. auto hide() -> void override;
  5. auto refresh() -> void;
  6. auto onActivate() -> void;
  7. auto onChange() -> void;
  8. auto onContext() -> void;
  9. auto doCreate() -> void;
  10. auto doRename() -> void;
  11. auto doRemove() -> void;
  12. ListView listView{this, Size{~0, ~0}};
  13. PopupMenu listMenu;
  14. MenuItem listCreate{&listMenu};
  15. MenuItem listLaunch{&listMenu};
  16. MenuItem listRename{&listMenu};
  17. MenuItem listRemove{&listMenu};
  18. };