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 5,774 Lines • ▼ Show 20 Lines | # endif /* WITH_INPUT_NDOF */ | ||||
| RNA_def_property_range(prop, -FLT_MAX, FLT_MAX); | RNA_def_property_range(prop, -FLT_MAX, FLT_MAX); | ||||
| RNA_def_property_ui_range(prop, -1.0f, 1.0f, 0.1f, 2); | RNA_def_property_ui_range(prop, -1.0f, 1.0f, 0.1f, 2); | ||||
| RNA_def_property_ui_text( | RNA_def_property_ui_text( | ||||
| prop, "Softness", "Adjusts softness of the low pressure response onset using a gamma curve"); | prop, "Softness", "Adjusts softness of the low pressure response onset using a gamma curve"); | ||||
| prop = RNA_def_property(srna, "tablet_api", PROP_ENUM, PROP_NONE); | prop = RNA_def_property(srna, "tablet_api", PROP_ENUM, PROP_NONE); | ||||
| RNA_def_property_enum_items(prop, tablet_api); | RNA_def_property_enum_items(prop, tablet_api); | ||||
| RNA_def_property_ui_text( | RNA_def_property_ui_text( | ||||
| prop, "Tablet API", "Select the tablet API to use for pressure sensitivity"); | prop, | ||||
| "Tablet API", | |||||
| "Select the tablet API to use for pressure sensitivity, change requires restart of Blender"); | |||||
| RNA_def_property_update(prop, 0, "rna_userdef_tablet_api_update"); | RNA_def_property_update(prop, 0, "rna_userdef_tablet_api_update"); | ||||
| # ifdef WITH_INPUT_NDOF | # ifdef WITH_INPUT_NDOF | ||||
| /* 3D mouse settings */ | /* 3D mouse settings */ | ||||
| /* global options */ | /* global options */ | ||||
| prop = RNA_def_property(srna, "ndof_sensitivity", PROP_FLOAT, PROP_NONE); | prop = RNA_def_property(srna, "ndof_sensitivity", PROP_FLOAT, PROP_NONE); | ||||
| RNA_def_property_range(prop, 0.01f, 40.0f); | RNA_def_property_range(prop, 0.01f, 40.0f); | ||||
| RNA_def_property_ui_text(prop, "Sensitivity", "Overall sensitivity of the 3D Mouse for panning"); | RNA_def_property_ui_text(prop, "Sensitivity", "Overall sensitivity of the 3D Mouse for panning"); | ||||
| ▲ Show 20 Lines • Show All 592 Lines • Show Last 20 Lines | |||||