Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_userdef.c
| Show First 20 Lines • Show All 92 Lines • ▼ Show 20 Lines | |||||
| 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_shading", PROP_FLOAT, PROP_COLOR_GAMMA); | prop = RNA_def_property(srna, "icon_shading", PROP_FLOAT, PROP_COLOR_GAMMA); | ||||
| RNA_def_property_float_sdna(prop, NULL, "icon_shading"); | RNA_def_property_float_sdna(prop, NULL, "icon_shading"); | ||||
| RNA_def_property_array(prop, 4); | RNA_def_property_array(prop, 4); | ||||
| RNA_def_property_ui_text(prop, "Shading", ""); | RNA_def_property_ui_text(prop, "Shading", ""); | ||||
| 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_folder", PROP_FLOAT, PROP_COLOR_GAMMA); | |||||
| RNA_def_property_float_sdna(prop, NULL, "icon_folder"); | |||||
| RNA_def_property_array(prop, 4); | |||||
| RNA_def_property_ui_text( | |||||
| prop, "File Folders", "Color of folders in the file browser"); | |||||
| RNA_def_property_update(prop, 0, "rna_userdef_theme_update"); | |||||
| prop = RNA_def_property(srna, "icon_border_intensity", PROP_FLOAT, PROP_FACTOR); | prop = RNA_def_property(srna, "icon_border_intensity", PROP_FLOAT, PROP_FACTOR); | ||||
| RNA_def_property_float_sdna(prop, NULL, "icon_border_intensity"); | RNA_def_property_float_sdna(prop, NULL, "icon_border_intensity"); | ||||
| RNA_def_property_ui_text( | RNA_def_property_ui_text( | ||||
| prop, "Icon Border", "Control the intensity of the border around themes icons"); | prop, "Icon Border", "Control the intensity of the border around themes icons"); | ||||
| RNA_def_property_ui_range(prop, 0.0, 1.0, 0.1, 2); | RNA_def_property_ui_range(prop, 0.0, 1.0, 0.1, 2); | ||||
| RNA_def_property_update(prop, 0, "rna_userdef_theme_update_icons"); | RNA_def_property_update(prop, 0, "rna_userdef_theme_update_icons"); | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 92 Lines • Show Last 20 Lines | |||||