r2 - 16 May 2007 - 02:46:58 - JohnAndersonYou are here: OSAF >  Journal Web  >  ContributorNotes > JohnAndersonNotes > JohnAnderson20070515
  • Finished rewriting Menu & Toolbar code to remove dynamic children. As it turns out I ended up replacing all the toolbar and menu code.
    • Aa a result, performace of switch to the all view has gone from 0.27 to 0.08 seconds on my computer. This time improvement should apply to all view switching as well as start up.
    • The new code is much simpler to understand
    • It adds the ability to do dynamic menus, e.g. menus whose list of items change based on the files in a directory.
    • The new code is 512 lines -- half the size of the old code
    • It fixes various old bugs, i.e. the CPIA test skins no longer loose the menubar
    • It depends on changes I made to wxWidgets, e.g. exporting the ToolBarTool? and ToolBar? methods to access ToolBarTools?
    • I still have a few days of testing and some reviews to do before I check it in.

-- JohnAnderson - 15 May 2007

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r2 < r1 | More topic actions
 
Open Source Applications Foundation
Except where otherwise noted, this site and its content are licensed by OSAF under an Creative Commons License, Attribution Only 3.0.
See list of page contributors for attributions.