Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_userdef.c
- This file is larger than 256 KB, so syntax highlighting is disabled by default.
| Show First 20 Lines • Show All 1,900 Lines • ▼ Show 20 Lines | static void rna_def_userdef_theme_spaces_face(StructRNA *srna) | ||||
| RNA_def_property_array(prop, 4); | RNA_def_property_array(prop, 4); | ||||
| RNA_def_property_ui_text(prop, "Face Orientation Back", ""); | RNA_def_property_ui_text(prop, "Face Orientation Back", ""); | ||||
| RNA_def_property_update(prop, 0, "rna_userdef_theme_update"); | RNA_def_property_update(prop, 0, "rna_userdef_theme_update"); | ||||
| prop = RNA_def_property(srna, "face_front", PROP_FLOAT, PROP_COLOR_GAMMA); | prop = RNA_def_property(srna, "face_front", PROP_FLOAT, PROP_COLOR_GAMMA); | ||||
| RNA_def_property_array(prop, 4); | RNA_def_property_array(prop, 4); | ||||
| RNA_def_property_ui_text(prop, "Face Orientation Front", ""); | RNA_def_property_ui_text(prop, "Face Orientation Front", ""); | ||||
| RNA_def_property_update(prop, 0, "rna_userdef_theme_update"); | RNA_def_property_update(prop, 0, "rna_userdef_theme_update"); | ||||
| prop = RNA_def_property(srna, "face_retopology", PROP_FLOAT, PROP_COLOR_GAMMA); | |||||
| RNA_def_property_array(prop, 4); | |||||
| RNA_def_property_ui_text(prop, "Face Retopology", "Face color used in the retopology overlay"); | |||||
| RNA_def_property_update(prop, 0, "rna_userdef_theme_update"); | |||||
jbakker: Face color used in the retopology overlay | |||||
| } | } | ||||
| static void rna_def_userdef_theme_spaces_paint_curves(StructRNA *srna) | static void rna_def_userdef_theme_spaces_paint_curves(StructRNA *srna) | ||||
| { | { | ||||
| PropertyRNA *prop; | PropertyRNA *prop; | ||||
| prop = RNA_def_property(srna, "paint_curve_handle", PROP_FLOAT, PROP_COLOR_GAMMA); | prop = RNA_def_property(srna, "paint_curve_handle", PROP_FLOAT, PROP_COLOR_GAMMA); | ||||
| RNA_def_property_array(prop, 4); | RNA_def_property_array(prop, 4); | ||||
| ▲ Show 20 Lines • Show All 4,167 Lines • Show Last 20 Lines | |||||
Face color used in the retopology overlay