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 5,421 Lines • ▼ Show 20 Lines | static void rna_def_space_sequencer_preview_overlay(BlenderRNA *brna) | ||||
| RNA_def_property_boolean_sdna(prop, NULL, "flag", SEQ_PREVIEW_SHOW_GPENCIL); | RNA_def_property_boolean_sdna(prop, NULL, "flag", SEQ_PREVIEW_SHOW_GPENCIL); | ||||
| RNA_def_property_ui_text(prop, "Show Annotation", "Show annotations for this view"); | RNA_def_property_ui_text(prop, "Show Annotation", "Show annotations for this view"); | ||||
| RNA_def_property_update(prop, NC_SPACE | ND_SPACE_SEQUENCER, NULL); | RNA_def_property_update(prop, NC_SPACE | ND_SPACE_SEQUENCER, NULL); | ||||
| prop = RNA_def_property(srna, "show_image_outline", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "show_image_outline", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_sdna(prop, NULL, "flag", SEQ_PREVIEW_SHOW_OUTLINE_SELECTED); | RNA_def_property_boolean_sdna(prop, NULL, "flag", SEQ_PREVIEW_SHOW_OUTLINE_SELECTED); | ||||
| RNA_def_property_ui_text(prop, "Image Outline", ""); | RNA_def_property_ui_text(prop, "Image Outline", ""); | ||||
| RNA_def_property_update(prop, NC_SPACE | ND_SPACE_SEQUENCER, NULL); | RNA_def_property_update(prop, NC_SPACE | ND_SPACE_SEQUENCER, NULL); | ||||
| prop = RNA_def_property(srna, "show_2d_cursor", PROP_BOOLEAN, PROP_NONE); | |||||
campbellbarton: This can be `show_cursor` as it's named elsewhere. | |||||
| RNA_def_property_boolean_sdna(prop, NULL, "flag", SEQ_PREVIEW_SHOW_2D_CURSOR); | |||||
| RNA_def_property_ui_text(prop, "2D cursor", ""); | |||||
| RNA_def_property_update(prop, NC_SPACE | ND_SPACE_SEQUENCER, NULL); | |||||
| } | } | ||||
| static void rna_def_space_sequencer_timeline_overlay(BlenderRNA *brna) | static void rna_def_space_sequencer_timeline_overlay(BlenderRNA *brna) | ||||
| { | { | ||||
| StructRNA *srna; | StructRNA *srna; | ||||
| PropertyRNA *prop; | PropertyRNA *prop; | ||||
| srna = RNA_def_struct(brna, "SequencerTimelineOverlay", NULL); | srna = RNA_def_struct(brna, "SequencerTimelineOverlay", NULL); | ||||
| ▲ Show 20 Lines • Show All 2,415 Lines • Show Last 20 Lines | |||||
This can be show_cursor as it's named elsewhere.