Subj : exec/load/dd_lightbar_menu.js To : CVS commit From : nightfox Date : Mon Apr 06 2020 05:03 pm exec/load dd_lightbar_menu.js 1.16 1.17 Update of /cvsroot/sbbs/exec/load In directory cvs:/tmp/cvs-serv2612 Modified Files: dd_lightbar_menu.js Log Message: For a screen update optimization, implemented a way to temporarily restrict which part of the items to draw the next time Draw() is called (and thus when WriteItem() is called for each tiem). There is a new property in the DDLightbarMenu class, nextDrawOnlyItemSubstr, that can be set to an object with 'start' and 'end' properties specifyign the start and end indexes (1 past the last char index) of the item strings to write in the menu the next time Draw() is called. Draw() will then set nextDrawOnlyItemSubstr to null when it's done. .