more mainform refactoring and some small visual fixes to the context menu

This commit is contained in:
adelikat 2013-10-27 15:23:41 +00:00
parent 9218e298dd
commit eccaca3c78
4 changed files with 588 additions and 695 deletions

View File

@ -311,25 +311,25 @@
this.StatusSlot10 = new System.Windows.Forms.ToolStripStatusLabel(); this.StatusSlot10 = new System.Windows.Forms.ToolStripStatusLabel();
this.CheatStatus = new System.Windows.Forms.ToolStripStatusLabel(); this.CheatStatus = new System.Windows.Forms.ToolStripStatusLabel();
this.KeyPriorityStatusBarLabel = new System.Windows.Forms.ToolStripStatusLabel(); this.KeyPriorityStatusBarLabel = new System.Windows.Forms.ToolStripStatusLabel();
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); this.MainFormContextMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
this.cmiOpenRom = new System.Windows.Forms.ToolStripMenuItem(); this.OpenRomContextMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.cmiLoadLastRom = new System.Windows.Forms.ToolStripMenuItem(); this.LoadLastRomContextMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator_afterRomLoading = new System.Windows.Forms.ToolStripSeparator(); this.ContextSeparator_AfterROM = new System.Windows.Forms.ToolStripSeparator();
this.cmiRecordMovie = new System.Windows.Forms.ToolStripMenuItem(); this.RecordMovieContextMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.cmiPlayMovie = new System.Windows.Forms.ToolStripMenuItem(); this.PlayMovieContextMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.cmiRestartMovie = new System.Windows.Forms.ToolStripMenuItem(); this.RestartMovieContextMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.cmiStopMovie = new System.Windows.Forms.ToolStripMenuItem(); this.StopMovieContextMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.cmiLoadLastMovie = new System.Windows.Forms.ToolStripMenuItem(); this.LoadLastMovieContextMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.cmiMakeMovieBackup = new System.Windows.Forms.ToolStripMenuItem(); this.BackupMovieContextMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ContextMenuStopMovieNoSaving = new System.Windows.Forms.ToolStripMenuItem(); this.StopNoSaveContextMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.cmiViewSubtitles = new System.Windows.Forms.ToolStripMenuItem(); this.ViewSubtitlesContextMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.cmiAddSubtitle = new System.Windows.Forms.ToolStripMenuItem(); this.AddSubtitleContextMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.cmiViewComments = new System.Windows.Forms.ToolStripMenuItem(); this.ViewCommentsContextMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.saveMovieToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this.SaveMovieContextMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripSeparator_afterMovie = new System.Windows.Forms.ToolStripSeparator(); this.ContextSeparator_AfterMovie = new System.Windows.Forms.ToolStripSeparator();
this.cmiUndoSavestate = new System.Windows.Forms.ToolStripMenuItem(); this.UndoSavestateContextMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.cmiSeparator20 = new System.Windows.Forms.ToolStripSeparator(); this.ContextSeparator_AfterUndo = new System.Windows.Forms.ToolStripSeparator();
this.configToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this.ConfigContextMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.controllersToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this.controllersToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
this.hotkeysToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this.hotkeysToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
this.messagesToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this.messagesToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
@ -341,16 +341,14 @@
this.toolStripSeparator30 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripSeparator30 = new System.Windows.Forms.ToolStripSeparator();
this.toolStripMenuItem6 = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItem6 = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripMenuItem7 = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItem7 = new System.Windows.Forms.ToolStripMenuItem();
this.cmiScreenshot = new System.Windows.Forms.ToolStripMenuItem(); this.ScreenshotContextMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.cmiScreenshotClipboard = new System.Windows.Forms.ToolStripMenuItem(); this.CloseRomContextMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.cmiCloseRom = new System.Windows.Forms.ToolStripMenuItem();
this.ClearSRAMContextSeparator = new System.Windows.Forms.ToolStripSeparator();
this.ClearSRAMContextMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.ClearSRAMContextMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ShowMenuContextMenuSeparator = new System.Windows.Forms.ToolStripSeparator(); this.ShowMenuContextMenuSeparator = new System.Windows.Forms.ToolStripSeparator();
this.cmiShowMenu = new System.Windows.Forms.ToolStripMenuItem(); this.ShowMenuContextMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.MainformMenu.SuspendLayout(); this.MainformMenu.SuspendLayout();
this.StatusSlot0.SuspendLayout(); this.StatusSlot0.SuspendLayout();
this.contextMenuStrip1.SuspendLayout(); this.MainFormContextMenu.SuspendLayout();
this.SuspendLayout(); this.SuspendLayout();
// //
// MainformMenu // MainformMenu
@ -896,7 +894,7 @@
this.StopMovieWithoutSavingMenuItem.Name = "StopMovieWithoutSavingMenuItem"; this.StopMovieWithoutSavingMenuItem.Name = "StopMovieWithoutSavingMenuItem";
this.StopMovieWithoutSavingMenuItem.Size = new System.Drawing.Size(231, 22); this.StopMovieWithoutSavingMenuItem.Size = new System.Drawing.Size(231, 22);
this.StopMovieWithoutSavingMenuItem.Text = "Stop Movie without Saving"; this.StopMovieWithoutSavingMenuItem.Text = "Stop Movie without Saving";
this.StopMovieWithoutSavingMenuItem.Click += new System.EventHandler(this.stopMovieWithoutSaveMenuItem_Click); this.StopMovieWithoutSavingMenuItem.Click += new System.EventHandler(this.StopMovieWithoutSavingMenuItem_Click);
// //
// toolStripSeparator14 // toolStripSeparator14
// //
@ -2517,7 +2515,7 @@
// //
this.OnlineHelpMenuItem.Image = global::BizHawk.MultiClient.Properties.Resources.Help; this.OnlineHelpMenuItem.Image = global::BizHawk.MultiClient.Properties.Resources.Help;
this.OnlineHelpMenuItem.Name = "OnlineHelpMenuItem"; this.OnlineHelpMenuItem.Name = "OnlineHelpMenuItem";
this.OnlineHelpMenuItem.Size = new System.Drawing.Size(152, 22); this.OnlineHelpMenuItem.Size = new System.Drawing.Size(146, 22);
this.OnlineHelpMenuItem.Text = "&Online Help..."; this.OnlineHelpMenuItem.Text = "&Online Help...";
this.OnlineHelpMenuItem.Click += new System.EventHandler(this.OnlineHelpMenuItem_Click); this.OnlineHelpMenuItem.Click += new System.EventHandler(this.OnlineHelpMenuItem_Click);
// //
@ -2525,7 +2523,7 @@
// //
this.ForumsMenuItem.Image = global::BizHawk.MultiClient.Properties.Resources.TAStudio; this.ForumsMenuItem.Image = global::BizHawk.MultiClient.Properties.Resources.TAStudio;
this.ForumsMenuItem.Name = "ForumsMenuItem"; this.ForumsMenuItem.Name = "ForumsMenuItem";
this.ForumsMenuItem.Size = new System.Drawing.Size(152, 22); this.ForumsMenuItem.Size = new System.Drawing.Size(146, 22);
this.ForumsMenuItem.Text = "Forums..."; this.ForumsMenuItem.Text = "Forums...";
this.ForumsMenuItem.Click += new System.EventHandler(this.ForumsMenuItem_Click); this.ForumsMenuItem.Click += new System.EventHandler(this.ForumsMenuItem_Click);
// //
@ -2533,7 +2531,7 @@
// //
this.AboutMenuItem.Image = global::BizHawk.MultiClient.Properties.Resources.CorpHawkSmall; this.AboutMenuItem.Image = global::BizHawk.MultiClient.Properties.Resources.CorpHawkSmall;
this.AboutMenuItem.Name = "AboutMenuItem"; this.AboutMenuItem.Name = "AboutMenuItem";
this.AboutMenuItem.Size = new System.Drawing.Size(152, 22); this.AboutMenuItem.Size = new System.Drawing.Size(146, 22);
this.AboutMenuItem.Text = "&About"; this.AboutMenuItem.Text = "&About";
this.AboutMenuItem.Click += new System.EventHandler(this.AboutMenuItem_Click); this.AboutMenuItem.Click += new System.EventHandler(this.AboutMenuItem_Click);
// //
@ -2725,165 +2723,163 @@
this.KeyPriorityStatusBarLabel.Text = "KeyPriority"; this.KeyPriorityStatusBarLabel.Text = "KeyPriority";
this.KeyPriorityStatusBarLabel.Click += new System.EventHandler(this.KeyPriorityStatusBarLabel_Click); this.KeyPriorityStatusBarLabel.Click += new System.EventHandler(this.KeyPriorityStatusBarLabel_Click);
// //
// contextMenuStrip1 // MainFormContextMenu
// //
this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.MainFormContextMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.cmiOpenRom, this.OpenRomContextMenuItem,
this.cmiLoadLastRom, this.LoadLastRomContextMenuItem,
this.toolStripSeparator_afterRomLoading, this.ContextSeparator_AfterROM,
this.cmiRecordMovie, this.RecordMovieContextMenuItem,
this.cmiPlayMovie, this.PlayMovieContextMenuItem,
this.cmiRestartMovie, this.RestartMovieContextMenuItem,
this.cmiStopMovie, this.StopMovieContextMenuItem,
this.cmiLoadLastMovie, this.LoadLastMovieContextMenuItem,
this.cmiMakeMovieBackup, this.BackupMovieContextMenuItem,
this.ContextMenuStopMovieNoSaving, this.StopNoSaveContextMenuItem,
this.cmiViewSubtitles, this.ViewSubtitlesContextMenuItem,
this.cmiAddSubtitle, this.AddSubtitleContextMenuItem,
this.cmiViewComments, this.ViewCommentsContextMenuItem,
this.saveMovieToolStripMenuItem1, this.SaveMovieContextMenuItem,
this.toolStripSeparator_afterMovie, this.ContextSeparator_AfterMovie,
this.cmiUndoSavestate, this.UndoSavestateContextMenuItem,
this.cmiSeparator20, this.ContextSeparator_AfterUndo,
this.configToolStripMenuItem1, this.ConfigContextMenuItem,
this.cmiScreenshot, this.ScreenshotContextMenuItem,
this.cmiScreenshotClipboard, this.CloseRomContextMenuItem,
this.cmiCloseRom,
this.ClearSRAMContextSeparator,
this.ClearSRAMContextMenuItem, this.ClearSRAMContextMenuItem,
this.ShowMenuContextMenuSeparator, this.ShowMenuContextMenuSeparator,
this.cmiShowMenu}); this.ShowMenuContextMenuItem});
this.contextMenuStrip1.Name = "contextMenuStrip1"; this.MainFormContextMenu.Name = "contextMenuStrip1";
this.contextMenuStrip1.Size = new System.Drawing.Size(217, 474); this.MainFormContextMenu.Size = new System.Drawing.Size(217, 446);
this.contextMenuStrip1.Closing += new System.Windows.Forms.ToolStripDropDownClosingEventHandler(this.contextMenuStrip1_Closing); this.MainFormContextMenu.Closing += new System.Windows.Forms.ToolStripDropDownClosingEventHandler(this.MainFormContextMenu_Closing);
this.contextMenuStrip1.Opening += new System.ComponentModel.CancelEventHandler(this.contextMenuStrip1_Opening); this.MainFormContextMenu.Opening += new System.ComponentModel.CancelEventHandler(this.MainFormContextMenu_Opening);
// //
// cmiOpenRom // OpenRomContextMenuItem
// //
this.cmiOpenRom.Image = global::BizHawk.MultiClient.Properties.Resources.OpenFile; this.OpenRomContextMenuItem.Image = global::BizHawk.MultiClient.Properties.Resources.OpenFile;
this.cmiOpenRom.Name = "cmiOpenRom"; this.OpenRomContextMenuItem.Name = "OpenRomContextMenuItem";
this.cmiOpenRom.Size = new System.Drawing.Size(216, 22); this.OpenRomContextMenuItem.Size = new System.Drawing.Size(216, 22);
this.cmiOpenRom.Text = "Open Rom"; this.OpenRomContextMenuItem.Text = "Open Rom";
this.cmiOpenRom.Click += new System.EventHandler(this.openRomToolStripMenuItem1_Click); this.OpenRomContextMenuItem.Click += new System.EventHandler(this.OpenRomMenuItem_Click);
// //
// cmiLoadLastRom // LoadLastRomContextMenuItem
// //
this.cmiLoadLastRom.Image = global::BizHawk.MultiClient.Properties.Resources.Recent; this.LoadLastRomContextMenuItem.Image = global::BizHawk.MultiClient.Properties.Resources.Recent;
this.cmiLoadLastRom.Name = "cmiLoadLastRom"; this.LoadLastRomContextMenuItem.Name = "LoadLastRomContextMenuItem";
this.cmiLoadLastRom.Size = new System.Drawing.Size(216, 22); this.LoadLastRomContextMenuItem.Size = new System.Drawing.Size(216, 22);
this.cmiLoadLastRom.Text = "Load Last ROM"; this.LoadLastRomContextMenuItem.Text = "Load Last ROM";
this.cmiLoadLastRom.Click += new System.EventHandler(this.loadLastROMToolStripMenuItem_Click); this.LoadLastRomContextMenuItem.Click += new System.EventHandler(this.LoadLastRomContextMenuItem_Click);
// //
// toolStripSeparator_afterRomLoading // ContextSeparator_AfterROM
// //
this.toolStripSeparator_afterRomLoading.Name = "toolStripSeparator_afterRomLoading"; this.ContextSeparator_AfterROM.Name = "ContextSeparator_AfterROM";
this.toolStripSeparator_afterRomLoading.Size = new System.Drawing.Size(213, 6); this.ContextSeparator_AfterROM.Size = new System.Drawing.Size(213, 6);
// //
// cmiRecordMovie // RecordMovieContextMenuItem
// //
this.cmiRecordMovie.Image = global::BizHawk.MultiClient.Properties.Resources.RecordHS; this.RecordMovieContextMenuItem.Image = global::BizHawk.MultiClient.Properties.Resources.RecordHS;
this.cmiRecordMovie.Name = "cmiRecordMovie"; this.RecordMovieContextMenuItem.Name = "RecordMovieContextMenuItem";
this.cmiRecordMovie.Size = new System.Drawing.Size(216, 22); this.RecordMovieContextMenuItem.Size = new System.Drawing.Size(216, 22);
this.cmiRecordMovie.Text = "Record Movie"; this.RecordMovieContextMenuItem.Text = "Record Movie";
this.cmiRecordMovie.Click += new System.EventHandler(this.recordMovieToolStripMenuItem1_Click); this.RecordMovieContextMenuItem.Click += new System.EventHandler(this.RecordMovieMenuItem_Click);
// //
// cmiPlayMovie // PlayMovieContextMenuItem
// //
this.cmiPlayMovie.Image = global::BizHawk.MultiClient.Properties.Resources.Play; this.PlayMovieContextMenuItem.Image = global::BizHawk.MultiClient.Properties.Resources.Play;
this.cmiPlayMovie.Name = "cmiPlayMovie"; this.PlayMovieContextMenuItem.Name = "PlayMovieContextMenuItem";
this.cmiPlayMovie.Size = new System.Drawing.Size(216, 22); this.PlayMovieContextMenuItem.Size = new System.Drawing.Size(216, 22);
this.cmiPlayMovie.Text = "Play Movie"; this.PlayMovieContextMenuItem.Text = "Play Movie";
this.cmiPlayMovie.Click += new System.EventHandler(this.playMovieToolStripMenuItem1_Click); this.PlayMovieContextMenuItem.Click += new System.EventHandler(this.PlayMovieMenuItem_Click);
// //
// cmiRestartMovie // RestartMovieContextMenuItem
// //
this.cmiRestartMovie.Image = global::BizHawk.MultiClient.Properties.Resources.restart; this.RestartMovieContextMenuItem.Image = global::BizHawk.MultiClient.Properties.Resources.restart;
this.cmiRestartMovie.Name = "cmiRestartMovie"; this.RestartMovieContextMenuItem.Name = "RestartMovieContextMenuItem";
this.cmiRestartMovie.Size = new System.Drawing.Size(216, 22); this.RestartMovieContextMenuItem.Size = new System.Drawing.Size(216, 22);
this.cmiRestartMovie.Text = "Restart Movie"; this.RestartMovieContextMenuItem.Text = "Restart Movie";
this.cmiRestartMovie.Click += new System.EventHandler(this.restartMovieToolStripMenuItem_Click); this.RestartMovieContextMenuItem.Click += new System.EventHandler(this.PlayFromBeginningMenuItem_Click);
// //
// cmiStopMovie // StopMovieContextMenuItem
// //
this.cmiStopMovie.Image = global::BizHawk.MultiClient.Properties.Resources.Stop; this.StopMovieContextMenuItem.Image = global::BizHawk.MultiClient.Properties.Resources.Stop;
this.cmiStopMovie.Name = "cmiStopMovie"; this.StopMovieContextMenuItem.Name = "StopMovieContextMenuItem";
this.cmiStopMovie.Size = new System.Drawing.Size(216, 22); this.StopMovieContextMenuItem.Size = new System.Drawing.Size(216, 22);
this.cmiStopMovie.Text = "Stop Movie"; this.StopMovieContextMenuItem.Text = "Stop Movie";
this.cmiStopMovie.Click += new System.EventHandler(this.stopMovieToolStripMenuItem1_Click); this.StopMovieContextMenuItem.Click += new System.EventHandler(this.StopMovieMenuItem_Click);
// //
// cmiLoadLastMovie // LoadLastMovieContextMenuItem
// //
this.cmiLoadLastMovie.Image = global::BizHawk.MultiClient.Properties.Resources.Recent; this.LoadLastMovieContextMenuItem.Image = global::BizHawk.MultiClient.Properties.Resources.Recent;
this.cmiLoadLastMovie.Name = "cmiLoadLastMovie"; this.LoadLastMovieContextMenuItem.Name = "LoadLastMovieContextMenuItem";
this.cmiLoadLastMovie.Size = new System.Drawing.Size(216, 22); this.LoadLastMovieContextMenuItem.Size = new System.Drawing.Size(216, 22);
this.cmiLoadLastMovie.Text = "Load Last Movie"; this.LoadLastMovieContextMenuItem.Text = "Load Last Movie";
this.cmiLoadLastMovie.Click += new System.EventHandler(this.loadLastMovieToolStripMenuItem_Click); this.LoadLastMovieContextMenuItem.Click += new System.EventHandler(this.LoadLastMovieContextMenuItem_Click);
// //
// cmiMakeMovieBackup // BackupMovieContextMenuItem
// //
this.cmiMakeMovieBackup.Name = "cmiMakeMovieBackup"; this.BackupMovieContextMenuItem.Name = "BackupMovieContextMenuItem";
this.cmiMakeMovieBackup.Size = new System.Drawing.Size(216, 22); this.BackupMovieContextMenuItem.Size = new System.Drawing.Size(216, 22);
this.cmiMakeMovieBackup.Text = "Make Movie Backup"; this.BackupMovieContextMenuItem.Text = "Backup Movie";
this.cmiMakeMovieBackup.Click += new System.EventHandler(this.makeMovieBackupToolStripMenuItem_Click); this.BackupMovieContextMenuItem.Click += new System.EventHandler(this.BackupMovieContextMenuItem_Click);
// //
// ContextMenuStopMovieNoSaving // StopNoSaveContextMenuItem
// //
this.ContextMenuStopMovieNoSaving.Image = global::BizHawk.MultiClient.Properties.Resources.Stop; this.StopNoSaveContextMenuItem.Image = global::BizHawk.MultiClient.Properties.Resources.Stop;
this.ContextMenuStopMovieNoSaving.Name = "ContextMenuStopMovieNoSaving"; this.StopNoSaveContextMenuItem.Name = "StopNoSaveContextMenuItem";
this.ContextMenuStopMovieNoSaving.Size = new System.Drawing.Size(216, 22); this.StopNoSaveContextMenuItem.Size = new System.Drawing.Size(216, 22);
this.ContextMenuStopMovieNoSaving.Text = "Stop Movie without Saving"; this.StopNoSaveContextMenuItem.Text = "Stop Movie without Saving";
this.ContextMenuStopMovieNoSaving.Click += new System.EventHandler(this.toolStripMenuItem6_Click); this.StopNoSaveContextMenuItem.Click += new System.EventHandler(this.StopMovieWithoutSavingMenuItem_Click);
// //
// cmiViewSubtitles // ViewSubtitlesContextMenuItem
// //
this.cmiViewSubtitles.Name = "cmiViewSubtitles"; this.ViewSubtitlesContextMenuItem.Name = "ViewSubtitlesContextMenuItem";
this.cmiViewSubtitles.Size = new System.Drawing.Size(216, 22); this.ViewSubtitlesContextMenuItem.Size = new System.Drawing.Size(216, 22);
this.cmiViewSubtitles.Text = "View Subtitles"; this.ViewSubtitlesContextMenuItem.Text = "View Subtitles";
this.cmiViewSubtitles.Click += new System.EventHandler(this.viewSubtitlesToolStripMenuItem_Click); this.ViewSubtitlesContextMenuItem.Click += new System.EventHandler(this.ViewSubtitlesContextMenuItem_Click);
// //
// cmiAddSubtitle // AddSubtitleContextMenuItem
// //
this.cmiAddSubtitle.Name = "cmiAddSubtitle"; this.AddSubtitleContextMenuItem.Name = "AddSubtitleContextMenuItem";
this.cmiAddSubtitle.Size = new System.Drawing.Size(216, 22); this.AddSubtitleContextMenuItem.Size = new System.Drawing.Size(216, 22);
this.cmiAddSubtitle.Text = "Add Subtitle"; this.AddSubtitleContextMenuItem.Text = "Add Subtitle";
this.cmiAddSubtitle.Click += new System.EventHandler(this.AddSubtitleToolStripMenuItem_Click); this.AddSubtitleContextMenuItem.Click += new System.EventHandler(this.AddSubtitleContextMenuItem_Click);
// //
// cmiViewComments // ViewCommentsContextMenuItem
// //
this.cmiViewComments.Name = "cmiViewComments"; this.ViewCommentsContextMenuItem.Name = "ViewCommentsContextMenuItem";
this.cmiViewComments.Size = new System.Drawing.Size(216, 22); this.ViewCommentsContextMenuItem.Size = new System.Drawing.Size(216, 22);
this.cmiViewComments.Text = "View Comments"; this.ViewCommentsContextMenuItem.Text = "View Comments";
this.cmiViewComments.Click += new System.EventHandler(this.viewCommentsToolStripMenuItem_Click); this.ViewCommentsContextMenuItem.Click += new System.EventHandler(this.ViewCommentsContextMenuItem_Click);
// //
// saveMovieToolStripMenuItem1 // SaveMovieContextMenuItem
// //
this.saveMovieToolStripMenuItem1.Image = global::BizHawk.MultiClient.Properties.Resources.SaveAs; this.SaveMovieContextMenuItem.Image = global::BizHawk.MultiClient.Properties.Resources.SaveAs;
this.saveMovieToolStripMenuItem1.Name = "saveMovieToolStripMenuItem1"; this.SaveMovieContextMenuItem.Name = "SaveMovieContextMenuItem";
this.saveMovieToolStripMenuItem1.Size = new System.Drawing.Size(216, 22); this.SaveMovieContextMenuItem.Size = new System.Drawing.Size(216, 22);
this.saveMovieToolStripMenuItem1.Text = "Save Movie"; this.SaveMovieContextMenuItem.Text = "Save Movie";
this.saveMovieToolStripMenuItem1.Click += new System.EventHandler(this.saveMovieToolStripMenuItem1_Click); this.SaveMovieContextMenuItem.Click += new System.EventHandler(this.SaveMovieMenuItem_Click);
// //
// toolStripSeparator_afterMovie // ContextSeparator_AfterMovie
// //
this.toolStripSeparator_afterMovie.Name = "toolStripSeparator_afterMovie"; this.ContextSeparator_AfterMovie.Name = "ContextSeparator_AfterMovie";
this.toolStripSeparator_afterMovie.Size = new System.Drawing.Size(213, 6); this.ContextSeparator_AfterMovie.Size = new System.Drawing.Size(213, 6);
// //
// cmiUndoSavestate // UndoSavestateContextMenuItem
// //
this.cmiUndoSavestate.Image = global::BizHawk.MultiClient.Properties.Resources.undo; this.UndoSavestateContextMenuItem.Image = global::BizHawk.MultiClient.Properties.Resources.undo;
this.cmiUndoSavestate.Name = "cmiUndoSavestate"; this.UndoSavestateContextMenuItem.Name = "UndoSavestateContextMenuItem";
this.cmiUndoSavestate.Size = new System.Drawing.Size(216, 22); this.UndoSavestateContextMenuItem.Size = new System.Drawing.Size(216, 22);
this.cmiUndoSavestate.Text = "Undo Savestate"; this.UndoSavestateContextMenuItem.Text = "Undo Savestate";
this.cmiUndoSavestate.Click += new System.EventHandler(this.undoSavestateToolStripMenuItem_Click); this.UndoSavestateContextMenuItem.Click += new System.EventHandler(this.UndoSavestateContextMenuItem_Click);
// //
// cmiSeparator20 // ContextSeparator_AfterUndo
// //
this.cmiSeparator20.Name = "cmiSeparator20"; this.ContextSeparator_AfterUndo.Name = "ContextSeparator_AfterUndo";
this.cmiSeparator20.Size = new System.Drawing.Size(213, 6); this.ContextSeparator_AfterUndo.Size = new System.Drawing.Size(213, 6);
// //
// configToolStripMenuItem1 // ConfigContextMenuItem
// //
this.configToolStripMenuItem1.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.ConfigContextMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.controllersToolStripMenuItem1, this.controllersToolStripMenuItem1,
this.hotkeysToolStripMenuItem1, this.hotkeysToolStripMenuItem1,
this.messagesToolStripMenuItem1, this.messagesToolStripMenuItem1,
@ -2895,15 +2891,15 @@
this.toolStripSeparator30, this.toolStripSeparator30,
this.toolStripMenuItem6, this.toolStripMenuItem6,
this.toolStripMenuItem7}); this.toolStripMenuItem7});
this.configToolStripMenuItem1.Name = "configToolStripMenuItem1"; this.ConfigContextMenuItem.Name = "ConfigContextMenuItem";
this.configToolStripMenuItem1.Size = new System.Drawing.Size(216, 22); this.ConfigContextMenuItem.Size = new System.Drawing.Size(216, 22);
this.configToolStripMenuItem1.Text = "Config"; this.ConfigContextMenuItem.Text = "Config";
// //
// controllersToolStripMenuItem1 // controllersToolStripMenuItem1
// //
this.controllersToolStripMenuItem1.Image = global::BizHawk.MultiClient.Properties.Resources.GameController; this.controllersToolStripMenuItem1.Image = global::BizHawk.MultiClient.Properties.Resources.GameController;
this.controllersToolStripMenuItem1.Name = "controllersToolStripMenuItem1"; this.controllersToolStripMenuItem1.Name = "controllersToolStripMenuItem1";
this.controllersToolStripMenuItem1.Size = new System.Drawing.Size(141, 22); this.controllersToolStripMenuItem1.Size = new System.Drawing.Size(152, 22);
this.controllersToolStripMenuItem1.Text = "&Controllers..."; this.controllersToolStripMenuItem1.Text = "&Controllers...";
this.controllersToolStripMenuItem1.Click += new System.EventHandler(this.ControllersMenuItem_Click); this.controllersToolStripMenuItem1.Click += new System.EventHandler(this.ControllersMenuItem_Click);
// //
@ -2911,7 +2907,7 @@
// //
this.hotkeysToolStripMenuItem1.Image = global::BizHawk.MultiClient.Properties.Resources.HotKeys; this.hotkeysToolStripMenuItem1.Image = global::BizHawk.MultiClient.Properties.Resources.HotKeys;
this.hotkeysToolStripMenuItem1.Name = "hotkeysToolStripMenuItem1"; this.hotkeysToolStripMenuItem1.Name = "hotkeysToolStripMenuItem1";
this.hotkeysToolStripMenuItem1.Size = new System.Drawing.Size(141, 22); this.hotkeysToolStripMenuItem1.Size = new System.Drawing.Size(152, 22);
this.hotkeysToolStripMenuItem1.Text = "&Hotkeys..."; this.hotkeysToolStripMenuItem1.Text = "&Hotkeys...";
this.hotkeysToolStripMenuItem1.Click += new System.EventHandler(this.HotkeysMenuItem_Click); this.hotkeysToolStripMenuItem1.Click += new System.EventHandler(this.HotkeysMenuItem_Click);
// //
@ -2919,23 +2915,23 @@
// //
this.messagesToolStripMenuItem1.Image = global::BizHawk.MultiClient.Properties.Resources.MessageConfig; this.messagesToolStripMenuItem1.Image = global::BizHawk.MultiClient.Properties.Resources.MessageConfig;
this.messagesToolStripMenuItem1.Name = "messagesToolStripMenuItem1"; this.messagesToolStripMenuItem1.Name = "messagesToolStripMenuItem1";
this.messagesToolStripMenuItem1.Size = new System.Drawing.Size(141, 22); this.messagesToolStripMenuItem1.Size = new System.Drawing.Size(152, 22);
this.messagesToolStripMenuItem1.Text = "&Messages..."; this.messagesToolStripMenuItem1.Text = "&Messages...";
this.messagesToolStripMenuItem1.Click += new System.EventHandler(this.messagesToolStripMenuItem1_Click); this.messagesToolStripMenuItem1.Click += new System.EventHandler(this.MessagesMenuItem_Click);
// //
// pathsToolStripMenuItem1 // pathsToolStripMenuItem1
// //
this.pathsToolStripMenuItem1.Image = global::BizHawk.MultiClient.Properties.Resources.CopyFolderHS; this.pathsToolStripMenuItem1.Image = global::BizHawk.MultiClient.Properties.Resources.CopyFolderHS;
this.pathsToolStripMenuItem1.Name = "pathsToolStripMenuItem1"; this.pathsToolStripMenuItem1.Name = "pathsToolStripMenuItem1";
this.pathsToolStripMenuItem1.Size = new System.Drawing.Size(141, 22); this.pathsToolStripMenuItem1.Size = new System.Drawing.Size(152, 22);
this.pathsToolStripMenuItem1.Text = "Paths..."; this.pathsToolStripMenuItem1.Text = "Paths...";
this.pathsToolStripMenuItem1.Click += new System.EventHandler(this.pathsToolStripMenuItem1_Click); this.pathsToolStripMenuItem1.Click += new System.EventHandler(this.PathsMenuItem_Click);
// //
// soundToolStripMenuItem1 // soundToolStripMenuItem1
// //
this.soundToolStripMenuItem1.Image = global::BizHawk.MultiClient.Properties.Resources.AudioHS; this.soundToolStripMenuItem1.Image = global::BizHawk.MultiClient.Properties.Resources.AudioHS;
this.soundToolStripMenuItem1.Name = "soundToolStripMenuItem1"; this.soundToolStripMenuItem1.Name = "soundToolStripMenuItem1";
this.soundToolStripMenuItem1.Size = new System.Drawing.Size(141, 22); this.soundToolStripMenuItem1.Size = new System.Drawing.Size(152, 22);
this.soundToolStripMenuItem1.Text = "&Sound..."; this.soundToolStripMenuItem1.Text = "&Sound...";
this.soundToolStripMenuItem1.Click += new System.EventHandler(this.SoundMenuItem_Click); this.soundToolStripMenuItem1.Click += new System.EventHandler(this.SoundMenuItem_Click);
// //
@ -2943,35 +2939,34 @@
// //
this.autofireToolStripMenuItem1.Image = global::BizHawk.MultiClient.Properties.Resources.Lightning; this.autofireToolStripMenuItem1.Image = global::BizHawk.MultiClient.Properties.Resources.Lightning;
this.autofireToolStripMenuItem1.Name = "autofireToolStripMenuItem1"; this.autofireToolStripMenuItem1.Name = "autofireToolStripMenuItem1";
this.autofireToolStripMenuItem1.Size = new System.Drawing.Size(141, 22); this.autofireToolStripMenuItem1.Size = new System.Drawing.Size(152, 22);
this.autofireToolStripMenuItem1.Text = "&Autofire..."; this.autofireToolStripMenuItem1.Text = "&Autofire...";
this.autofireToolStripMenuItem1.Click += new System.EventHandler(this.autofireToolStripMenuItem1_Click);
// //
// rewindToolStripMenuItem // rewindToolStripMenuItem
// //
this.rewindToolStripMenuItem.Image = global::BizHawk.MultiClient.Properties.Resources.Previous; this.rewindToolStripMenuItem.Image = global::BizHawk.MultiClient.Properties.Resources.Previous;
this.rewindToolStripMenuItem.Name = "rewindToolStripMenuItem"; this.rewindToolStripMenuItem.Name = "rewindToolStripMenuItem";
this.rewindToolStripMenuItem.Size = new System.Drawing.Size(141, 22); this.rewindToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
this.rewindToolStripMenuItem.Text = "&Rewind"; this.rewindToolStripMenuItem.Text = "&Rewind";
this.rewindToolStripMenuItem.Click += new System.EventHandler(this.RewindOptionsMenuItem_Click); this.rewindToolStripMenuItem.Click += new System.EventHandler(this.RewindOptionsMenuItem_Click);
// //
// firmwaresToolStripMenuItem1 // firmwaresToolStripMenuItem1
// //
this.firmwaresToolStripMenuItem1.Name = "firmwaresToolStripMenuItem1"; this.firmwaresToolStripMenuItem1.Name = "firmwaresToolStripMenuItem1";
this.firmwaresToolStripMenuItem1.Size = new System.Drawing.Size(141, 22); this.firmwaresToolStripMenuItem1.Size = new System.Drawing.Size(152, 22);
this.firmwaresToolStripMenuItem1.Text = "&Firmwares"; this.firmwaresToolStripMenuItem1.Text = "&Firmwares";
this.firmwaresToolStripMenuItem1.Click += new System.EventHandler(this.FirmwaresMenuItem_Click); this.firmwaresToolStripMenuItem1.Click += new System.EventHandler(this.FirmwaresMenuItem_Click);
// //
// toolStripSeparator30 // toolStripSeparator30
// //
this.toolStripSeparator30.Name = "toolStripSeparator30"; this.toolStripSeparator30.Name = "toolStripSeparator30";
this.toolStripSeparator30.Size = new System.Drawing.Size(138, 6); this.toolStripSeparator30.Size = new System.Drawing.Size(149, 6);
// //
// toolStripMenuItem6 // toolStripMenuItem6
// //
this.toolStripMenuItem6.Image = global::BizHawk.MultiClient.Properties.Resources.Save; this.toolStripMenuItem6.Image = global::BizHawk.MultiClient.Properties.Resources.Save;
this.toolStripMenuItem6.Name = "toolStripMenuItem6"; this.toolStripMenuItem6.Name = "toolStripMenuItem6";
this.toolStripMenuItem6.Size = new System.Drawing.Size(141, 22); this.toolStripMenuItem6.Size = new System.Drawing.Size(152, 22);
this.toolStripMenuItem6.Text = "Save Config"; this.toolStripMenuItem6.Text = "Save Config";
this.toolStripMenuItem6.Click += new System.EventHandler(this.SaveConfigMenuItem_Click); this.toolStripMenuItem6.Click += new System.EventHandler(this.SaveConfigMenuItem_Click);
// //
@ -2979,37 +2974,25 @@
// //
this.toolStripMenuItem7.Image = global::BizHawk.MultiClient.Properties.Resources.LoadConfig; this.toolStripMenuItem7.Image = global::BizHawk.MultiClient.Properties.Resources.LoadConfig;
this.toolStripMenuItem7.Name = "toolStripMenuItem7"; this.toolStripMenuItem7.Name = "toolStripMenuItem7";
this.toolStripMenuItem7.Size = new System.Drawing.Size(141, 22); this.toolStripMenuItem7.Size = new System.Drawing.Size(152, 22);
this.toolStripMenuItem7.Text = "Load Config"; this.toolStripMenuItem7.Text = "Load Config";
this.toolStripMenuItem7.Click += new System.EventHandler(this.LoadConfigMenuItem_Click); this.toolStripMenuItem7.Click += new System.EventHandler(this.LoadConfigMenuItem_Click);
// //
// cmiScreenshot // ScreenshotContextMenuItem
// //
this.cmiScreenshot.Image = global::BizHawk.MultiClient.Properties.Resources.camera; this.ScreenshotContextMenuItem.Image = global::BizHawk.MultiClient.Properties.Resources.camera;
this.cmiScreenshot.Name = "cmiScreenshot"; this.ScreenshotContextMenuItem.Name = "ScreenshotContextMenuItem";
this.cmiScreenshot.Size = new System.Drawing.Size(216, 22); this.ScreenshotContextMenuItem.Size = new System.Drawing.Size(216, 22);
this.cmiScreenshot.Text = "Screenshot"; this.ScreenshotContextMenuItem.Text = "Screenshot";
this.ScreenshotContextMenuItem.Click += new System.EventHandler(this.ScreenshotMenuItem_Click);
// //
// cmiScreenshotClipboard // CloseRomContextMenuItem
// //
this.cmiScreenshotClipboard.Image = global::BizHawk.MultiClient.Properties.Resources.camera; this.CloseRomContextMenuItem.Image = global::BizHawk.MultiClient.Properties.Resources.Close;
this.cmiScreenshotClipboard.Name = "cmiScreenshotClipboard"; this.CloseRomContextMenuItem.Name = "CloseRomContextMenuItem";
this.cmiScreenshotClipboard.Size = new System.Drawing.Size(216, 22); this.CloseRomContextMenuItem.Size = new System.Drawing.Size(216, 22);
this.cmiScreenshotClipboard.Text = "Screenshot -> Clipboard"; this.CloseRomContextMenuItem.Text = "Close ROM";
this.cmiScreenshotClipboard.Click += new System.EventHandler(this.screenshotToClipboardToolStripMenuItem_Click); this.CloseRomContextMenuItem.Click += new System.EventHandler(this.CloseRomMenuItem_Click);
//
// cmiCloseRom
//
this.cmiCloseRom.Image = global::BizHawk.MultiClient.Properties.Resources.Close;
this.cmiCloseRom.Name = "cmiCloseRom";
this.cmiCloseRom.Size = new System.Drawing.Size(216, 22);
this.cmiCloseRom.Text = "Close ROM";
this.cmiCloseRom.Click += new System.EventHandler(this.closeROMToolStripMenuItem1_Click);
//
// ClearSRAMContextSeparator
//
this.ClearSRAMContextSeparator.Name = "ClearSRAMContextSeparator";
this.ClearSRAMContextSeparator.Size = new System.Drawing.Size(213, 6);
// //
// ClearSRAMContextMenuItem // ClearSRAMContextMenuItem
// //
@ -3023,12 +3006,12 @@
this.ShowMenuContextMenuSeparator.Name = "ShowMenuContextMenuSeparator"; this.ShowMenuContextMenuSeparator.Name = "ShowMenuContextMenuSeparator";
this.ShowMenuContextMenuSeparator.Size = new System.Drawing.Size(213, 6); this.ShowMenuContextMenuSeparator.Size = new System.Drawing.Size(213, 6);
// //
// cmiShowMenu // ShowMenuContextMenuItem
// //
this.cmiShowMenu.Name = "cmiShowMenu"; this.ShowMenuContextMenuItem.Name = "ShowMenuContextMenuItem";
this.cmiShowMenu.Size = new System.Drawing.Size(216, 22); this.ShowMenuContextMenuItem.Size = new System.Drawing.Size(216, 22);
this.cmiShowMenu.Text = "Show Menu"; this.ShowMenuContextMenuItem.Text = "Show Menu";
this.cmiShowMenu.Click += new System.EventHandler(this.showMenuToolStripMenuItem_Click); this.ShowMenuContextMenuItem.Click += new System.EventHandler(this.ShowMenuContextMenuItem_Click);
// //
// MainForm // MainForm
// //
@ -3052,7 +3035,7 @@
this.MainformMenu.PerformLayout(); this.MainformMenu.PerformLayout();
this.StatusSlot0.ResumeLayout(false); this.StatusSlot0.ResumeLayout(false);
this.StatusSlot0.PerformLayout(); this.StatusSlot0.PerformLayout();
this.contextMenuStrip1.ResumeLayout(false); this.MainFormContextMenu.ResumeLayout(false);
this.ResumeLayout(false); this.ResumeLayout(false);
this.PerformLayout(); this.PerformLayout();
@ -3211,26 +3194,25 @@
private System.Windows.Forms.ToolStripMenuItem DisplayStatusBarMenuItem; private System.Windows.Forms.ToolStripMenuItem DisplayStatusBarMenuItem;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator17; private System.Windows.Forms.ToolStripSeparator toolStripSeparator17;
private System.Windows.Forms.ToolStripMenuItem NESGraphicSettingsMenuItem; private System.Windows.Forms.ToolStripMenuItem NESGraphicSettingsMenuItem;
private System.Windows.Forms.ContextMenuStrip contextMenuStrip1; private System.Windows.Forms.ContextMenuStrip MainFormContextMenu;
private System.Windows.Forms.ToolStripMenuItem cmiOpenRom; private System.Windows.Forms.ToolStripMenuItem OpenRomContextMenuItem;
private System.Windows.Forms.ToolStripMenuItem cmiLoadLastRom; private System.Windows.Forms.ToolStripMenuItem LoadLastRomContextMenuItem;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator_afterRomLoading; private System.Windows.Forms.ToolStripSeparator ContextSeparator_AfterROM;
private System.Windows.Forms.ToolStripMenuItem cmiRecordMovie; private System.Windows.Forms.ToolStripMenuItem RecordMovieContextMenuItem;
private System.Windows.Forms.ToolStripMenuItem cmiPlayMovie; private System.Windows.Forms.ToolStripMenuItem PlayMovieContextMenuItem;
private System.Windows.Forms.ToolStripMenuItem cmiLoadLastMovie; private System.Windows.Forms.ToolStripMenuItem LoadLastMovieContextMenuItem;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator_afterMovie; private System.Windows.Forms.ToolStripSeparator ContextSeparator_AfterMovie;
private System.Windows.Forms.ToolStripMenuItem cmiAddSubtitle; private System.Windows.Forms.ToolStripMenuItem AddSubtitleContextMenuItem;
private System.Windows.Forms.ToolStripMenuItem cmiUndoSavestate; private System.Windows.Forms.ToolStripMenuItem UndoSavestateContextMenuItem;
private System.Windows.Forms.ToolStripSeparator cmiSeparator20; private System.Windows.Forms.ToolStripSeparator ContextSeparator_AfterUndo;
private System.Windows.Forms.ToolStripMenuItem cmiScreenshotClipboard; private System.Windows.Forms.ToolStripMenuItem CloseRomContextMenuItem;
private System.Windows.Forms.ToolStripMenuItem cmiCloseRom; private System.Windows.Forms.ToolStripMenuItem BackupMovieContextMenuItem;
private System.Windows.Forms.ToolStripMenuItem cmiMakeMovieBackup;
private System.Windows.Forms.ToolStripMenuItem AutomaticallyBackupMoviesMenuItem; private System.Windows.Forms.ToolStripMenuItem AutomaticallyBackupMoviesMenuItem;
private System.Windows.Forms.ToolStripMenuItem cmiStopMovie; private System.Windows.Forms.ToolStripMenuItem StopMovieContextMenuItem;
private System.Windows.Forms.ToolStripDropDownButton PauseStrip; private System.Windows.Forms.ToolStripDropDownButton PauseStrip;
private System.Windows.Forms.ToolStripDropDownButton PlayRecordStatus; private System.Windows.Forms.ToolStripDropDownButton PlayRecordStatus;
private System.Windows.Forms.ToolStripDropDownButton DumpStatus; private System.Windows.Forms.ToolStripDropDownButton DumpStatus;
private System.Windows.Forms.ToolStripMenuItem cmiViewSubtitles; private System.Windows.Forms.ToolStripMenuItem ViewSubtitlesContextMenuItem;
private MenuStripEx MainformMenu; private MenuStripEx MainformMenu;
private System.Windows.Forms.ToolStripMenuItem GBSubMenu; private System.Windows.Forms.ToolStripMenuItem GBSubMenu;
private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel1; private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel1;
@ -3244,14 +3226,14 @@
private System.Windows.Forms.ToolStripStatusLabel StatusSlot8; private System.Windows.Forms.ToolStripStatusLabel StatusSlot8;
private System.Windows.Forms.ToolStripStatusLabel StatusSlot9; private System.Windows.Forms.ToolStripStatusLabel StatusSlot9;
private System.Windows.Forms.ToolStripStatusLabel StatusSlot10; private System.Windows.Forms.ToolStripStatusLabel StatusSlot10;
private System.Windows.Forms.ToolStripMenuItem cmiViewComments; private System.Windows.Forms.ToolStripMenuItem ViewCommentsContextMenuItem;
private System.Windows.Forms.ToolStripMenuItem DisplayLogWindowMenuItem; private System.Windows.Forms.ToolStripMenuItem DisplayLogWindowMenuItem;
private System.Windows.Forms.ToolStripMenuItem DisplaySubtitlesMenuItem; private System.Windows.Forms.ToolStripMenuItem DisplaySubtitlesMenuItem;
private System.Windows.Forms.ToolStripMenuItem AVSubMenu; private System.Windows.Forms.ToolStripMenuItem AVSubMenu;
private System.Windows.Forms.ToolStripMenuItem RecordAVMenuItem; private System.Windows.Forms.ToolStripMenuItem RecordAVMenuItem;
private System.Windows.Forms.ToolStripMenuItem StopAVIMenuItem; private System.Windows.Forms.ToolStripMenuItem StopAVIMenuItem;
private System.Windows.Forms.ToolStripStatusLabel AVIStatusLabel; private System.Windows.Forms.ToolStripStatusLabel AVIStatusLabel;
private System.Windows.Forms.ToolStripMenuItem cmiRestartMovie; private System.Windows.Forms.ToolStripMenuItem RestartMovieContextMenuItem;
private System.Windows.Forms.ToolStripStatusLabel CheatStatus; private System.Windows.Forms.ToolStripStatusLabel CheatStatus;
private System.Windows.Forms.ToolStripMenuItem AutofireMenuItem; private System.Windows.Forms.ToolStripMenuItem AutofireMenuItem;
private System.Windows.Forms.ToolStripMenuItem AutoloadLastSlotMenuItem; private System.Windows.Forms.ToolStripMenuItem AutoloadLastSlotMenuItem;
@ -3260,7 +3242,7 @@
private System.Windows.Forms.ToolStripSeparator toolStripSeparator23; private System.Windows.Forms.ToolStripSeparator toolStripSeparator23;
private System.Windows.Forms.ToolStripMenuItem LogWindowAsConsoleMenuItem; private System.Windows.Forms.ToolStripMenuItem LogWindowAsConsoleMenuItem;
private System.Windows.Forms.ToolStripMenuItem ShowMenuInFullScreenMenuItem; private System.Windows.Forms.ToolStripMenuItem ShowMenuInFullScreenMenuItem;
private System.Windows.Forms.ToolStripMenuItem cmiShowMenu; private System.Windows.Forms.ToolStripMenuItem ShowMenuContextMenuItem;
private System.Windows.Forms.ToolStripMenuItem ImportMoviesMenuItem; private System.Windows.Forms.ToolStripMenuItem ImportMoviesMenuItem;
private System.Windows.Forms.ToolStripMenuItem ForumsMenuItem; private System.Windows.Forms.ToolStripMenuItem ForumsMenuItem;
private System.Windows.Forms.ToolStripMenuItem ScreenshotClipboardMenuItem; private System.Windows.Forms.ToolStripMenuItem ScreenshotClipboardMenuItem;
@ -3277,7 +3259,7 @@
private System.Windows.Forms.ToolStripMenuItem SMSForceStereoMenuItem; private System.Windows.Forms.ToolStripMenuItem SMSForceStereoMenuItem;
private System.Windows.Forms.ToolStripMenuItem SMSSpriteLimitMenuItem; private System.Windows.Forms.ToolStripMenuItem SMSSpriteLimitMenuItem;
private System.Windows.Forms.ToolStripMenuItem PCEBGViewerMenuItem; private System.Windows.Forms.ToolStripMenuItem PCEBGViewerMenuItem;
private System.Windows.Forms.ToolStripMenuItem cmiScreenshot; private System.Windows.Forms.ToolStripMenuItem ScreenshotContextMenuItem;
private System.Windows.Forms.ToolStripMenuItem AtariSubMenu; private System.Windows.Forms.ToolStripMenuItem AtariSubMenu;
private System.Windows.Forms.ToolStripMenuItem AtariBWMenuItem; private System.Windows.Forms.ToolStripMenuItem AtariBWMenuItem;
private System.Windows.Forms.ToolStripMenuItem AtariLeftDifficultyMenuItem; private System.Windows.Forms.ToolStripMenuItem AtariLeftDifficultyMenuItem;
@ -3329,7 +3311,7 @@
private System.Windows.Forms.ToolStripMenuItem HighlightActiveDisplayRegionMenuItem; private System.Windows.Forms.ToolStripMenuItem HighlightActiveDisplayRegionMenuItem;
private System.Windows.Forms.ToolStripMenuItem NESSpecialControlsMenuItem; private System.Windows.Forms.ToolStripMenuItem NESSpecialControlsMenuItem;
private System.Windows.Forms.ToolStripMenuItem SaveMovieMenuItem; private System.Windows.Forms.ToolStripMenuItem SaveMovieMenuItem;
private System.Windows.Forms.ToolStripMenuItem saveMovieToolStripMenuItem1; private System.Windows.Forms.ToolStripMenuItem SaveMovieContextMenuItem;
private System.Windows.Forms.ToolStripMenuItem VirtualPadMenuItem; private System.Windows.Forms.ToolStripMenuItem VirtualPadMenuItem;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator26; private System.Windows.Forms.ToolStripSeparator toolStripSeparator26;
private System.Windows.Forms.ToolStripMenuItem AtariShowBGMenuItem; private System.Windows.Forms.ToolStripMenuItem AtariShowBGMenuItem;
@ -3356,7 +3338,7 @@
private System.Windows.Forms.ToolStripStatusLabel KeyPriorityStatusBarLabel; private System.Windows.Forms.ToolStripStatusLabel KeyPriorityStatusBarLabel;
private System.Windows.Forms.ToolStripMenuItem SnesOptionsMenuItem; private System.Windows.Forms.ToolStripMenuItem SnesOptionsMenuItem;
private System.Windows.Forms.ToolStripMenuItem FullMovieLoadstatesMenuItem; private System.Windows.Forms.ToolStripMenuItem FullMovieLoadstatesMenuItem;
private System.Windows.Forms.ToolStripMenuItem ContextMenuStopMovieNoSaving; private System.Windows.Forms.ToolStripMenuItem StopNoSaveContextMenuItem;
private System.Windows.Forms.ToolStripMenuItem StopMovieWithoutSavingMenuItem; private System.Windows.Forms.ToolStripMenuItem StopMovieWithoutSavingMenuItem;
private System.Windows.Forms.ToolStripMenuItem SnesGameGenieMenuItem; private System.Windows.Forms.ToolStripMenuItem SnesGameGenieMenuItem;
private System.Windows.Forms.ToolStripMenuItem GBGameGenieMenuItem; private System.Windows.Forms.ToolStripMenuItem GBGameGenieMenuItem;
@ -3371,7 +3353,7 @@
private System.Windows.Forms.ToolStripMenuItem SavestateTextMenuItem; private System.Windows.Forms.ToolStripMenuItem SavestateTextMenuItem;
private System.Windows.Forms.ToolStripMenuItem SaturnSubMenu; private System.Windows.Forms.ToolStripMenuItem SaturnSubMenu;
private System.Windows.Forms.ToolStripMenuItem SaturnPreferencesMenuItem; private System.Windows.Forms.ToolStripMenuItem SaturnPreferencesMenuItem;
private System.Windows.Forms.ToolStripMenuItem configToolStripMenuItem1; private System.Windows.Forms.ToolStripMenuItem ConfigContextMenuItem;
private System.Windows.Forms.ToolStripMenuItem controllersToolStripMenuItem1; private System.Windows.Forms.ToolStripMenuItem controllersToolStripMenuItem1;
private System.Windows.Forms.ToolStripMenuItem hotkeysToolStripMenuItem1; private System.Windows.Forms.ToolStripMenuItem hotkeysToolStripMenuItem1;
private System.Windows.Forms.ToolStripMenuItem messagesToolStripMenuItem1; private System.Windows.Forms.ToolStripMenuItem messagesToolStripMenuItem1;
@ -3383,7 +3365,6 @@
private System.Windows.Forms.ToolStripMenuItem FirmwaresMenuItem; private System.Windows.Forms.ToolStripMenuItem FirmwaresMenuItem;
private System.Windows.Forms.ToolStripMenuItem LoadTIFileMenuItem; private System.Windows.Forms.ToolStripMenuItem LoadTIFileMenuItem;
private System.Windows.Forms.ToolStripMenuItem ClearSRAMContextMenuItem; private System.Windows.Forms.ToolStripMenuItem ClearSRAMContextMenuItem;
private System.Windows.Forms.ToolStripSeparator ClearSRAMContextSeparator;
private System.Windows.Forms.ToolStripSeparator ShowMenuContextMenuSeparator; private System.Windows.Forms.ToolStripSeparator ShowMenuContextMenuSeparator;
private System.Windows.Forms.ToolStripMenuItem firmwaresToolStripMenuItem1; private System.Windows.Forms.ToolStripMenuItem firmwaresToolStripMenuItem1;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator30; private System.Windows.Forms.ToolStripSeparator toolStripSeparator30;

View File

@ -432,7 +432,7 @@ namespace BizHawk.MultiClient
SaveMovie(); SaveMovie();
} }
private void stopMovieWithoutSaveMenuItem_Click(object sender, EventArgs e) private void StopMovieWithoutSavingMenuItem_Click(object sender, EventArgs e)
{ {
StopMovie(true); StopMovie(true);
} }
@ -1776,72 +1776,150 @@ namespace BizHawk.MultiClient
#endregion #endregion
private void DumpStatus_Click(object sender, EventArgs e) #region Context Menu
private void MainFormContextMenu_Opening(object sender, System.ComponentModel.CancelEventArgs e)
{ {
string details = Global.Emulator.CoreComm.RomStatusDetails; wasPaused = EmulatorPaused;
if (string.IsNullOrEmpty(details)) return; didMenuPause = true;
GlobalWinF.Sound.StopSound(); PauseEmulator();
LogWindow.ShowReport("Dump Status Report", details, this);
GlobalWinF.Sound.StartSound();
}
OpenRomContextMenuItem.Visible = IsNullEmulator() || InFullscreen;
ShowMenuContextMenuItem.Visible =
ShowMenuContextMenuSeparator.Visible =
InFullscreen;
public void RebootCore() LoadLastRomContextMenuItem.Visible =
{ IsNullEmulator();
LoadRom(CurrentlyOpenRom);
} ContextSeparator_AfterMovie.Visible =
ContextSeparator_AfterUndo.Visible =
ScreenshotContextMenuItem.Visible =
CloseRomContextMenuItem.Visible =
UndoSavestateContextMenuItem.Visible =
!IsNullEmulator();
RecordMovieContextMenuItem.Visible =
PlayMovieContextMenuItem.Visible =
LoadLastMovieContextMenuItem.Visible =
!IsNullEmulator() && !Global.MovieSession.Movie.IsActive;
RestartMovieContextMenuItem.Visible =
StopMovieContextMenuItem.Visible =
BackupMovieContextMenuItem.Visible =
ViewSubtitlesContextMenuItem.Visible =
ViewCommentsContextMenuItem.Visible =
SaveMovieContextMenuItem.Visible =
Global.MovieSession.Movie.IsActive;
StopNoSaveContextMenuItem.Visible = Global.MovieSession.Movie.IsActive && Global.MovieSession.Movie.HasChanges;
AddSubtitleContextMenuItem.Visible = !IsNullEmulator() && Global.MovieSession.Movie.IsActive && ReadOnly;
private void MainForm_Shown(object sender, EventArgs e) ConfigContextMenuItem.Visible = InFullscreen;
{
HandlePlatformMenus(); ClearSRAMContextMenuItem.Visible = File.Exists(PathManager.SaveRamPath(Global.Game));
}
ContextSeparator_AfterROM.Visible = OpenRomContextMenuItem.Visible || LoadLastRomContextMenuItem.Visible;
LoadLastRomContextMenuItem.Enabled = !Global.Config.RecentRoms.Empty;
LoadLastMovieContextMenuItem.Enabled = !Global.Config.RecentMovies.Empty;
if (Global.MovieSession.Movie.IsActive)
public void MainForm_MouseClick(object sender, MouseEventArgs e)
{
if (Global.Config.ShowContextMenu && e.Button == MouseButtons.Right)
{ {
Point p = new Point(e.X, e.Y + MainformMenu.Height); if (ReadOnly)
Point po = PointToScreen(p); {
contextMenuStrip1.Show(po); ViewSubtitlesContextMenuItem.Text = "View Subtitles";
ViewCommentsContextMenuItem.Text = "View Comments";
}
else
{
ViewSubtitlesContextMenuItem.Text = "Edit Subtitles";
ViewCommentsContextMenuItem.Text = "Edit Comments";
}
}
var file = new FileInfo(
PathManager.SaveStatePrefix(Global.Game) +
".QuickSave" +
Global.Config.SaveSlot +
".State.bak"
);
if (file.Exists)
{
UndoSavestateContextMenuItem.Enabled = true;
if (StateSlots.IsRedo(Global.Config.SaveSlot))
{
UndoSavestateContextMenuItem.Text = "Redo Save to slot " + Global.Config.SaveSlot.ToString();
UndoSavestateContextMenuItem.Image = Properties.Resources.redo;
}
else
{
UndoSavestateContextMenuItem.Text = "Undo Save to slot " + Global.Config.SaveSlot.ToString();
UndoSavestateContextMenuItem.Image = Properties.Resources.undo;
}
}
else
{
UndoSavestateContextMenuItem.Enabled = false;
UndoSavestateContextMenuItem.Text = "Undo Savestate";
UndoSavestateContextMenuItem.Image = Properties.Resources.undo;
}
if (InFullscreen)
{
if (MainMenuStrip.Visible)
{
ShowMenuContextMenuItem.Text = "Hide Menu";
}
else
{
ShowMenuContextMenuItem.Text = "Show Menu";
}
} }
} }
private void openRomToolStripMenuItem1_Click(object sender, EventArgs e) private void MainFormContextMenu_Closing(object sender, ToolStripDropDownClosingEventArgs e)
{ {
OpenROM(); if (!wasPaused)
{
UnpauseEmulator();
}
} }
private void loadLastROMToolStripMenuItem_Click(object sender, EventArgs e) private void LoadLastRomContextMenuItem_Click(object sender, EventArgs e)
{ {
LoadRomFromRecent(Global.Config.RecentRoms[0]); LoadRomFromRecent(Global.Config.RecentRoms[0]);
} }
private void recordMovieToolStripMenuItem1_Click(object sender, EventArgs e) private void LoadLastMovieContextMenuItem_Click(object sender, EventArgs e)
{
RecordMovie();
}
private void playMovieToolStripMenuItem1_Click(object sender, EventArgs e)
{
PlayMovie();
}
private void loadLastMovieToolStripMenuItem_Click(object sender, EventArgs e)
{ {
LoadMoviesFromRecent(Global.Config.RecentMovies[0]); LoadMoviesFromRecent(Global.Config.RecentMovies[0]);
} }
private void AddSubtitleToolStripMenuItem_Click(object sender, EventArgs e) private void BackupMovieContextMenuItem_Click(object sender, EventArgs e)
{ {
SubtitleMaker s = new SubtitleMaker(); GlobalWinF.OSD.AddMessage("Backup movie saved.");
s.DisableFrame(); Global.MovieSession.Movie.WriteBackup();
}
private void ViewSubtitlesContextMenuItem_Click(object sender, EventArgs e)
{
if (Global.MovieSession.Movie.IsActive)
{
EditSubtitlesForm form = new EditSubtitlesForm { ReadOnly = ReadOnly };
form.GetMovie(Global.MovieSession.Movie);
form.ShowDialog();
}
}
private void AddSubtitleContextMenuItem_Click(object sender, EventArgs e)
{
SubtitleMaker subForm = new SubtitleMaker();
subForm.DisableFrame();
int index = -1; int index = -1;
Subtitle sub = new Subtitle(); Subtitle sub = new Subtitle();
for (int x = 0; x < Global.MovieSession.Movie.Subtitles.Count; x++) for (int x = 0; x < Global.MovieSession.Movie.Subtitles.Count; x++)
@ -1853,190 +1931,76 @@ namespace BizHawk.MultiClient
break; break;
} }
} }
if (index < 0) if (index < 0)
{ {
sub = new Subtitle { Frame = Global.Emulator.Frame }; sub = new Subtitle { Frame = Global.Emulator.Frame };
} }
s.sub = sub;
if (s.ShowDialog() == DialogResult.OK) subForm.sub = sub;
if (subForm.ShowDialog() == DialogResult.OK)
{ {
if (index >= 0) if (index >= 0)
{
Global.MovieSession.Movie.Subtitles.RemoveAt(index); Global.MovieSession.Movie.Subtitles.RemoveAt(index);
Global.MovieSession.Movie.Subtitles.AddSubtitle(s.sub);
}
}
private void closeROMToolStripMenuItem1_Click(object sender, EventArgs e)
{
CloseROM();
}
private void screenshotToClipboardToolStripMenuItem_Click(object sender, EventArgs e)
{
TakeScreenshotToClipboard();
}
private void restartMovieToolStripMenuItem_Click(object sender, EventArgs e)
{
PlayMovieFromBeginning();
}
private void contextMenuStrip1_Opening(object sender, System.ComponentModel.CancelEventArgs e)
{
ClearSRAMContextSeparator.Visible =
ClearSRAMContextMenuItem.Visible
= File.Exists(PathManager.SaveRamPath(Global.Game));
wasPaused = EmulatorPaused;
didMenuPause = true;
PauseEmulator();
//TODO - MUST refactor this to hide all and then view a set depending on the state
configToolStripMenuItem1.Visible = InFullscreen;
if (IsNullEmulator())
{
cmiOpenRom.Visible = true;
cmiLoadLastRom.Visible = true;
toolStripSeparator_afterRomLoading.Visible = false;
cmiRecordMovie.Visible = false;
cmiPlayMovie.Visible = false;
cmiRestartMovie.Visible = false;
cmiStopMovie.Visible = false;
cmiLoadLastMovie.Visible = false;
cmiMakeMovieBackup.Visible = false;
cmiViewSubtitles.Visible = false;
cmiViewComments.Visible = false;
toolStripSeparator_afterMovie.Visible = false;
cmiAddSubtitle.Visible = false;
cmiUndoSavestate.Visible = false;
cmiSeparator20.Visible = false;
cmiScreenshot.Visible = false;
cmiScreenshotClipboard.Visible = false;
cmiCloseRom.Visible = false;
cmiShowMenu.Visible = false;
ShowMenuContextMenuSeparator.Visible = false;
saveMovieToolStripMenuItem1.Visible = false;
}
else
{
cmiOpenRom.Visible = InFullscreen;
configToolStripMenuItem1.Visible = InFullscreen;
cmiLoadLastRom.Visible = false;
toolStripSeparator_afterRomLoading.Visible = false;
if (Global.MovieSession.Movie.IsActive)
{
cmiRecordMovie.Visible = false;
cmiPlayMovie.Visible = false;
cmiRestartMovie.Visible = true;
cmiStopMovie.Visible = true;
cmiLoadLastMovie.Visible = false;
cmiMakeMovieBackup.Visible = true;
cmiViewSubtitles.Visible = true;
cmiViewComments.Visible = true;
saveMovieToolStripMenuItem1.Visible = true;
toolStripSeparator_afterMovie.Visible = true;
if (ReadOnly)
{
cmiViewSubtitles.Text = "View Subtitles";
cmiViewComments.Text = "View Comments";
cmiAddSubtitle.Visible = false;
}
else
{
cmiViewSubtitles.Text = "Edit Subtitles";
cmiViewComments.Text = "Edit Comments";
cmiAddSubtitle.Visible = true;
}
}
else
{
cmiRecordMovie.Visible = true;
cmiPlayMovie.Visible = true;
cmiRestartMovie.Visible = false;
cmiStopMovie.Visible = false;
cmiLoadLastMovie.Visible = true;
cmiMakeMovieBackup.Visible = false;
cmiViewSubtitles.Visible = false;
cmiViewComments.Visible = false;
toolStripSeparator_afterMovie.Visible = true;
cmiAddSubtitle.Visible = false;
saveMovieToolStripMenuItem1.Visible = false;
} }
cmiUndoSavestate.Visible = true; Global.MovieSession.Movie.Subtitles.AddSubtitle(subForm.sub);
cmiSeparator20.Visible = true;
cmiScreenshot.Visible = true;
cmiScreenshotClipboard.Visible = true;
cmiCloseRom.Visible = true;
}
cmiLoadLastRom.Enabled = !Global.Config.RecentRoms.Empty;
cmiLoadLastMovie.Enabled = !Global.Config.RecentMovies.Empty;
string path = PathManager.SaveStatePrefix(Global.Game) + "." + "QuickSave" + Global.Config.SaveSlot + ".State.bak";
var file = new FileInfo(path);
if (file.Exists)
{
if (StateSlots.IsRedo(Global.Config.SaveSlot))
{
cmiUndoSavestate.Enabled = true;
cmiUndoSavestate.Text = "Redo Save to slot " + Global.Config.SaveSlot.ToString();
cmiUndoSavestate.Image = Properties.Resources.redo;
}
else
{
cmiUndoSavestate.Enabled = true;
cmiUndoSavestate.Text = "Undo Save to slot " + Global.Config.SaveSlot.ToString();
cmiUndoSavestate.Image = Properties.Resources.undo;
}
}
else
{
cmiUndoSavestate.Enabled = false;
cmiUndoSavestate.Text = "Undo Savestate";
cmiUndoSavestate.Image = Properties.Resources.undo;
}
if (InFullscreen)
{
ShowMenuContextMenuSeparator.Visible = cmiShowMenu.Visible = true;
if (MainMenuStrip.Visible)
cmiShowMenu.Text = "Hide Menu";
else
cmiShowMenu.Text = "Show Menu";
}
else
{
ShowMenuContextMenuSeparator.Visible = cmiShowMenu.Visible = false;
}
ContextMenuStopMovieNoSaving.Visible = Global.MovieSession.Movie.IsActive && Global.MovieSession.Movie.HasChanges;
}
private void contextMenuStrip1_Closing(object sender, ToolStripDropDownClosingEventArgs e)
{
if (!wasPaused)
{
UnpauseEmulator();
} }
} }
private void makeMovieBackupToolStripMenuItem_Click(object sender, EventArgs e) private void ViewCommentsContextMenuItem_Click(object sender, EventArgs e)
{ {
GlobalWinF.OSD.AddMessage("Backup movie saved."); if (Global.MovieSession.Movie.IsActive)
Global.MovieSession.Movie.WriteBackup(); {
EditCommentsForm form = new EditCommentsForm { ReadOnly = ReadOnly };
form.GetMovie(Global.MovieSession.Movie);
form.ShowDialog();
}
} }
private void stopMovieToolStripMenuItem1_Click(object sender, EventArgs e) private void UndoSavestateContextMenuItem_Click(object sender, EventArgs e)
{ {
StopMovie(); SwapBackupSavestate(
PathManager.SaveStatePrefix(Global.Game) +
".QuickSave" +
Global.Config.SaveSlot +
".State"
);
GlobalWinF.OSD.AddMessage("Save slot " + Global.Config.SaveSlot + " restored.");
}
private void ShowMenuContextMenuItem_Click(object sender, EventArgs e)
{
ShowHideMenu();
}
#endregion
private void DumpStatus_Click(object sender, EventArgs e)
{
string details = Global.Emulator.CoreComm.RomStatusDetails;
if (string.IsNullOrEmpty(details)) return;
GlobalWinF.Sound.StopSound();
LogWindow.ShowReport("Dump Status Report", details, this);
GlobalWinF.Sound.StartSound();
}
private void MainForm_Shown(object sender, EventArgs e)
{
HandlePlatformMenus();
}
public void MainForm_MouseClick(object sender, MouseEventArgs e)
{
if (Global.Config.ShowContextMenu && e.Button == MouseButtons.Right)
{
Point p = new Point(e.X, e.Y + MainformMenu.Height);
Point po = PointToScreen(p);
MainFormContextMenu.Show(po);
}
} }
private void PauseStrip_Click(object sender, EventArgs e) private void PauseStrip_Click(object sender, EventArgs e)
@ -2044,26 +2008,6 @@ namespace BizHawk.MultiClient
TogglePause(); TogglePause();
} }
private void viewCommentsToolStripMenuItem_Click(object sender, EventArgs e)
{
if (Global.MovieSession.Movie.IsActive)
{
EditCommentsForm c = new EditCommentsForm { ReadOnly = ReadOnly };
c.GetMovie(Global.MovieSession.Movie);
c.ShowDialog();
}
}
private void viewSubtitlesToolStripMenuItem_Click(object sender, EventArgs e)
{
if (Global.MovieSession.Movie.IsActive)
{
EditSubtitlesForm s = new EditSubtitlesForm { ReadOnly = ReadOnly };
s.GetMovie(Global.MovieSession.Movie);
s.ShowDialog();
}
}
private void MainForm_Deactivate(object sender, EventArgs e) private void MainForm_Deactivate(object sender, EventArgs e)
{ {
if (!Global.Config.RunInBackground) if (!Global.Config.RunInBackground)
@ -2118,13 +2062,6 @@ namespace BizHawk.MultiClient
base.OnClosed(e); base.OnClosed(e);
} }
private void undoSavestateToolStripMenuItem_Click(object sender, EventArgs e)
{
string path = PathManager.SaveStatePrefix(Global.Game) + "." + "QuickSave" + Global.Config.SaveSlot + ".State";
SwapBackupSavestate(path);
GlobalWinF.OSD.AddMessage("Save slot " + Global.Config.SaveSlot.ToString() + " restored.");
}
private void FreezeStatus_Click(object sender, EventArgs e) private void FreezeStatus_Click(object sender, EventArgs e)
{ {
if (CheatStatus.Visible) if (CheatStatus.Visible)
@ -2133,220 +2070,6 @@ namespace BizHawk.MultiClient
} }
} }
public void UpdateCheatStatus()
{
if (Global.CheatList.ActiveCount > 0)
{
CheatStatus.ToolTipText = "Cheats are currently active";
CheatStatus.Image = Properties.Resources.Freeze;
CheatStatus.Visible = true;
}
else
{
CheatStatus.ToolTipText = "";
CheatStatus.Image = Properties.Resources.Blank;
CheatStatus.Visible = false;
}
}
private void showMenuToolStripMenuItem_Click(object sender, EventArgs e)
{
ShowHideMenu();
}
public void SNES_ToggleBG1(bool? setto = null)
{
if (Global.Emulator is LibsnesCore)
{
if (setto.HasValue)
{
Global.Config.SNES_ShowBG1_1 = Global.Config.SNES_ShowBG1_0 = setto.Value;
}
else
{
Global.Config.SNES_ShowBG1_1 = Global.Config.SNES_ShowBG1_0 ^= true;
}
SyncCoreCommInputSignals();
if (Global.Config.SNES_ShowBG1_1)
{
GlobalWinF.OSD.AddMessage("BG 1 Layer On");
}
else
{
GlobalWinF.OSD.AddMessage("BG 1 Layer Off");
}
}
}
public void SNES_ToggleBG2(bool? setto = null)
{
if (Global.Emulator is LibsnesCore)
{
if (setto.HasValue)
{
Global.Config.SNES_ShowBG2_1 = Global.Config.SNES_ShowBG2_0 = setto.Value;
}
else
{
Global.Config.SNES_ShowBG2_1 = Global.Config.SNES_ShowBG2_0 ^= true;
}
SyncCoreCommInputSignals();
if (Global.Config.SNES_ShowBG2_1)
{
GlobalWinF.OSD.AddMessage("BG 2 Layer On");
}
else
{
GlobalWinF.OSD.AddMessage("BG 2 Layer Off");
}
}
}
public void SNES_ToggleBG3(bool? setto = null)
{
if (Global.Emulator is LibsnesCore)
{
if (setto.HasValue)
{
Global.Config.SNES_ShowBG3_1 = Global.Config.SNES_ShowBG3_0 = setto.Value;
}
else
{
Global.Config.SNES_ShowBG3_1 = Global.Config.SNES_ShowBG3_0 ^= true;
}
SyncCoreCommInputSignals();
if (Global.Config.SNES_ShowBG3_1)
{
GlobalWinF.OSD.AddMessage("BG 3 Layer On");
}
else
{
GlobalWinF.OSD.AddMessage("BG 3 Layer Off");
}
}
}
public void SNES_ToggleBG4(bool? setto = null)
{
if (Global.Emulator is LibsnesCore)
{
if (setto.HasValue)
{
Global.Config.SNES_ShowBG4_1 = Global.Config.SNES_ShowBG4_0 = setto.Value;
}
else
{
Global.Config.SNES_ShowBG4_1 = Global.Config.SNES_ShowBG4_0 ^= true;
}
SyncCoreCommInputSignals();
if (Global.Config.SNES_ShowBG4_1)
{
GlobalWinF.OSD.AddMessage("BG 4 Layer On");
}
else
{
GlobalWinF.OSD.AddMessage("BG 4 Layer Off");
}
}
}
public void SNES_ToggleOBJ1(bool? setto = null)
{
if (Global.Emulator is LibsnesCore)
{
if (setto.HasValue)
{
Global.Config.SNES_ShowOBJ1 = setto.Value;
}
else
{
Global.Config.SNES_ShowOBJ1 ^= true;
}
SyncCoreCommInputSignals();
if (Global.Config.SNES_ShowOBJ1)
{
GlobalWinF.OSD.AddMessage("OBJ 1 Layer On");
}
else
{
GlobalWinF.OSD.AddMessage("OBJ 1 Layer Off");
}
}
}
public void SNES_ToggleOBJ2(bool? setto = null)
{
if (Global.Emulator is LibsnesCore)
{
if (setto.HasValue)
{
Global.Config.SNES_ShowOBJ2 = setto.Value;
}
else
{
Global.Config.SNES_ShowOBJ2 ^= true;
}
SyncCoreCommInputSignals();
if (Global.Config.SNES_ShowOBJ2)
{
GlobalWinF.OSD.AddMessage("OBJ 2 Layer On");
}
else
{
GlobalWinF.OSD.AddMessage("OBJ 2 Layer Off");
}
}
}
public void SNES_ToggleOBJ3(bool? setto = null)
{
if (Global.Emulator is LibsnesCore)
{
if (setto.HasValue)
{
Global.Config.SNES_ShowOBJ3 = setto.Value;
}
else
{
Global.Config.SNES_ShowOBJ3 ^= true;
}
SyncCoreCommInputSignals();
if (Global.Config.SNES_ShowOBJ3)
{
GlobalWinF.OSD.AddMessage("OBJ 3 Layer On");
}
else
{
GlobalWinF.OSD.AddMessage("OBJ 3 Layer Off");
}
}
}
public void SNES_ToggleOBJ4(bool? setto = null)
{
if (Global.Emulator is LibsnesCore)
{
if (setto.HasValue)
{
Global.Config.SNES_ShowOBJ4 = setto.Value;
}
else
{
Global.Config.SNES_ShowOBJ4 ^= true;
}
SyncCoreCommInputSignals();
if (Global.Config.SNES_ShowOBJ4)
{
GlobalWinF.OSD.AddMessage("OBJ 4 Layer On");
}
else
{
GlobalWinF.OSD.AddMessage("OBJ 4 Layer Off");
}
}
}
private void StatusSlot1_MouseUp(object sender, MouseEventArgs e) private void StatusSlot1_MouseUp(object sender, MouseEventArgs e)
{ {
if (e.Button == MouseButtons.Left) if (e.Button == MouseButtons.Left)
@ -2582,26 +2305,6 @@ namespace BizHawk.MultiClient
LoadRom(filePaths[0]); LoadRom(filePaths[0]);
} }
private void toolStripMenuItem6_Click(object sender, EventArgs e)
{
StopMovie(true);
}
private void messagesToolStripMenuItem1_Click(object sender, EventArgs e)
{
new MessageConfig().ShowDialog();
}
private void pathsToolStripMenuItem1_Click(object sender, EventArgs e)
{
new PathConfig().ShowDialog();
}
private void autofireToolStripMenuItem1_Click(object sender, EventArgs e)
{
new AutofireConfig().ShowDialog();
}
private void MainForm_Resize(object sender, EventArgs e) private void MainForm_Resize(object sender, EventArgs e)
{ {
GlobalWinF.RenderPanel.Resized = true; GlobalWinF.RenderPanel.Resized = true;
@ -2612,11 +2315,6 @@ namespace BizHawk.MultiClient
RebootCore(); RebootCore();
} }
private void saveMovieToolStripMenuItem1_Click(object sender, EventArgs e)
{
SaveMovie();
}
private void KeyPriorityStatusBarLabel_Click(object sender, EventArgs e) private void KeyPriorityStatusBarLabel_Click(object sender, EventArgs e)
{ {
switch (Global.Config.Input_Hotkey_OverrideOptions) switch (Global.Config.Input_Hotkey_OverrideOptions)

View File

@ -4378,5 +4378,219 @@ namespace BizHawk.MultiClient
{ {
GlobalWinF.OSD.AddMessage("Frameskipping set to " + Global.Config.FrameSkip.ToString()); GlobalWinF.OSD.AddMessage("Frameskipping set to " + Global.Config.FrameSkip.ToString());
} }
public void UpdateCheatStatus()
{
if (Global.CheatList.ActiveCount > 0)
{
CheatStatus.ToolTipText = "Cheats are currently active";
CheatStatus.Image = Properties.Resources.Freeze;
CheatStatus.Visible = true;
}
else
{
CheatStatus.ToolTipText = "";
CheatStatus.Image = Properties.Resources.Blank;
CheatStatus.Visible = false;
}
}
public void SNES_ToggleBG1(bool? setto = null)
{
if (Global.Emulator is LibsnesCore)
{
if (setto.HasValue)
{
Global.Config.SNES_ShowBG1_1 = Global.Config.SNES_ShowBG1_0 = setto.Value;
}
else
{
Global.Config.SNES_ShowBG1_1 = Global.Config.SNES_ShowBG1_0 ^= true;
}
SyncCoreCommInputSignals();
if (Global.Config.SNES_ShowBG1_1)
{
GlobalWinF.OSD.AddMessage("BG 1 Layer On");
}
else
{
GlobalWinF.OSD.AddMessage("BG 1 Layer Off");
}
}
}
public void SNES_ToggleBG2(bool? setto = null)
{
if (Global.Emulator is LibsnesCore)
{
if (setto.HasValue)
{
Global.Config.SNES_ShowBG2_1 = Global.Config.SNES_ShowBG2_0 = setto.Value;
}
else
{
Global.Config.SNES_ShowBG2_1 = Global.Config.SNES_ShowBG2_0 ^= true;
}
SyncCoreCommInputSignals();
if (Global.Config.SNES_ShowBG2_1)
{
GlobalWinF.OSD.AddMessage("BG 2 Layer On");
}
else
{
GlobalWinF.OSD.AddMessage("BG 2 Layer Off");
}
}
}
public void SNES_ToggleBG3(bool? setto = null)
{
if (Global.Emulator is LibsnesCore)
{
if (setto.HasValue)
{
Global.Config.SNES_ShowBG3_1 = Global.Config.SNES_ShowBG3_0 = setto.Value;
}
else
{
Global.Config.SNES_ShowBG3_1 = Global.Config.SNES_ShowBG3_0 ^= true;
}
SyncCoreCommInputSignals();
if (Global.Config.SNES_ShowBG3_1)
{
GlobalWinF.OSD.AddMessage("BG 3 Layer On");
}
else
{
GlobalWinF.OSD.AddMessage("BG 3 Layer Off");
}
}
}
public void SNES_ToggleBG4(bool? setto = null)
{
if (Global.Emulator is LibsnesCore)
{
if (setto.HasValue)
{
Global.Config.SNES_ShowBG4_1 = Global.Config.SNES_ShowBG4_0 = setto.Value;
}
else
{
Global.Config.SNES_ShowBG4_1 = Global.Config.SNES_ShowBG4_0 ^= true;
}
SyncCoreCommInputSignals();
if (Global.Config.SNES_ShowBG4_1)
{
GlobalWinF.OSD.AddMessage("BG 4 Layer On");
}
else
{
GlobalWinF.OSD.AddMessage("BG 4 Layer Off");
}
}
}
public void SNES_ToggleOBJ1(bool? setto = null)
{
if (Global.Emulator is LibsnesCore)
{
if (setto.HasValue)
{
Global.Config.SNES_ShowOBJ1 = setto.Value;
}
else
{
Global.Config.SNES_ShowOBJ1 ^= true;
}
SyncCoreCommInputSignals();
if (Global.Config.SNES_ShowOBJ1)
{
GlobalWinF.OSD.AddMessage("OBJ 1 Layer On");
}
else
{
GlobalWinF.OSD.AddMessage("OBJ 1 Layer Off");
}
}
}
public void SNES_ToggleOBJ2(bool? setto = null)
{
if (Global.Emulator is LibsnesCore)
{
if (setto.HasValue)
{
Global.Config.SNES_ShowOBJ2 = setto.Value;
}
else
{
Global.Config.SNES_ShowOBJ2 ^= true;
}
SyncCoreCommInputSignals();
if (Global.Config.SNES_ShowOBJ2)
{
GlobalWinF.OSD.AddMessage("OBJ 2 Layer On");
}
else
{
GlobalWinF.OSD.AddMessage("OBJ 2 Layer Off");
}
}
}
public void SNES_ToggleOBJ3(bool? setto = null)
{
if (Global.Emulator is LibsnesCore)
{
if (setto.HasValue)
{
Global.Config.SNES_ShowOBJ3 = setto.Value;
}
else
{
Global.Config.SNES_ShowOBJ3 ^= true;
}
SyncCoreCommInputSignals();
if (Global.Config.SNES_ShowOBJ3)
{
GlobalWinF.OSD.AddMessage("OBJ 3 Layer On");
}
else
{
GlobalWinF.OSD.AddMessage("OBJ 3 Layer Off");
}
}
}
public void SNES_ToggleOBJ4(bool? setto = null)
{
if (Global.Emulator is LibsnesCore)
{
if (setto.HasValue)
{
Global.Config.SNES_ShowOBJ4 = setto.Value;
}
else
{
Global.Config.SNES_ShowOBJ4 ^= true;
}
SyncCoreCommInputSignals();
if (Global.Config.SNES_ShowOBJ4)
{
GlobalWinF.OSD.AddMessage("OBJ 4 Layer On");
}
else
{
GlobalWinF.OSD.AddMessage("OBJ 4 Layer Off");
}
}
}
public void RebootCore()
{
LoadRom(CurrentlyOpenRom);
}
} }
} }

View File

@ -530,7 +530,7 @@
<metadata name="StatusSlot0.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="StatusSlot0.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>126, 17</value> <value>126, 17</value>
</metadata> </metadata>
<metadata name="contextMenuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="MainFormContextMenu.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>233, 13</value> <value>233, 13</value>
</metadata> </metadata>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">