diff options
Diffstat (limited to 'source/blender/makesdna/DNA_color_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_color_types.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_color_types.h b/source/blender/makesdna/DNA_color_types.h index 1c9b6278c73..2c6411ad375 100644 --- a/source/blender/makesdna/DNA_color_types.h +++ b/source/blender/makesdna/DNA_color_types.h @@ -82,6 +82,9 @@ typedef struct CurveMapping { float bwmul[3]; /* black/white point multiply value, for speed */ float sample[3]; /* sample values, if flag set it draws line and intersection */ + + short tone; + short pad[3]; } CurveMapping; /* cumapping->flag */ @@ -99,8 +102,16 @@ typedef enum eCurveMappingPreset { CURVE_PRESET_MID9 = 4, CURVE_PRESET_ROUND = 5, CURVE_PRESET_ROOT = 6, + CURVE_PRESET_GAUSS = 7, + CURVE_PRESET_BELL = 8, } eCurveMappingPreset; +/* CurveMapping->tone */ +typedef enum eCurveMappingTone { + CURVE_TONE_STANDARD = 0, + CURVE_TONE_FILMLIKE = 2, +} eCurveMappingTone; + /* histogram->mode */ enum { HISTO_MODE_LUMA = 0, |