Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_userdef.c
| Show First 20 Lines • Show All 2,028 Lines • ▼ Show 20 Lines | static void rna_def_userdef_theme_space_node(BlenderRNA *brna) | ||||
| RNA_def_property_update(prop, 0, "rna_userdef_update"); | RNA_def_property_update(prop, 0, "rna_userdef_update"); | ||||
| prop = RNA_def_property(srna, "wire", PROP_FLOAT, PROP_COLOR_GAMMA); | prop = RNA_def_property(srna, "wire", PROP_FLOAT, PROP_COLOR_GAMMA); | ||||
| RNA_def_property_float_sdna(prop, NULL, "wire"); | RNA_def_property_float_sdna(prop, NULL, "wire"); | ||||
| RNA_def_property_array(prop, 3); | RNA_def_property_array(prop, 3); | ||||
| RNA_def_property_ui_text(prop, "Wires", ""); | RNA_def_property_ui_text(prop, "Wires", ""); | ||||
| RNA_def_property_update(prop, 0, "rna_userdef_update"); | RNA_def_property_update(prop, 0, "rna_userdef_update"); | ||||
| prop = RNA_def_property(srna, "wire_inner", PROP_FLOAT, PROP_COLOR_GAMMA); | |||||
| RNA_def_property_float_sdna(prop, NULL, "syntaxr"); | |||||
| RNA_def_property_array(prop, 3); | |||||
| RNA_def_property_ui_text(prop, "Wire Color", ""); | |||||
lukastoenne: Would be nice to have a description string here what these colors are used for (also for… | |||||
| RNA_def_property_update(prop, 0, "rna_userdef_update"); | |||||
| prop = RNA_def_property(srna, "wire_select", PROP_FLOAT, PROP_COLOR_GAMMA); | prop = RNA_def_property(srna, "wire_select", PROP_FLOAT, PROP_COLOR_GAMMA); | ||||
| RNA_def_property_float_sdna(prop, NULL, "edge_select"); | RNA_def_property_float_sdna(prop, NULL, "edge_select"); | ||||
| RNA_def_property_array(prop, 3); | RNA_def_property_array(prop, 3); | ||||
| RNA_def_property_ui_text(prop, "Wire Select", ""); | RNA_def_property_ui_text(prop, "Wire Select", ""); | ||||
| RNA_def_property_update(prop, 0, "rna_userdef_update"); | RNA_def_property_update(prop, 0, "rna_userdef_update"); | ||||
| prop = RNA_def_property(srna, "selected_text", PROP_FLOAT, PROP_COLOR_GAMMA); | prop = RNA_def_property(srna, "selected_text", PROP_FLOAT, PROP_COLOR_GAMMA); | ||||
| RNA_def_property_float_sdna(prop, NULL, "shade2"); | RNA_def_property_float_sdna(prop, NULL, "shade2"); | ||||
| ▲ Show 20 Lines • Show All 2,519 Lines • Show Last 20 Lines | |||||
Would be nice to have a description string here what these colors are used for (also for "wire") - helps users setting them up correctly in themes.