1/**
2 * This file is a part of Luminance HDR package.
3 * ----------------------------------------------------------------------
4 * Copyright (C) 2006,2007 Giuseppe Rota
5 * Copyright (C) 2011 Davide Anastasia
6 *
7 *  This program is free software; you can redistribute it and/or modify
8 *  it under the terms of the GNU General Public License as published by
9 *  the Free Software Foundation; either version 2 of the License, or
10 *  (at your option) any later version.
11 *
12 *  This program is distributed in the hope that it will be useful,
13 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
14 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 *  GNU General Public License for more details.
16 *
17 *  You should have received a copy of the GNU General Public License
18 *  along with this program; if not, write to the Free Software
19 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
20 * ----------------------------------------------------------------------
21 *
22 * @author Giuseppe Rota <grota@users.sourceforge.net>
23 * @author Davide Anastasia <davideanastasia@users.sourceforge.net>
24 *  Refactory of the options
25 */
26
27#ifndef LUMINANCECONFIG_H
28#define LUMINANCECONFIG_H
29
30#define LUMINANCEORGANIZATION "@LHDR_VENDOR@"
31#define LUMINANCEAPPLICATION "@LHDR_NAME@"
32
33#define LUMINANCEVERSION "@LHDR_VERSION@"
34
35#define LUMINANCEVERSION_NUM @LHDR_VERSION_MAJOR@0@LHDR_VERSION_MINOR@0099  // <MAJOR:1+><MINOR:2><SERVICE:2><PRIVATE:2>
36#ifdef WIN32
37#define LUMINANCEVERSION_RES @LHDR_VERSION_MAJOR@,@LHDR_VERSION_MINOR@,@LHDR_VERSION_PATCH@ // numeric fileversion for .rc file (format: '0,0,0')
38#endif
39#define TMOSETTINGSVERSION "0.6"
40
41#define KEY_WARNING_WOW64 "Wow64Warning"
42#define KEY_OPTIONS_VERSION "LuminanceOptionsVersion"
43#define KEY_UPDATE_CHECKED_ON "UpdateChecked"
44#define KEY_TOOLBAR_MODE "MainWindowToolbarVisualizationMode"
45#define KEY_TM_TOOLBAR_MODE "TonemappingWindowToolbarVisualizationMode"
46#define KEY_MANUAL_AG_MASK_COLOR "ManualAntiGhostingMaskColor"
47#define KEY_MANUAL_AG_LASSO_COLOR "ManualAntiGhostingLassoColor"
48#define KEY_GUI_LANG "UserInterfaceLanguage"
49#define KEY_GUI_THEME "UiTheme"
50#define KEY_GUI_DARKMODE "UiDarkMode"
51#define KEY_PREVIEW_PANEL_MODE "MainWindowPreviewPanelVisualizationMode"
52
53#define KEY_EXTERNAL_AIS_OPTIONS "External_Tools_Options/ExternalAlignImageStackOptions"
54
55#define KEY_NANINFCOLOR "HDR_visualization/nan_inf_color"
56#define KEY_NEGCOLOR "HDR_visualization/neg_color"
57
58#define KEY_TMOWINDOW_PREVIEWS_WIDTH "TMOWindow_Options/TMOWindow_PreviewsWidth"
59#define KEY_TMOWINDOW_MAX "TMOWindow_Options/TMOWindow_Max"
60#define KEY_TMOWINDOW_SHOWPROCESSED "TMOWindow_Options/TMOWindow_ShowProcessed"
61#define KEY_TMOWINDOW_SHOWPREVIEWPANEL "TMOWindow_Options/TMOWindow_ShowPreviewPanel"
62#define KEY_TMOWINDOW_REALTIMEPREVIEWS_ACTIVE "TMOWindow_Options/TMOWindow_RealtimePreviewsActive"
63#define KEY_WIZARD_SHOWFIRSTPAGE "HDR_Wizard_Options/Wizard_ShowFirstPage"
64#define KEY_WIZARD_SHOW_MISSING_EVS_WARNING "HDR_Wizard_Options/Wizard_ShowMissingEVsWarning"
65
66#define KEY_TMOWARNING_FATTALSMALL "TMOWarning_Options/TMOWarning_fattalsmall"
67
68#define KEY_ABER_0 "Raw_Conversion_Options/aber_0"
69#define KEY_ABER_1 "Raw_Conversion_Options/aber_1"
70#define KEY_ABER_2 "Raw_Conversion_Options/aber_2"
71#define KEY_ABER_3 "Raw_Conversion_Options/aber_3"
72#define KEY_GAMM_0 "Raw_Conversion_Options/gamm_0"
73#define KEY_GAMM_1 "Raw_Conversion_Options/gamm_1"
74#define KEY_TK "Raw_Conversion_Options/TK"
75#define KEY_GREEN "Raw_Conversion_Options/green"
76#define KEY_USER_MUL_0 "Raw_Conversion_Options/user_mul_0"
77#define KEY_USER_MUL_1 "Raw_Conversion_Options/user_mul_1"
78#define KEY_USER_MUL_2 "Raw_Conversion_Options/user_mul_2"
79#define KEY_USER_MUL_3 "Raw_Conversion_Options/user_mul_3"
80#define KEY_USE_AUTO_BRIGHTNESS "Raw_Conversion_Options/use_auto_brightness"
81#define KEY_BRIGHTNESS "Raw_Conversion_Options/brightness"
82#define KEY_THRESHOLD "Raw_Conversion_Options/threshold"
83#define KEY_HALF_SIZE "Raw_Conversion_Options/half_size"
84#define KEY_FOUR_COLOR_RGB "Raw_Conversion_Options/four_color_rgb"
85#define KEY_HIGHLIGHTS "Raw_Conversion_Options/highlights"
86#define KEY_LEVEL "Raw_Conversion_Options/level"
87#define KEY_WB_METHOD "Raw_Conversion_Options/wb_method"
88#define KEY_OUTPUT_COLOR "Raw_Conversion_Options/output_color"
89#define KEY_OUTPUT_PROFILE "Raw_Conversion_Options/output_profile"
90#define KEY_CAMERA_PROFILE "Raw_Conversion_Options/camera_profile"
91#define KEY_USER_FLIP "Raw_Conversion_Options/user_flip"
92#define KEY_USER_QUAL "Raw_Conversion_Options/user_qual"
93#define KEY_USER_BLACK "Raw_Conversion_Options/user_black"
94#define KEY_USER_SAT "Raw_Conversion_Options/user_sat"
95#define KEY_MED_PASSES "Raw_Conversion_Options/med_passes"
96#define KEY_AUTO_BRIGHT "Raw_Conversion_Options/auto_bright"
97#define KEY_AUTO_BRIGHT_THR "Raw_Conversion_Options/auto_bright_thr"
98#define KEY_ADJUST_MAXIMUM_THR "Raw_Conversion_Options/adjust_maximum_thr"
99#define KEY_DO_NOT_USE_FUJI_ROTATE "Raw_Conversion_Options/do_not_use_fuji_rotate"
100#define KEY_USE_BLACK "Raw_Conversion_Options/use_black"
101#define KEY_USE_SAT "Raw_Conversion_Options/use_sat"
102#define KEY_USE_NOISE "Raw_Conversion_Options/use_noise"
103#define KEY_USE_CHROMA "Raw_Conversion_Options/use_chroma"
104#define KEY_USER_QUAL_TOOLBUTTON "preference_dialog/user_qual_toolButton"
105#define KEY_MED_PASSES_TOOLBUTTON "preference_dialog/med_passes_toolButton"
106#define KEY_WB_METHOD_TOOLBUTTON "preference_dialog/wb_method_toolButton"
107#define KEY_TK_TOOLBUTTON "preference_dialog/TK_toolButton"
108#define KEY_MULTIPLIERS_TOOLBUTTON "preference_dialog/multipliers_toolButton"
109#define KEY_HIGHLIGHTS_TOOLBUTTON "preference_dialog/highlights_toolButton"
110#define KEY_LEVEL_TOOLBUTTON "preference_dialog/level_toolButton"
111#define KEY_BRIGHTNESS_TOOLBUTTON "preference_dialog/brightness_toolButton"
112#define KEY_USER_BLACK_TOOLBUTTON "preference_dialog/user_black_toolButton"
113#define KEY_USER_SAT_TOOLBUTTON "preference_dialog/user_sat_toolButton"
114#define KEY_THRESHOLD_TOOLBUTTON "preference_dialog/threshold_toolButton"
115#define KEY_RED_TOOLBUTTON "preference_dialog/red_toolButton"
116#define KEY_BLUE_TOOLBUTTON "preference_dialog/blue_toolButton"
117#define KEY_GREEN_TOOLBUTTON "preference_dialog/green_toolButton"
118
119
120#define KEY_COLOR_CAMERA_PROFILE "Color_Management_Options/camera_profile"
121#define KEY_COLOR_CAMERA_PROFILE_FILENAME "Color_Management_Options/camera_profile_filename"
122#define KEY_COLOR_MONITOR_PROFILE_FILENAME "Color_Management_Options/monitor_profile_filename"
123#define KEY_COLOR_PRINTER_PROFILE_FILENAME "Color_Management_Options/printer_profile_filename"
124
125#define KEY_FILEFORMAT_QUEUE "Queue"
126
127//--------------------PATHS & co. ----------------
128#define KEY_RECENT_FILES "Recent_files_list"
129#define KEY_EXPORT_FILE_PATH "Queue/FilePath"
130#define KEY_TEMP_RESULT_PATH "Tonemapping_Options/TemporaryFilesPath"
131#define KEY_RECENT_PATH_SAVE_LDR "recent_path_save_ldr"
132#define KEY_RECENT_PATH_LOAD_LDR "recent_path_load_ldr"
133#define KEY_RECENT_PATH_SAVE_HDR "recent_path_save_hdr"
134#define KEY_RECENT_PATH_LOAD_HDR "recent_path_load_hdr"
135#define KEY_RECENT_PATH_LOAD_SAVE_TMO_SETTINGS "Recent_path_TMO_settings"
136#define KEY_RECENT_RESPONSE_CURVE_FILENAME "Recent_response_curve_filename"
137
138//format helper
139#define KEY_EXPORT_FORMAT "FileFormats/Format"
140#define KEY_EXPORT_TIFF_MODE "FileFormats/TiffMode"
141#define KEY_EXPORT_QUALITY "FileFormats/Quality"
142
143// Exif
144#define KEY_RECENT_PATH_EXIF_FROM "Exif/Recent_path_exif_from"
145#define KEY_RECENT_PATH_EXIF_TO "Exif/Recent_path_exif_to"
146// Batch HDR
147#define KEY_BATCH_HDR_PATH_INPUT "batch_hdr/path_input"
148#define KEY_BATCH_HDR_PATH_OUTPUT "batch_hdr/path_output"
149// Batch TM
150#define KEY_BATCH_TM_PATH_INPUT "batch_tm/path_hdr_input"
151#define KEY_BATCH_TM_PATH_TMO_SETTINGS "batch_tm/path_tmo_settings"
152#define KEY_BATCH_TM_PATH_OUTPUT "batch_tm/path_ldr_output"
153#define KEY_BATCH_TM_LDR_FORMAT "batch_tm/Batch_LDR_Format"
154#define KEY_BATCH_TM_NUM_THREADS "batch_tm/Num_Batch_Threads"
155
156#endif
157