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 4,585 Lines • ▼ Show 20 Lines | static void rna_def_userdef_view(BlenderRNA *brna) | ||||
| RNA_def_property_pointer_sdna(prop, NULL, "coba_weight"); | RNA_def_property_pointer_sdna(prop, NULL, "coba_weight"); | ||||
| RNA_def_property_struct_type(prop, "ColorRamp"); | RNA_def_property_struct_type(prop, "ColorRamp"); | ||||
| RNA_def_property_ui_text(prop, | RNA_def_property_ui_text(prop, | ||||
| "Weight Color Range", | "Weight Color Range", | ||||
| "Color range used for weight visualization in weight painting mode"); | "Color range used for weight visualization in weight painting mode"); | ||||
| RNA_def_property_update(prop, 0, "rna_UserDef_weight_color_update"); | RNA_def_property_update(prop, 0, "rna_UserDef_weight_color_update"); | ||||
| prop = RNA_def_property(srna, "show_layout_ui", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "show_layout_ui", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_negative_sdna(prop, NULL, "app_flag", USER_APP_LOCK_UI_LAYOUT); | RNA_def_property_boolean_negative_sdna(prop, NULL, "app_flag", USER_APP_LOCK_CORNER_SPLIT); | ||||
| RNA_def_property_ui_text( | RNA_def_property_ui_text( | ||||
| prop, "Editor Corner Splitting", "Split and join editors by dragging from corners"); | prop, "Editor Corner Splitting", "Split and join editors by dragging from corners"); | ||||
| RNA_def_property_update(prop, 0, "rna_userdef_screen_update"); | RNA_def_property_update(prop, 0, "rna_userdef_screen_update"); | ||||
| prop = RNA_def_property(srna, "show_navigate_ui", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "show_navigate_ui", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_sdna(prop, NULL, "uiflag", USER_SHOW_GIZMO_NAVIGATE); | RNA_def_property_boolean_sdna(prop, NULL, "uiflag", USER_SHOW_GIZMO_NAVIGATE); | ||||
| RNA_def_property_ui_text( | RNA_def_property_ui_text( | ||||
| prop, | prop, | ||||
| ▲ Show 20 Lines • Show All 1,912 Lines • Show Last 20 Lines | |||||