Changeset 1254 for trunk/core/gui.c


Ignore:
Timestamp:
07/29/11 11:35:49 (22 months ago)
Author:
philmoz
Message:

Fix to erase the screen when switching from User Menu to Main Menu.
If the user menu is larger than the main menu this ensures that remnants of the user menu are not left on screen above and below the main menu.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/core/gui.c

    r1250 r1254  
    894894 
    895895void rinit(){ 
     896        // Erase screen if switching from user menu to main menu 
     897        // in case the user menu is larger than the main menu 
     898        // otherwise it leaves remnants of the user menu above and below 
     899        // the main menu. 
     900    draw_restore(); 
    896901        gui_menu_init(&root_menu); 
    897902} 
Note: See TracChangeset for help on using the changeset viewer.