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_4wins.c

    r1512 r1513  
    1515 
    1616#include "module_load.h" 
     17 
    1718void gui_module_menu_kbd_process(); 
     19void gui_4wins_kbd_process(); 
     20void gui_4wins_draw(int enforce_redraw); 
    1821 
    1922gui_handler GUI_MODE_4WINS =  
    20     /*GUI_MODE_4WINS*/          { gui_4wins_draw,       gui_4wins_kbd_process,      gui_module_menu_kbd_process, GUI_MODE_FLAG_NODRAWRESTORE, GUI_MODE_MAGICNUM }; 
     23    /*GUI_MODE_4WINS*/  { GUI_MODE_MODULE, gui_4wins_draw,       gui_4wins_kbd_process,      gui_module_menu_kbd_process, GUI_MODE_FLAG_NODRAWRESTORE, GUI_MODE_MAGICNUM }; 
    2124 
    2225 
     
    339342        if(cur_player==2&&!mode_rival) set(); 
    340343 
    341     gui_set_mode((unsigned int)&GUI_MODE_4WINS); 
     344    gui_set_mode(&GUI_MODE_4WINS); 
    342345 
    343346        return 1; 
Note: See TracChangeset for help on using the changeset viewer.