Changeset 556
- Timestamp:
- 11/11/08 10:06:05 (5 years ago)
- Location:
- trunk/core
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/core/gui.c
r552 r556 38 38 #include "motion_detector.h" 39 39 #include "raw.h" 40 #ifdef CURVES40 #ifdef OPT_CURVES 41 41 #include "curves.h" 42 42 #endif … … 162 162 #endif 163 163 static void gui_menuproc_swap_patitons(int arg); 164 #ifdef CURVES164 #ifdef OPT_CURVES 165 165 static void gui_load_curve_selected(const char *fn); 166 166 static void gui_load_curve(int arg); … … 229 229 static const char* gui_script_param_set_enum(int change, int arg); 230 230 static const char* gui_override_disable_enum(int change, int arg); 231 #ifdef CURVES231 #ifdef OPT_CURVES 232 232 static const char* gui_conf_curve_enum(int change, int arg); 233 233 #endif … … 768 768 static CMenu zebra_submenu = {0x26,LANG_MENU_ZEBRA_TITLE, NULL, zebra_submenu_items }; 769 769 770 #ifdef CURVES770 #ifdef OPT_CURVES 771 771 static CMenuItem curve_submenu_items[] = { 772 772 {0x5f,LANG_MENU_CURVE_ENABLE, MENUITEM_ENUM, (int*)gui_conf_curve_enum }, … … 789 789 {0x26,LANG_MENU_MAIN_ZEBRA_PARAM, MENUITEM_SUBMENU, (int*)&zebra_submenu }, 790 790 {0x27,LANG_MENU_MAIN_SCRIPT_PARAM, MENUITEM_SUBMENU, (int*)&script_submenu }, 791 #ifdef CURVES791 #ifdef OPT_CURVES 792 792 {0x85,LANG_MENU_CURVE_PARAM, MENUITEM_SUBMENU, (int*)&curve_submenu }, 793 793 #endif … … 872 872 873 873 //------------------------------------------------------------------- 874 #ifdef CURVES874 #ifdef OPT_CURVES 875 875 const char* gui_conf_curve_enum(int change, int arg) { 876 876 static const char* modes[]={ "None", "Custom", "+1EV", "+2EV", "Auto DR" }; … … 1856 1856 load_bad_pixels_list("A/CHDK/badpixel"); 1857 1857 load_bad_pixels_list("A/CHDK/badpixel.txt"); 1858 #ifdef CURVES1858 #ifdef OPT_CURVES 1859 1859 curve_load(conf.curve_file); // load curve upon init 1860 1860 drcurve_load("A/CHDK/SYSCURVES.CVF"); // load system L curves … … 1867 1867 1868 1868 //------------------------------------------------------------------- 1869 #ifdef CURVES1869 #ifdef OPT_CURVES 1870 1870 static void gui_load_curve_selected(const char *fn) { 1871 1871 if (fn) -
trunk/core/gui_osd.c
r552 r556 765 765 gui_print_osd_state_string_int("SD:",shooting_get_subject_distance_bracket_value()); 766 766 } 767 #ifdef CURVES767 #ifdef OPT_CURVES 768 768 if (conf.curve_enable || gui_mode==GUI_MODE_OSD) { 769 769 if (conf.curve_enable==1) gui_print_osd_state_string_chr("CURVES:", "CSTM"); -
trunk/core/main.c
r552 r556 99 99 mkdir("A/CHDK/BOOKS"); 100 100 mkdir("A/CHDK/GRIDS"); 101 #ifdef CURVES101 #ifdef OPT_CURVES 102 102 mkdir("A/CHDK/CURVES"); 103 103 #endif -
trunk/core/raw.c
r553 r556 3 3 #include "stdlib.h" 4 4 #include "raw.h" 5 #ifdef CURVES5 #ifdef OPT_CURVES 6 6 #include "curves.h" 7 7 #endif … … 41 41 close(fd); 42 42 } 43 #ifdef CURVES43 #ifdef OPT_CURVES 44 44 if (conf.curve_enable) curve_apply(); 45 45 #endif … … 98 98 } 99 99 100 #ifdef CURVES100 #ifdef OPT_CURVES 101 101 if (conf.curve_enable) curve_apply(); 102 102 #endif
Note: See TracChangeset
for help on using the changeset viewer.