Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_userdef.c
| Show First 20 Lines • Show All 1,012 Lines • ▼ Show 20 Lines | static void rna_def_userdef_theme_ui(BlenderRNA *brna) | ||||
| RNA_def_property_string_sdna(prop, NULL, "iconfile"); | RNA_def_property_string_sdna(prop, NULL, "iconfile"); | ||||
| RNA_def_property_ui_text(prop, "Icon File", ""); | RNA_def_property_ui_text(prop, "Icon File", ""); | ||||
| RNA_def_property_update(prop, 0, "rna_userdef_update"); | RNA_def_property_update(prop, 0, "rna_userdef_update"); | ||||
| prop = RNA_def_property(srna, "icon_alpha", PROP_FLOAT, PROP_FACTOR); | prop = RNA_def_property(srna, "icon_alpha", PROP_FLOAT, PROP_FACTOR); | ||||
| RNA_def_property_ui_text(prop, "Icon Alpha", "Transparency of icons in the interface, to reduce contrast"); | RNA_def_property_ui_text(prop, "Icon Alpha", "Transparency of icons in the interface, to reduce contrast"); | ||||
| RNA_def_property_update(prop, 0, "rna_userdef_update"); | RNA_def_property_update(prop, 0, "rna_userdef_update"); | ||||
| prop = RNA_def_property(srna, "emboss", PROP_FLOAT, PROP_COLOR_GAMMA); | |||||
| RNA_def_property_float_sdna(prop, NULL, "emboss"); | |||||
| RNA_def_property_array(prop, 4); | |||||
| RNA_def_property_ui_text(prop, "Emboss", ""); | |||||
| RNA_def_property_update(prop, 0, "rna_userdef_update"); | |||||
| /* axis */ | /* axis */ | ||||
| prop = RNA_def_property(srna, "axis_x", PROP_FLOAT, PROP_COLOR_GAMMA); | prop = RNA_def_property(srna, "axis_x", PROP_FLOAT, PROP_COLOR_GAMMA); | ||||
| RNA_def_property_float_sdna(prop, NULL, "xaxis"); | RNA_def_property_float_sdna(prop, NULL, "xaxis"); | ||||
| RNA_def_property_array(prop, 3); | RNA_def_property_array(prop, 3); | ||||
| RNA_def_property_ui_text(prop, "X Axis", ""); | RNA_def_property_ui_text(prop, "X Axis", ""); | ||||
| RNA_def_property_update(prop, 0, "rna_userdef_update"); | RNA_def_property_update(prop, 0, "rna_userdef_update"); | ||||
| prop = RNA_def_property(srna, "axis_y", PROP_FLOAT, PROP_COLOR_GAMMA); | prop = RNA_def_property(srna, "axis_y", PROP_FLOAT, PROP_COLOR_GAMMA); | ||||
| ▲ Show 20 Lines • Show All 3,541 Lines • Show Last 20 Lines | |||||