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 2,663 Lines • ▼ Show 20 Lines | static void rna_def_userdef_theme_space_info(BlenderRNA *brna) | ||||
| RNA_def_property_array(prop, 4); | RNA_def_property_array(prop, 4); | ||||
| RNA_def_property_ui_text(prop, "Operator Icon Background", "Background color of Operator icon"); | RNA_def_property_ui_text(prop, "Operator Icon Background", "Background color of Operator icon"); | ||||
| 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, "info_operator_text", PROP_FLOAT, PROP_COLOR_GAMMA); | prop = RNA_def_property(srna, "info_operator_text", PROP_FLOAT, PROP_COLOR_GAMMA); | ||||
| RNA_def_property_array(prop, 3); | RNA_def_property_array(prop, 3); | ||||
| RNA_def_property_ui_text(prop, "Operator Icon Foreground", "Foreground color of Operator icon"); | RNA_def_property_ui_text(prop, "Operator Icon Foreground", "Foreground color of Operator icon"); | ||||
| 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, "info_report_error", PROP_FLOAT, PROP_COLOR_GAMMA); | |||||
| RNA_def_property_array(prop, 3); | |||||
| RNA_def_property_ui_text(prop, "Error Banner Background", ""); | |||||
| RNA_def_property_update(prop, 0, "rna_userdef_theme_update"); | |||||
| prop = RNA_def_property(srna, "info_report_warning", PROP_FLOAT, PROP_COLOR_GAMMA); | |||||
| RNA_def_property_array(prop, 3); | |||||
| RNA_def_property_ui_text(prop, "Warning Banner Background", ""); | |||||
| RNA_def_property_update(prop, 0, "rna_userdef_theme_update"); | |||||
| prop = RNA_def_property(srna, "info_report_info", PROP_FLOAT, PROP_COLOR_GAMMA); | |||||
| RNA_def_property_array(prop, 3); | |||||
| RNA_def_property_ui_text(prop, "Info Banner Background", ""); | |||||
| RNA_def_property_update(prop, 0, "rna_userdef_theme_update"); | |||||
| } | } | ||||
| static void rna_def_userdef_theme_space_text(BlenderRNA *brna) | static void rna_def_userdef_theme_space_text(BlenderRNA *brna) | ||||
| { | { | ||||
| StructRNA *srna; | StructRNA *srna; | ||||
| PropertyRNA *prop; | PropertyRNA *prop; | ||||
| /* space_text */ | /* space_text */ | ||||
| ▲ Show 20 Lines • Show All 3,600 Lines • Show Last 20 Lines | |||||