Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/space_sequencer.py
| Context not available. | |||||
| layout.operator("sequencer.sound_strip_add", text="Sound") | layout.operator("sequencer.sound_strip_add", text="Sound") | ||||
| layout.menu("SEQUENCER_MT_add_effect") | layout.menu("SEQUENCER_MT_add_effect") | ||||
| layout.menu("SEQUENCER_MT_add_generated") | |||||
| class SEQUENCER_MT_add_generated(Menu): | |||||
| bl_label = "Generated" | |||||
| def draw(self, context): | |||||
| layout = self.layout | |||||
| layout.operator_context = 'INVOKE_REGION_WIN' | |||||
| layout.operator("sequencer.effect_strip_add", text="Color").type = 'COLOR' | |||||
| layout.operator("sequencer.effect_strip_add", text="Text").type = 'TEXT' | |||||
| class SEQUENCER_MT_add_effect(Menu): | class SEQUENCER_MT_add_effect(Menu): | ||||
| Context not available. | |||||
| layout.operator("sequencer.effect_strip_add", text="Over Drop").type = 'OVER_DROP' | layout.operator("sequencer.effect_strip_add", text="Over Drop").type = 'OVER_DROP' | ||||
| layout.operator("sequencer.effect_strip_add", text="Wipe").type = 'WIPE' | layout.operator("sequencer.effect_strip_add", text="Wipe").type = 'WIPE' | ||||
| layout.operator("sequencer.effect_strip_add", text="Glow").type = 'GLOW' | layout.operator("sequencer.effect_strip_add", text="Glow").type = 'GLOW' | ||||
| layout.operator("sequencer.effect_strip_add", text="Text").type = 'TEXT' | |||||
| layout.operator("sequencer.effect_strip_add", text="Color Mix").type = 'COLORMIX' | layout.operator("sequencer.effect_strip_add", text="Color Mix").type = 'COLORMIX' | ||||
| layout.operator("sequencer.effect_strip_add", text="Transform").type = 'TRANSFORM' | layout.operator("sequencer.effect_strip_add", text="Transform").type = 'TRANSFORM' | ||||
| layout.operator("sequencer.effect_strip_add", text="Color").type = 'COLOR' | |||||
| layout.operator("sequencer.effect_strip_add", text="Speed Control").type = 'SPEED' | layout.operator("sequencer.effect_strip_add", text="Speed Control").type = 'SPEED' | ||||
| layout.operator("sequencer.effect_strip_add", text="Multicam Selector").type = 'MULTICAM' | layout.operator("sequencer.effect_strip_add", text="Multicam Selector").type = 'MULTICAM' | ||||
| layout.operator("sequencer.effect_strip_add", text="Adjustment Layer").type = 'ADJUSTMENT' | layout.operator("sequencer.effect_strip_add", text="Adjustment Layer").type = 'ADJUSTMENT' | ||||
| Context not available. | |||||
| SEQUENCER_MT_marker, | SEQUENCER_MT_marker, | ||||
| SEQUENCER_MT_frame, | SEQUENCER_MT_frame, | ||||
| SEQUENCER_MT_add, | SEQUENCER_MT_add, | ||||
| SEQUENCER_MT_add_generated, | |||||
| SEQUENCER_MT_add_effect, | SEQUENCER_MT_add_effect, | ||||
| SEQUENCER_MT_strip, | SEQUENCER_MT_strip, | ||||
| SEQUENCER_MT_strip_transform, | SEQUENCER_MT_strip_transform, | ||||
| Context not available. | |||||