}; menupage_t restore_page = { name : LP_WORD(L_I_RESTORE), items : LIST(restore_items), actions : { [MENU_EVENT_AV] = menu_return, } }; menuitem_t menu_settings_items[] = { MENUITEM_LANG (MENUPAGE_SETTINGS_LANGUAGE, LP_WORD(L_I_LANGUAGE), &settings.language, reload_language_and_refresh), MENUITEM_DIG_ISO(MENUPAGE_SETTINGS_ISOSTEP, LP_WORD(L_I_DIG_ISO_STEP), &settings.digital_iso_step, NULL), MENUITEM_BOOLEAN(MENUPAGE_SETTINGS_PERSAEB, LP_WORD(L_I_PERSIST_AEB), &settings.persist_aeb, NULL), // MENUITEM_OLC_INV(MENUPAGE_SETTINGS_INVERTOLC,LP_WORD(L_I_INVERT_OLC), &settings.invert_olc, NULL), MENUITEM_SUBMENU(MENUPAGE_SETTINGS_SCRIPTS, LP_WORD(L_S_SCRIPTS), &scripts_page, NULL), MENUITEM_SUBMENU(MENUPAGE_SETTINGS_BUTTONS, LP_WORD(L_S_BUTTONS), &buttons_page, NULL), MENUITEM_SUBMENU(MENUPAGE_SETTINGS_CMODES, LP_WORD(L_S_CMODES), &cmodes_page, NULL), MENUITEM_SUBMENU(MENUPAGE_SETTINGS_MENUS, LP_WORD(L_S_MENUS), &menus_page, NULL), MENUITEM_SUBMENU(MENUPAGE_SETTINGS_QEXP, LP_WORD(L_S_QEXP), &qexp_page, NULL), MENUITEM_SUBMENU(MENUPAGE_SETTINGS_PAGES, LP_WORD(L_S_PAGES), &pages_page, NULL), MENUITEM_SUBMENU(MENUPAGE_SETTINGS_RESTORE, LP_WORD(L_I_RESTORE), &restore_page, NULL), MENUITEM_BOOLEAN(MENUPAGE_SETTINGS_DEVEL, LP_WORD(L_I_DEVELOPERS_MENU), &settings.developers_menu, NULL), }; menupage_t menupage_settings = { name : LP_WORD(L_P_SETTINGS), sibilings : TRUE, items : LIST(menu_settings_items), ordering : menu_order.settings, actions : {
menuitem_t ir_items[] = { MENUITEM_BOOLEAN(0, LP_WORD(L_I_IR_REMOTE_ENABLE), &settings.remote_enable, menu_params_apply_remote_enable), MENUITEM_BOOLEAN(0, LP_WORD(L_I_IR_REMOTE_DELAY), &settings.remote_delay, menu_params_apply_remote_delay), }; menupage_t ir_page = { name : LP_WORD(L_S_IR), length : LENGTH(ir_items), items : ir_items, actions : { [MENU_EVENT_AV] = menu_return, } }; */ menuitem_t menupage_params_items[] = { MENUITEM_SUBMENU(MENUPAGE_PARAMS_AUTOISO, LP_WORD(L_S_AUTOISO), &autoiso_page, NULL), MENUITEM_FULLISO(MENUPAGE_PARAMS_ISO, LP_WORD(L_I_ISO), &menu_DPData.iso, menu_params_apply_iso), MENUITEM_EVCOMP (MENUPAGE_PARAMS_AVCOMP, LP_WORD(L_I_AV_COMP), &menu_DPData.av_comp, menu_params_apply_av_comp), MENUITEM_EVSEP (MENUPAGE_PARAMS_AEB, LP_WORD(L_I_AEB), &menu_DPData.ae_bkt, menu_params_apply_ae_bkt), MENUITEM_CLRTEMP(MENUPAGE_PARAMS_COLOR_TEMP, LP_WORD(L_I_COLOR_TEMP_K), &menu_DPData.color_temp, menu_params_apply_color_temp), MENUITEM_SUBMENU(MENUPAGE_PARAMS_NAMED_TEMPS, LP_WORD(L_S_NAMED_TEMPS), &named_temps_page, NULL), MENUITEM_BOOLEAN(MENUPAGE_PARAMS_MIRROR_LOCKUP, LP_WORD(L_I_MIRROR_LOCKUP), &menu_DPData.cf_mirror_up_lock, menu_params_apply_cf_mirror_up_lock), MENUITEM_BOOLEAN(MENUPAGE_PARAMS_SAFETY_SHIFT, LP_WORD(L_I_SAFETY_SHIFT), &menu_DPData.cf_safety_shift, menu_params_apply_cf_safety_shift), MENUITEM_BOOLEAN(MENUPAGE_PARAMS_IR_REMOTE, LP_WORD(L_I_IR_REMOTE_ENABLE), &settings.remote_enable, menu_params_apply_remote_enable), MENUITEM_SUBMENU(MENUPAGE_PARAMS_FLASH, LP_WORD(L_S_FLASH), &flash_page, NULL), }; menupage_t menupage_params = { name : LP_WORD(L_P_PARAMS), sibilings : TRUE, items : LIST(menupage_params_items),