Ignore:
Timestamp:
12/29/11 04:24:30 (2 years ago)
Author:
philmoz
Message:

Cleanup of code for handling CHDK 'gui' mode.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/reyalp-flt/core/gui_sokoban.c

    r1512 r1513  
    1313 
    1414#include "module_load.h" 
     15 
    1516void gui_module_menu_kbd_process(); 
     17void gui_sokoban_kbd_process(); 
     18void gui_sokoban_draw(int enforce_redraw); 
    1619 
    1720int *conf_sokoban_level; 
    1821 
    1922gui_handler GUI_MODE_SOKOBAN =  
    20     /*GUI_MODE_SOKOBAN*/        { gui_sokoban_draw,     gui_sokoban_kbd_process,    gui_module_menu_kbd_process, GUI_MODE_FLAG_NODRAWRESTORE, GUI_MODE_MAGICNUM }; 
     23    /*GUI_MODE_SOKOBAN*/    { GUI_MODE_MODULE,  gui_sokoban_draw,     gui_sokoban_kbd_process,    gui_module_menu_kbd_process, GUI_MODE_FLAG_NODRAWRESTORE, GUI_MODE_MAGICNUM }; 
    2124 
    2225 
     
    333336    need_redraw_all = 1; 
    334337 
    335     gui_set_mode((unsigned int)&GUI_MODE_SOKOBAN); 
     338    gui_set_mode(&GUI_MODE_SOKOBAN); 
    336339    return 1; 
    337340} 
Note: See TracChangeset for help on using the changeset viewer.