Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_space.c
- This file is larger than 256 KB, so syntax highlighting is disabled by default.
| Show First 20 Lines • Show All 7,509 Lines • ▼ Show 20 Lines | static void rna_def_space_clip(BlenderRNA *brna) | ||||
| /* mask */ | /* mask */ | ||||
| rna_def_space_mask_info(srna, NC_SPACE | ND_SPACE_CLIP, "rna_SpaceClipEditor_mask_set"); | rna_def_space_mask_info(srna, NC_SPACE | ND_SPACE_CLIP, "rna_SpaceClipEditor_mask_set"); | ||||
| /* mode */ | /* mode */ | ||||
| prop = RNA_def_property(srna, "mode", PROP_ENUM, PROP_NONE); | prop = RNA_def_property(srna, "mode", PROP_ENUM, PROP_NONE); | ||||
| RNA_def_property_enum_sdna(prop, NULL, "mode"); | RNA_def_property_enum_sdna(prop, NULL, "mode"); | ||||
| RNA_def_property_enum_items(prop, rna_enum_clip_editor_mode_items); | RNA_def_property_enum_items(prop, rna_enum_clip_editor_mode_items); | ||||
| RNA_def_property_ui_text(prop, "Mode", "Editing context being displayed"); | RNA_def_property_ui_text(prop, "Mode", "Editing context being displayed"); | ||||
| RNA_def_property_translation_context(prop, BLT_I18NCONTEXT_ID_MOVIECLIP); | |||||
| RNA_def_property_update(prop, NC_SPACE | ND_SPACE_CLIP, "rna_SpaceClipEditor_clip_mode_update"); | RNA_def_property_update(prop, NC_SPACE | ND_SPACE_CLIP, "rna_SpaceClipEditor_clip_mode_update"); | ||||
| /* view */ | /* view */ | ||||
| prop = RNA_def_property(srna, "view", PROP_ENUM, PROP_NONE); | prop = RNA_def_property(srna, "view", PROP_ENUM, PROP_NONE); | ||||
| RNA_def_property_enum_sdna(prop, NULL, "view"); | RNA_def_property_enum_sdna(prop, NULL, "view"); | ||||
| RNA_def_property_enum_items(prop, view_items); | RNA_def_property_enum_items(prop, view_items); | ||||
| RNA_def_property_ui_text(prop, "View", "Type of the clip editor view"); | RNA_def_property_ui_text(prop, "View", "Type of the clip editor view"); | ||||
| RNA_def_property_translation_context(prop, BLT_I18NCONTEXT_ID_MOVIECLIP); | RNA_def_property_translation_context(prop, BLT_I18NCONTEXT_ID_MOVIECLIP); | ||||
| ▲ Show 20 Lines • Show All 538 Lines • Show Last 20 Lines | |||||