[Ohrrpgce] SVN: teeemcee/8241 Remove many manual assignments to state.spacing, which gets overwritten

subversion at HamsterRepublic.com subversion at HamsterRepublic.com
Tue Dec 20 15:52:11 PST 2016


teeemcee
2016-12-20 15:52:11 -0800 (Tue, 20 Dec 2016)
609
Remove many manual assignments to state.spacing, which gets overwritten by standardmenu

Also set .autosize=YES in a few menus, removed some manual .size recalculations,
and switched a few menus to .[fullscreen_]scrollbar=YES instead of drawing it
manually.

There are just two menus which don't use standardmenu and so still set
state.spacing themselves. (There are probably many more which reimplement
standardmenu and don't touch .spacing at all)

standardmenu now also calls recalc_menu_size, since usemenu can't do it on the
first tick (leads to graphical glitches), and usemenu may not always be called.
---
U   wip/browse.bas
U   wip/common_menus.bas
U   wip/customsubs.rbas
U   wip/flexmenu.bas
U   wip/mapsubs.bas
U   wip/menus.bas
U   wip/sliceedit.bas
U   wip/subs.rbas
U   wip/subs2.bas
U   wip/subs4.bas


More information about the Ohrrpgce mailing list