Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_userdef.c
| Show First 20 Lines • Show All 1,461 Lines • ▼ Show 20 Lines | static void rna_def_userdef_theme_ui(BlenderRNA *brna) | ||||
| 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, "gizmo_b", PROP_FLOAT, PROP_COLOR_GAMMA); | prop = RNA_def_property(srna, "gizmo_b", PROP_FLOAT, PROP_COLOR_GAMMA); | ||||
| RNA_def_property_float_sdna(prop, NULL, "gizmo_b"); | RNA_def_property_float_sdna(prop, NULL, "gizmo_b"); | ||||
| RNA_def_property_array(prop, 3); | RNA_def_property_array(prop, 3); | ||||
| RNA_def_property_ui_text(prop, "Gizmo B", ""); | RNA_def_property_ui_text(prop, "Gizmo B", ""); | ||||
| RNA_def_property_update(prop, 0, "rna_userdef_theme_update"); | RNA_def_property_update(prop, 0, "rna_userdef_theme_update"); | ||||
| /* Paint cursor colors */ | |||||
| prop = RNA_def_property(srna, "paint_cursor", PROP_FLOAT, PROP_COLOR_GAMMA); | |||||
| RNA_def_property_float_sdna(prop, NULL, "paint_cursor"); | |||||
| RNA_def_property_array(prop, 3); | |||||
| RNA_def_property_ui_text(prop, "Paint Cursor", ""); | |||||
| RNA_def_property_update(prop, 0, "rna_userdef_theme_update"); | |||||
| /* Icon colors. */ | /* Icon colors. */ | ||||
| prop = RNA_def_property(srna, "icon_scene", PROP_FLOAT, PROP_COLOR_GAMMA); | prop = RNA_def_property(srna, "icon_scene", PROP_FLOAT, PROP_COLOR_GAMMA); | ||||
| RNA_def_property_float_sdna(prop, NULL, "icon_scene"); | RNA_def_property_float_sdna(prop, NULL, "icon_scene"); | ||||
| RNA_def_property_array(prop, 4); | RNA_def_property_array(prop, 4); | ||||
| RNA_def_property_ui_text(prop, "Scene", ""); | RNA_def_property_ui_text(prop, "Scene", ""); | ||||
| 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, "icon_collection", PROP_FLOAT, PROP_COLOR_GAMMA); | prop = RNA_def_property(srna, "icon_collection", PROP_FLOAT, PROP_COLOR_GAMMA); | ||||
| ▲ Show 20 Lines • Show All 4,399 Lines • Show Last 20 Lines | |||||