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,774 Lines • ▼ Show 20 Lines | static void rna_def_userdef_theme_space_node(BlenderRNA *brna) | ||||
| prop = RNA_def_property(srna, "node_active", PROP_FLOAT, PROP_COLOR_GAMMA); | prop = RNA_def_property(srna, "node_active", PROP_FLOAT, PROP_COLOR_GAMMA); | ||||
| RNA_def_property_float_sdna(prop, NULL, "active"); | RNA_def_property_float_sdna(prop, NULL, "active"); | ||||
| RNA_def_property_array(prop, 3); | RNA_def_property_array(prop, 3); | ||||
| RNA_def_property_ui_text(prop, "Active Node", ""); | RNA_def_property_ui_text(prop, "Active Node", ""); | ||||
| 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, "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, 4); | ||||
| RNA_def_property_ui_text(prop, "Wires", ""); | RNA_def_property_ui_text(prop, "Wires", ""); | ||||
HooglyBoogly: What is this used for now? | |||||
Done Inline ActionsIn master this is used to color
Since the current patch (without the outline) removes point (1), I thought it would be nice to name it according to the most obvious use in the UI. lone_noel: In master this is used to color
1. the node link shadow,
2. the node socket outline and
3. the… | |||||
| 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, "wire_inner", PROP_FLOAT, PROP_COLOR_GAMMA); | prop = RNA_def_property(srna, "wire_inner", PROP_FLOAT, PROP_COLOR_GAMMA); | ||||
| RNA_def_property_float_sdna(prop, NULL, "syntaxr"); | RNA_def_property_float_sdna(prop, NULL, "syntaxr"); | ||||
| RNA_def_property_array(prop, 3); | RNA_def_property_array(prop, 3); | ||||
| RNA_def_property_ui_text(prop, "Wire Color", ""); | RNA_def_property_ui_text(prop, "Wire Color", ""); | ||||
| RNA_def_property_update(prop, 0, "rna_userdef_theme_update"); | RNA_def_property_update(prop, 0, "rna_userdef_theme_update"); | ||||
| ▲ Show 20 Lines • Show All 3,799 Lines • Show Last 20 Lines | |||||
What is this used for now?