Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/space_graph.py
| Show First 20 Lines • Show All 88 Lines • ▼ Show 20 Lines | def draw(self, context): | ||||
| DopesheetFilterPopoverBase.draw_standard_filters(context, layout) | DopesheetFilterPopoverBase.draw_standard_filters(context, layout) | ||||
| class GRAPH_MT_editor_menus(Menu): | class GRAPH_MT_editor_menus(Menu): | ||||
| bl_idname = "GRAPH_MT_editor_menus" | bl_idname = "GRAPH_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("GRAPH_MT_view") | layout.menu("GRAPH_MT_view") | ||||
| layout.menu("GRAPH_MT_select") | layout.menu("GRAPH_MT_select") | ||||
| if st.mode != 'DRIVERS' and st.show_markers: | |||||
| layout.menu("GRAPH_MT_marker") | layout.menu("GRAPH_MT_marker") | ||||
| layout.menu("GRAPH_MT_channel") | layout.menu("GRAPH_MT_channel") | ||||
| layout.menu("GRAPH_MT_key") | layout.menu("GRAPH_MT_key") | ||||
| class GRAPH_MT_view(Menu): | class GRAPH_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_cursor") | layout.prop(st, "show_cursor") | ||||
| layout.prop(st, "show_sliders") | layout.prop(st, "show_sliders") | ||||
| layout.prop(st, "show_group_colors") | layout.prop(st, "show_group_colors") | ||||
| layout.prop(st, "show_marker_lines") | |||||
| layout.prop(st, "use_auto_merge_keyframes") | layout.prop(st, "use_auto_merge_keyframes") | ||||
| if st.mode != 'DRIVERS': | |||||
| layout.separator() | |||||
| layout.prop(st, "show_markers") | |||||
| layout.separator() | layout.separator() | ||||
| layout.prop(st, "use_beauty_drawing") | layout.prop(st, "use_beauty_drawing") | ||||
| layout.separator() | layout.separator() | ||||
| layout.prop(st, "show_handles") | layout.prop(st, "show_handles") | ||||
| layout.prop(st, "use_only_selected_curves_handles") | layout.prop(st, "use_only_selected_curves_handles") | ||||
| ▲ Show 20 Lines • Show All 314 Lines • Show Last 20 Lines | |||||