Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_wm_manipulator.c
| Show First 20 Lines • Show All 1,198 Lines • ▼ Show 20 Lines | #endif | ||||
| RNA_def_property_ui_text(prop, "Space type", "The space where the panel is going to be used in"); | RNA_def_property_ui_text(prop, "Space type", "The space where the panel is going to be used in"); | ||||
| prop = RNA_def_property(srna, "bl_region_type", PROP_ENUM, PROP_NONE); | prop = RNA_def_property(srna, "bl_region_type", PROP_ENUM, PROP_NONE); | ||||
| RNA_def_property_enum_sdna(prop, NULL, "type->mmap_params.regionid"); | RNA_def_property_enum_sdna(prop, NULL, "type->mmap_params.regionid"); | ||||
| RNA_def_property_enum_items(prop, rna_enum_region_type_items); | RNA_def_property_enum_items(prop, rna_enum_region_type_items); | ||||
| RNA_def_property_flag(prop, PROP_REGISTER); | RNA_def_property_flag(prop, PROP_REGISTER); | ||||
| RNA_def_property_ui_text(prop, "Region Type", "The region where the panel is going to be used in"); | RNA_def_property_ui_text(prop, "Region Type", "The region where the panel is going to be used in"); | ||||
| prop = RNA_def_property(srna, "bl_ui_tag", PROP_STRING, PROP_NONE); | |||||
| RNA_def_property_string_sdna(prop, NULL, "type->ui_tag"); | |||||
| RNA_def_property_flag(prop, PROP_REGISTER_OPTIONAL); | |||||
| /* bl_options */ | /* bl_options */ | ||||
| static EnumPropertyItem manipulatorgroup_flag_items[] = { | static EnumPropertyItem manipulatorgroup_flag_items[] = { | ||||
| {WM_MANIPULATORGROUPTYPE_3D, "3D", 0, "3D", | {WM_MANIPULATORGROUPTYPE_3D, "3D", 0, "3D", | ||||
| "Use in 3D viewport"}, | "Use in 3D viewport"}, | ||||
| {WM_MANIPULATORGROUPTYPE_SCALE, "SCALE", 0, "Scale", | {WM_MANIPULATORGROUPTYPE_SCALE, "SCALE", 0, "Scale", | ||||
| "Scale to respect zoom (otherwise zoom independent draw size)"}, | "Scale to respect zoom (otherwise zoom independent draw size)"}, | ||||
| {WM_MANIPULATORGROUPTYPE_DEPTH_3D, "DEPTH_3D", 0, "Depth 3D", | {WM_MANIPULATORGROUPTYPE_DEPTH_3D, "DEPTH_3D", 0, "Depth 3D", | ||||
| "Supports culled depth by other objects in the view"}, | "Supports culled depth by other objects in the view"}, | ||||
| ▲ Show 20 Lines • Show All 100 Lines • Show Last 20 Lines | |||||