Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/space_graph.py
| Show All 12 Lines | |||||
| # You should have received a copy of the GNU General Public License | # You should have received a copy of the GNU General Public License | ||||
| # along with this program; if not, write to the Free Software Foundation, | # along with this program; if not, write to the Free Software Foundation, | ||||
| # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||||
| # | # | ||||
| # ##### END GPL LICENSE BLOCK ##### | # ##### END GPL LICENSE BLOCK ##### | ||||
| # <pep8 compliant> | # <pep8 compliant> | ||||
| import bpy | |||||
| from bpy.types import Header, Menu, Panel | from bpy.types import Header, Menu, Panel | ||||
| from bl_ui.space_dopesheet import ( | from bl_ui.space_dopesheet import ( | ||||
| DopesheetFilterPopoverBase, | DopesheetFilterPopoverBase, | ||||
| dopesheet_filter, | dopesheet_filter, | ||||
| ) | ) | ||||
| class GRAPH_HT_header(Header): | class GRAPH_HT_header(Header): | ||||
| ▲ Show 20 Lines • Show All 85 Lines • ▼ Show 20 Lines | def draw(self, context): | ||||
| layout.prop(st, "show_region_ui") | layout.prop(st, "show_region_ui") | ||||
| layout.prop(st, "show_region_hud") | layout.prop(st, "show_region_hud") | ||||
| 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") | ||||
| if bpy.app.version < (2, 93): | |||||
| layout.operator("anim.show_group_colors_deprecated", icon='CHECKBOX_HLT') | |||||
| layout.prop(st, "use_auto_merge_keyframes") | layout.prop(st, "use_auto_merge_keyframes") | ||||
| if st.mode != 'DRIVERS': | if st.mode != 'DRIVERS': | ||||
| layout.separator() | layout.separator() | ||||
| layout.prop(st, "show_markers") | layout.prop(st, "show_markers") | ||||
| layout.separator() | layout.separator() | ||||
| layout.prop(st, "use_beauty_drawing") | layout.prop(st, "use_beauty_drawing") | ||||
| ▲ Show 20 Lines • Show All 345 Lines • Show Last 20 Lines | |||||