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,911 Lines • ▼ Show 20 Lines | static void rna_def_userdef_theme_space_node(BlenderRNA *brna) | ||||
| prop = RNA_def_property(srna, "grid_levels", PROP_INT, PROP_NONE); | prop = RNA_def_property(srna, "grid_levels", PROP_INT, PROP_NONE); | ||||
| RNA_def_property_int_sdna(prop, NULL, "grid_levels"); | RNA_def_property_int_sdna(prop, NULL, "grid_levels"); | ||||
| RNA_def_property_int_default(prop, 2); | RNA_def_property_int_default(prop, 2); | ||||
| RNA_def_property_range(prop, 0, 2); | RNA_def_property_range(prop, 0, 2); | ||||
| RNA_def_property_ui_text( | RNA_def_property_ui_text( | ||||
| prop, "Grid Levels", "Amount of grid lines displayed in the background"); | prop, "Grid Levels", "Amount of grid lines displayed in the background"); | ||||
| 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, "dash_alpha", PROP_FLOAT, PROP_FACTOR); | |||||
| RNA_def_property_range(prop, 0.0f, 1.0f); | |||||
| RNA_def_property_float_default(prop, 0.5f); | |||||
| RNA_def_property_ui_text(prop, "Dashed Lines Opacity", "Opacity for the dashed lines in wires"); | |||||
| RNA_def_property_update(prop, 0, "rna_userdef_theme_update"); | |||||
| prop = RNA_def_property(srna, "input_node", PROP_FLOAT, PROP_COLOR_GAMMA); | prop = RNA_def_property(srna, "input_node", PROP_FLOAT, PROP_COLOR_GAMMA); | ||||
| RNA_def_property_float_sdna(prop, NULL, "syntaxn"); | RNA_def_property_float_sdna(prop, NULL, "syntaxn"); | ||||
| RNA_def_property_array(prop, 3); | RNA_def_property_array(prop, 3); | ||||
| RNA_def_property_ui_text(prop, "Input Node", ""); | RNA_def_property_ui_text(prop, "Input 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, "output_node", PROP_FLOAT, PROP_COLOR_GAMMA); | prop = RNA_def_property(srna, "output_node", PROP_FLOAT, PROP_COLOR_GAMMA); | ||||
| RNA_def_property_float_sdna(prop, NULL, "nodeclass_output"); | RNA_def_property_float_sdna(prop, NULL, "nodeclass_output"); | ||||
| ▲ Show 20 Lines • Show All 3,662 Lines • Show Last 20 Lines | |||||