Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_sequencer.c
| Show First 20 Lines • Show All 3,060 Lines • ▼ Show 20 Lines | static void rna_def_brightcontrast_modifier(BlenderRNA *brna) | ||||
| prop = RNA_def_property(srna, "bright", PROP_FLOAT, PROP_UNSIGNED); | prop = RNA_def_property(srna, "bright", PROP_FLOAT, PROP_UNSIGNED); | ||||
| RNA_def_property_float_sdna(prop, NULL, "bright"); | RNA_def_property_float_sdna(prop, NULL, "bright"); | ||||
| RNA_def_property_range(prop, -FLT_MAX, FLT_MAX); | RNA_def_property_range(prop, -FLT_MAX, FLT_MAX); | ||||
| RNA_def_property_ui_text(prop, "Bright", "Adjust the luminosity of the colors"); | RNA_def_property_ui_text(prop, "Bright", "Adjust the luminosity of the colors"); | ||||
| RNA_def_property_update(prop, NC_SCENE | ND_SEQUENCER, "rna_SequenceModifier_update"); | RNA_def_property_update(prop, NC_SCENE | ND_SEQUENCER, "rna_SequenceModifier_update"); | ||||
| prop = RNA_def_property(srna, "contrast", PROP_FLOAT, PROP_UNSIGNED); | prop = RNA_def_property(srna, "contrast", PROP_FLOAT, PROP_UNSIGNED); | ||||
| RNA_def_property_float_sdna(prop, NULL, "contrast"); | RNA_def_property_float_sdna(prop, NULL, "contrast"); | ||||
| RNA_def_property_range(prop, -FLT_MAX, FLT_MAX); | RNA_def_property_range(prop, -100.0f, 100.0f); | ||||
| RNA_def_property_ui_text(prop, "Contrast", "Adjust the difference in luminosity between pixels"); | RNA_def_property_ui_text(prop, "Contrast", "Adjust the difference in luminosity between pixels"); | ||||
| RNA_def_property_update(prop, NC_SCENE | ND_SEQUENCER, "rna_SequenceModifier_update"); | RNA_def_property_update(prop, NC_SCENE | ND_SEQUENCER, "rna_SequenceModifier_update"); | ||||
| } | } | ||||
| static void rna_def_tonemap_modifier(BlenderRNA *brna) | static void rna_def_tonemap_modifier(BlenderRNA *brna) | ||||
| { | { | ||||
| StructRNA *srna; | StructRNA *srna; | ||||
| PropertyRNA *prop; | PropertyRNA *prop; | ||||
| ▲ Show 20 Lines • Show All 96 Lines • Show Last 20 Lines | |||||