Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/space_nla.py
| Show First 20 Lines • Show All 65 Lines • ▼ Show 20 Lines | def draw(self, context): | ||||
| DopesheetFilterPopoverBase.draw_standard_filters(context, layout) | DopesheetFilterPopoverBase.draw_standard_filters(context, layout) | ||||
| class NLA_MT_editor_menus(Menu): | class NLA_MT_editor_menus(Menu): | ||||
| bl_idname = "NLA_MT_editor_menus" | bl_idname = "NLA_MT_editor_menus" | ||||
| bl_label = "" | bl_label = "" | ||||
| def draw(self, _context): | def draw(self, _context): | ||||
| st = _context.space_data | |||||
| layout = self.layout | layout = self.layout | ||||
| layout.menu("NLA_MT_view") | layout.menu("NLA_MT_view") | ||||
| layout.menu("NLA_MT_select") | layout.menu("NLA_MT_select") | ||||
| if st.show_markers: | |||||
| layout.menu("NLA_MT_marker") | layout.menu("NLA_MT_marker") | ||||
| layout.menu("NLA_MT_edit") | layout.menu("NLA_MT_edit") | ||||
| layout.menu("NLA_MT_add") | layout.menu("NLA_MT_add") | ||||
| class NLA_MT_view(Menu): | class NLA_MT_view(Menu): | ||||
| bl_label = "View" | bl_label = "View" | ||||
| def draw(self, context): | def draw(self, context): | ||||
| layout = self.layout | layout = self.layout | ||||
| st = context.space_data | st = context.space_data | ||||
| layout.prop(st, "show_region_ui") | layout.prop(st, "show_region_ui") | ||||
| layout.separator() | layout.separator() | ||||
| layout.prop(st, "use_realtime_update") | layout.prop(st, "use_realtime_update") | ||||
| layout.prop(st, "show_seconds") | layout.prop(st, "show_seconds") | ||||
| layout.prop(st, "show_locked_time") | layout.prop(st, "show_locked_time") | ||||
| layout.prop(st, "show_strip_curves") | layout.prop(st, "show_strip_curves") | ||||
| layout.separator() | |||||
| layout.prop(st, "show_markers") | |||||
| layout.prop(st, "show_local_markers") | layout.prop(st, "show_local_markers") | ||||
| layout.prop(st, "show_marker_lines") | |||||
| layout.separator() | layout.separator() | ||||
| layout.operator("anim.previewrange_set") | layout.operator("anim.previewrange_set") | ||||
| layout.operator("anim.previewrange_clear") | layout.operator("anim.previewrange_clear") | ||||
| layout.operator("nla.previewrange_set") | layout.operator("nla.previewrange_set") | ||||
| layout.separator() | layout.separator() | ||||
| layout.operator("nla.view_all") | layout.operator("nla.view_all") | ||||
| ▲ Show 20 Lines • Show All 198 Lines • Show Last 20 Lines | |||||