Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/space_clip.py
| Show First 20 Lines • Show All 938 Lines • ▼ Show 20 Lines | def draw(self, context): | ||||
| sub = row.column(align=True) | sub = row.column(align=True) | ||||
| sub.operator("clip.stabilize_2d_add", icon='ZOOMIN', text="") | sub.operator("clip.stabilize_2d_add", icon='ZOOMIN', text="") | ||||
| sub.operator("clip.stabilize_2d_remove", icon='ZOOMOUT', text="") | sub.operator("clip.stabilize_2d_remove", icon='ZOOMOUT', text="") | ||||
| sub.menu('CLIP_MT_stabilize_2d_specials', text="", | sub.menu('CLIP_MT_stabilize_2d_specials', text="", | ||||
| icon='DOWNARROW_HLT') | icon='DOWNARROW_HLT') | ||||
| # Usually we don't hide things from iterface, but here every pixel of | # Usually we don't hide things from interface, but here every pixel of | ||||
| # vertical space is precious. | # vertical space is precious. | ||||
| if stab.use_stabilize_rotation: | if stab.use_stabilize_rotation: | ||||
| box.label(text="Tracks For Rotation / Scale") | box.label(text="Tracks For Rotation / Scale") | ||||
| row = box.row() | row = box.row() | ||||
| row.template_list("UI_UL_list", "stabilization_rotation_tracks", | row.template_list("UI_UL_list", "stabilization_rotation_tracks", | ||||
| stab, "rotation_tracks", | stab, "rotation_tracks", | ||||
| stab, "active_rotation_track_index", rows=2) | stab, "active_rotation_track_index", rows=2) | ||||
| ▲ Show 20 Lines • Show All 603 Lines • Show Last 20 Lines | |||||