Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_sequencer.c
| Show First 20 Lines • Show All 2,887 Lines • ▼ Show 20 Lines | static void rna_def_wipe(StructRNA *srna) | ||||
| RNA_def_property_range(prop, DEG2RADF(-90.0f), DEG2RADF(90.0f)); | RNA_def_property_range(prop, DEG2RADF(-90.0f), DEG2RADF(90.0f)); | ||||
| RNA_def_property_ui_text(prop, "Angle", "Edge angle"); | RNA_def_property_ui_text(prop, "Angle", "Edge angle"); | ||||
| RNA_def_property_update(prop, NC_SCENE | ND_SEQUENCER, "rna_Sequence_invalidate_raw_update"); | RNA_def_property_update(prop, NC_SCENE | ND_SEQUENCER, "rna_Sequence_invalidate_raw_update"); | ||||
| prop = RNA_def_property(srna, "direction", PROP_ENUM, PROP_NONE); | prop = RNA_def_property(srna, "direction", PROP_ENUM, PROP_NONE); | ||||
| RNA_def_property_enum_sdna(prop, NULL, "forward"); | RNA_def_property_enum_sdna(prop, NULL, "forward"); | ||||
| RNA_def_property_enum_items(prop, wipe_direction_items); | RNA_def_property_enum_items(prop, wipe_direction_items); | ||||
| RNA_def_property_ui_text(prop, "Direction", "Wipe direction"); | RNA_def_property_ui_text(prop, "Direction", "Wipe direction"); | ||||
| RNA_def_property_translation_context(prop, BLT_I18NCONTEXT_ID_SEQUENCE); | |||||
| RNA_def_property_update(prop, NC_SCENE | ND_SEQUENCER, "rna_Sequence_invalidate_raw_update"); | RNA_def_property_update(prop, NC_SCENE | ND_SEQUENCER, "rna_Sequence_invalidate_raw_update"); | ||||
| prop = RNA_def_property(srna, "transition_type", PROP_ENUM, PROP_NONE); | prop = RNA_def_property(srna, "transition_type", PROP_ENUM, PROP_NONE); | ||||
| RNA_def_property_enum_sdna(prop, NULL, "wipetype"); | RNA_def_property_enum_sdna(prop, NULL, "wipetype"); | ||||
| RNA_def_property_enum_items(prop, wipe_type_items); | RNA_def_property_enum_items(prop, wipe_type_items); | ||||
| RNA_def_property_translation_context(prop, BLT_I18NCONTEXT_ID_SEQUENCE); | RNA_def_property_translation_context(prop, BLT_I18NCONTEXT_ID_SEQUENCE); | ||||
| RNA_def_property_ui_text(prop, "Transition Type", ""); | RNA_def_property_ui_text(prop, "Transition Type", ""); | ||||
| RNA_def_property_update(prop, NC_SCENE | ND_SEQUENCER, "rna_Sequence_invalidate_raw_update"); | RNA_def_property_update(prop, NC_SCENE | ND_SEQUENCER, "rna_Sequence_invalidate_raw_update"); | ||||
| ▲ Show 20 Lines • Show All 705 Lines • Show Last 20 Lines | |||||