Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_userdef.c
| Show First 20 Lines • Show All 5,224 Lines • ▼ Show 20 Lines | # endif /* WITH_INPUT_NDOF */ | ||||
| RNA_def_property_ui_text(prop, "View Navigation", "Which method to use for viewport navigation"); | RNA_def_property_ui_text(prop, "View Navigation", "Which method to use for viewport navigation"); | ||||
| prop = RNA_def_property(srna, "walk_navigation", PROP_POINTER, PROP_NONE); | prop = RNA_def_property(srna, "walk_navigation", PROP_POINTER, PROP_NONE); | ||||
| RNA_def_property_pointer_sdna(prop, NULL, "walk_navigation"); | RNA_def_property_pointer_sdna(prop, NULL, "walk_navigation"); | ||||
| RNA_def_property_flag(prop, PROP_NEVER_NULL); | RNA_def_property_flag(prop, PROP_NEVER_NULL); | ||||
| RNA_def_property_struct_type(prop, "WalkNavigation"); | RNA_def_property_struct_type(prop, "WalkNavigation"); | ||||
| RNA_def_property_ui_text(prop, "Walk Navigation", "Settings for walk navigation mode"); | RNA_def_property_ui_text(prop, "Walk Navigation", "Settings for walk navigation mode"); | ||||
| prop = RNA_def_property(srna, "use_2d_viewport_navigation", PROP_BOOLEAN, PROP_NONE); | |||||
| RNA_def_property_boolean_sdna(prop, NULL, "uiflag2", USER_2D_VIEWPORT_NAVIGATION); | |||||
| RNA_def_property_ui_text( | |||||
| prop, "2D viewport navigation", "Emulate a 2D view navigation for brush related workflows"); | |||||
| /* tweak tablet & mouse preset */ | /* tweak tablet & mouse preset */ | ||||
| prop = RNA_def_property(srna, "drag_threshold_mouse", PROP_INT, PROP_PIXEL); | prop = RNA_def_property(srna, "drag_threshold_mouse", PROP_INT, PROP_PIXEL); | ||||
| RNA_def_property_range(prop, 1, 255); | RNA_def_property_range(prop, 1, 255); | ||||
| RNA_def_property_ui_text(prop, | RNA_def_property_ui_text(prop, | ||||
| "Mouse Drag Threshold", | "Mouse Drag Threshold", | ||||
| "Number of pixels to drag before a tweak/drag event is triggered " | "Number of pixels to drag before a tweak/drag event is triggered " | ||||
| "for mouse/track-pad input " | "for mouse/track-pad input " | ||||
| "(otherwise click events are detected)"); | "(otherwise click events are detected)"); | ||||
| ▲ Show 20 Lines • Show All 594 Lines • Show Last 20 Lines | |||||