• Stewart Brodie's avatar
    Improvement to menu creation code. · 5345e294
    Stewart Brodie authored
      Instead of continually extending the menu windows icon by icon, this
        version calculates how many icons it is going to need, and claims
        them en bloc, marking all the icons as deleted so that as the menu
        code creates each icon, no more block extending needs to be done.
      int_create_multiple_icons does the extension work; the menu generation
        code in Wimp05 does the initialising before calling int_create_icon
        lots of times (3*number of items in menu)
      Tested in a desktop build.
    Version 4.62. Tagged as 'Wimp-4_62'
VersionASM 1.04 KB