Changeset 1035 for trunk/core/gui.c


Ignore:
Timestamp:
01/09/11 03:15:50 (2 years ago)
Author:
reyalP
Message:

scriptless badpixel.bin creation, from ultimA in http://chdk.setepontos.com/index.php?topic=5793.msg59376#msg59376

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/core/gui.c

    r1034 r1035  
    282282#if DNG_SUPPORT 
    283283static void cb_change_dng();  
     284void gui_menuproc_badpixel_create(int arg); 
    284285#endif 
    285286#if defined (DNG_EXT_FROM) 
     
    822823    {0x5c,LANG_MENU_DNG_FORMAT,              MENUITEM_BOOL | MENUITEM_ARG_CALLBACK, &conf.dng_raw , (int)cb_change_dng }, 
    823824    {0x5c,LANG_MENU_RAW_DNG_EXT,             MENUITEM_BOOL,      &conf.raw_dng_ext}, 
     825    {0x2a,LANG_MENU_BADPIXEL_CREATE,         MENUITEM_PROC,      (int*)gui_menuproc_badpixel_create }, 
    824826#endif 
    825827    {0x5c,LANG_MENU_RAW_CACHED,              MENUITEM_BOOL,      &conf.raw_cache }, 
     
    10081010 conf_change_dng(); 
    10091011 if ((old==1) && (conf.dng_raw==0)) gui_mbox_init(LANG_ERROR, LANG_CANNOT_OPEN_BADPIXEL_FILE, MBOX_BTN_OK|MBOX_TEXT_CENTER, NULL); 
     1012} 
     1013 
     1014void gui_menuproc_badpixel_create(int arg) { 
     1015    create_badpixel_bin(); 
    10101016} 
    10111017#endif 
Note: See TracChangeset for help on using the changeset viewer.