Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_space.c
| Show First 20 Lines • Show All 992 Lines • ▼ Show 20 Lines | |||||
| "Waveforms drawn according to strip setting"}, | "Waveforms drawn according to strip setting"}, | ||||
| {0, NULL, 0, NULL, NULL}, | {0, NULL, 0, NULL, NULL}, | ||||
| }; | }; | ||||
| srna = RNA_def_struct(brna, "SpaceSequenceEditor", "Space"); | srna = RNA_def_struct(brna, "SpaceSequenceEditor", "Space"); | ||||
| RNA_def_struct_sdna(srna, "SpaceSeq"); | RNA_def_struct_sdna(srna, "SpaceSeq"); | ||||
| RNA_def_struct_ui_text(srna, "Space Sequence Editor", "Sequence editor space data"); | RNA_def_struct_ui_text(srna, "Space Sequence Editor", "Sequence editor space data"); | ||||
| rna_def_space_generic_show_region_toggles(srna, (1 << RGN_TYPE_UI)); | rna_def_space_generic_show_region_toggles(srna, ((1 << RGN_TYPE_UI) | (1 << RGN_TYPE_HUD))); | ||||
| /* view type, fairly important */ | /* view type, fairly important */ | ||||
| prop = RNA_def_property(srna, "view_type", PROP_ENUM, PROP_NONE); | prop = RNA_def_property(srna, "view_type", 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_type_items); | RNA_def_property_enum_items(prop, view_type_items); | ||||
| RNA_def_property_ui_text( | RNA_def_property_ui_text( | ||||
| prop, "View Type", "Type of the Sequencer view (sequencer, preview or both)"); | prop, "View Type", "Type of the Sequencer view (sequencer, preview or both)"); | ||||
| RNA_def_property_update(prop, 0, "rna_Sequencer_view_type_update"); | RNA_def_property_update(prop, 0, "rna_Sequencer_view_type_update"); | ||||
| ▲ Show 20 Lines • Show All 992 Lines • Show Last 20 Lines | |||||