[Ohrrpgce] SVN: teeemcee/9124 Add a modest object-orientated generic menu system, ModularMenu

subversion at HamsterRepublic.com subversion at HamsterRepublic.com
Fri Aug 4 10:13:24 PDT 2017


teeemcee
2017-08-04 10:13:24 -0700 (Fri, 04 Aug 2017)
628
Add a modest object-orientated generic menu system, ModularMenu

This does not compete with standardmenu/MenuDef, but instead wraps them.
It competes with multichoice() and sublist().
Right now what this accomplishes is reducing the boiler plate of the
same loop around standardmenu everywhere.
But hopefully in future this moves more towards declarative programming,
defining menu items cleanly.
Probably this can be merge with editrunner.

It has a 'floating' mode where it acts more like a modal multichoice() menu
instead of a fullscreen one, but it doesn't look or work too well. Should
use MenuDef instead of standardmenu.
---
U   wip/common_menus.bas
U   wip/menus.bas
U   wip/menus.bi


More information about the Ohrrpgce mailing list