diff --git a/BizHawk.Client.EmuHawk/tools/TAStudio/InputRoll.cs b/BizHawk.Client.EmuHawk/tools/TAStudio/InputRoll.cs index 79f7185877..9c9f33dcf6 100644 --- a/BizHawk.Client.EmuHawk/tools/TAStudio/InputRoll.cs +++ b/BizHawk.Client.EmuHawk/tools/TAStudio/InputRoll.cs @@ -546,7 +546,7 @@ namespace BizHawk.Client.EmuHawk { Name = "RotateMenuItem", Text = "Rotate", - ShortcutKeyDisplayString = "Ctrl+Shift+F", + ShortcutKeyDisplayString = RotateHotkeyStr, }; rotate.Click += (o, ev) => @@ -557,6 +557,11 @@ namespace BizHawk.Client.EmuHawk yield return rotate; } + public string RotateHotkeyStr + { + get { return "Ctrl+Shift+F"; } + } + #endregion #region Paint diff --git a/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.Designer.cs b/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.Designer.cs index 45deafe31d..df84d3d39b 100644 --- a/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.Designer.cs +++ b/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.Designer.cs @@ -86,6 +86,8 @@ namespace BizHawk.Client.EmuHawk this.OsdInBranchScreenshotsMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator14 = new System.Windows.Forms.ToolStripSeparator(); this.AutopauseAtEndOfMovieMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator20 = new System.Windows.Forms.ToolStripSeparator(); + this.RotateMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.MetaSubMenu = new System.Windows.Forms.ToolStripMenuItem(); this.HeaderMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.GreenzoneSettingsMenuItem = new System.Windows.Forms.ToolStripMenuItem(); @@ -478,7 +480,9 @@ namespace BizHawk.Client.EmuHawk this.BranchesRestoreEntireMovieMenuItem, this.OsdInBranchScreenshotsMenuItem, this.toolStripSeparator14, - this.AutopauseAtEndOfMovieMenuItem}); + this.AutopauseAtEndOfMovieMenuItem, + this.toolStripSeparator20, + this.RotateMenuItem}); this.ConfigSubMenu.Name = "ConfigSubMenu"; this.ConfigSubMenu.Size = new System.Drawing.Size(55, 20); this.ConfigSubMenu.Text = "&Config"; @@ -579,6 +583,18 @@ namespace BizHawk.Client.EmuHawk this.AutopauseAtEndOfMovieMenuItem.Text = "Autopause at end of Movie"; this.AutopauseAtEndOfMovieMenuItem.Click += new System.EventHandler(this.AutopauseAtEndMenuItem_Click); // + // toolStripSeparator20 + // + this.toolStripSeparator20.Name = "toolStripSeparator20"; + this.toolStripSeparator20.Size = new System.Drawing.Size(285, 6); + // + // RotateMenuItem + // + this.RotateMenuItem.Name = "RotateMenuItem"; + this.RotateMenuItem.Size = new System.Drawing.Size(288, 22); + this.RotateMenuItem.Text = "Rotate"; + this.RotateMenuItem.Click += new System.EventHandler(this.RotateMenuItem_Click); + // // MetaSubMenu // this.MetaSubMenu.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { @@ -1046,5 +1062,7 @@ namespace BizHawk.Client.EmuHawk private System.Windows.Forms.ToolStripMenuItem GreenZzoneIntegrityCheckMenuItem; private System.Windows.Forms.ToolStripMenuItem ColumnsSubMenu; private System.Windows.Forms.ToolStripSeparator toolStripSeparator19; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator20; + private System.Windows.Forms.ToolStripMenuItem RotateMenuItem; } } \ No newline at end of file diff --git a/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.cs b/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.cs index 0c1b1aa761..0a2a6fd54c 100644 --- a/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.cs +++ b/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.cs @@ -975,6 +975,8 @@ namespace BizHawk.Client.EmuHawk DrawInputByDraggingMenuItem.Checked = Global.Config.TAStudioDrawInput; AutopauseAtEndOfMovieMenuItem.Checked = Global.Config.TAStudioAutoPause; EmptyNewMarkerNotesMenuItem.Checked = Global.Config.TAStudioEmptyMarkers; + + RotateMenuItem.ShortcutKeyDisplayString = TasView.RotateHotkeyStr; } private void DrawInputByDraggingMenuItem_Click(object sender, EventArgs e) @@ -994,6 +996,11 @@ namespace BizHawk.Client.EmuHawk Global.Config.TAStudioAutoPause ^= true; } + private void RotateMenuItem_Click(object sender, EventArgs e) + { + TasView.HorizontalOrientation ^= true; + } + #endregion #region Metadata