[Ohrrpgce] SVN: teeemcee/12745 Finally implement menu "Max rows to display: Default" instead of using 1

subversion at HamsterRepublic.com subversion at HamsterRepublic.com
Fri Feb 4 21:18:22 PST 2022


teeemcee
2022-02-04 21:18:20 -0800 (Fri, 04 Feb 2022)
439
Finally implement menu "Max rows to display: Default" instead of using 18

I listed this as a bugfix, but it's all of feature, bugfix and change.
state.size is now calculated from the available space, taking into account the
menu position and alignment: added recalc_menu_size overload for MenuDef.

Quite a lot of code movement and cleanup was needed here.

This fixes a problem in popup_menu/multichoice where clamp_to_screen didn't work
---
U   wip/common.rbas
U   wip/menus.bas
U   wip/menus.bi
U   wip/udts.bi
U   wip/whatsnew.txt



More information about the Ohrrpgce mailing list