History Viewer: Localized UI
This commit is contained in:
parent
6fc37e980f
commit
299a8efef1
17 changed files with 139 additions and 27 deletions
|
@ -116,11 +116,13 @@ void HistoryViewer::ResumeGameplay(shared_ptr<Console> console, uint32_t resumeP
|
|||
bool HistoryViewer::SetInput(BaseControlDevice *device)
|
||||
{
|
||||
uint8_t port = device->GetPort();
|
||||
if(_position < _history.size()) {
|
||||
std::deque<ControlDeviceState> &stateData = _history[_position].InputLogs[port];
|
||||
if(_pollCounter < stateData.size()) {
|
||||
ControlDeviceState state = stateData[_pollCounter];
|
||||
device->SetRawState(state);
|
||||
}
|
||||
}
|
||||
if(port == 0 && _pollCounter < 30) {
|
||||
_pollCounter++;
|
||||
}
|
||||
|
|
|
@ -59,6 +59,7 @@
|
|||
<Control ID="mnuEmulationConfig">Emulació</Control>
|
||||
<Control ID="mnuPreferences">Preferències</Control>
|
||||
<Control ID="mnuTools">Utilitats</Control>
|
||||
<Control ID="mnuHistoryViewer">History Viewer</Control>
|
||||
<Control ID="mnuNetPlay">Joc en línia</Control>
|
||||
<Control ID="mnuStartServer">Inicia un servidor</Control>
|
||||
<Control ID="mnuConnect">Conecta a un servidor</Control>
|
||||
|
@ -585,6 +586,14 @@
|
|||
<Control ID="btnStopRecording">Atura la gravació</Control>
|
||||
<Control ID="btnOpenFolder">Obre la carpeta destinatària</Control>
|
||||
</Form>
|
||||
<Form ID="frmHistoryViewer" Title="History Viewer">
|
||||
<Control ID="lblVolume">Volume</Control>
|
||||
<Control ID="mnuFile">File</Control>
|
||||
<Control ID="mnuImportMovie">Import Movie</Control>
|
||||
<Control ID="mnuExportMovie">Export Movie</Control>
|
||||
<Control ID="mnuResumeGameplay">Resume Gameplay</Control>
|
||||
<Control ID="mnuClose">Close</Control>
|
||||
</Form>
|
||||
<Form ID="frmHelp" Title="Opcions de la línia d'ordres">
|
||||
<Control ID="grpExample">Exemple d'ús</Control>
|
||||
<Control ID="tpgGeneralOptions">General</Control>
|
||||
|
@ -708,6 +717,9 @@
|
|||
<Message ID="LoadFromFile">Carrega des d'un fitxer...</Message>
|
||||
<Message ID="SaveToFile">Desa al fitxer...</Message>
|
||||
|
||||
<Message ID="MovieSegment">Segment #{0}</Message>
|
||||
<Message ID="MovieSaveError">An error occurred while trying to save the movie file.</Message>
|
||||
|
||||
<Message ID="ClearHistory">Esborra el registre</Message>
|
||||
<Message ID="LastFolderUsed">Darrera carpeta utilitzada</Message>
|
||||
|
||||
|
|
|
@ -59,6 +59,7 @@
|
|||
<Control ID="mnuEmulationConfig">Emulation</Control>
|
||||
<Control ID="mnuPreferences">Preferences</Control>
|
||||
<Control ID="mnuTools">Tools</Control>
|
||||
<Control ID="mnuHistoryViewer">History Viewer</Control>
|
||||
<Control ID="mnuNetPlay">Net Play</Control>
|
||||
<Control ID="mnuStartServer">Start Server</Control>
|
||||
<Control ID="mnuConnect">Connect to Server</Control>
|
||||
|
@ -596,6 +597,14 @@
|
|||
<Control ID="btnStopRecording">Stop Recording</Control>
|
||||
<Control ID="btnOpenFolder">Open Save Folder</Control>
|
||||
</Form>
|
||||
<Form ID="frmHistoryViewer" Title="History Viewer">
|
||||
<Control ID="lblVolume">Volume</Control>
|
||||
<Control ID="mnuFile">File</Control>
|
||||
<Control ID="mnuImportMovie">Import Movie</Control>
|
||||
<Control ID="mnuExportMovie">Export Movie</Control>
|
||||
<Control ID="mnuResumeGameplay">Resume Gameplay</Control>
|
||||
<Control ID="mnuClose">Close</Control>
|
||||
</Form>
|
||||
<Form ID="frmHelp" Title="Command-line options">
|
||||
<Control ID="grpExample">Usage Example</Control>
|
||||
<Control ID="tpgGeneralOptions">General</Control>
|
||||
|
@ -739,6 +748,9 @@
|
|||
<Message ID="LoadFromFile">Load from file...</Message>
|
||||
<Message ID="SaveToFile">Save to file...</Message>
|
||||
|
||||
<Message ID="MovieSegment">Segment #{0}</Message>
|
||||
<Message ID="MovieSaveError">An error occurred while trying to save the movie file.</Message>
|
||||
|
||||
<Message ID="ClearHistory">Clear History</Message>
|
||||
<Message ID="LastFolderUsed">Last Folder Used</Message>
|
||||
|
||||
|
|
|
@ -59,6 +59,7 @@
|
|||
<Control ID="mnuEmulationConfig">Emulación</Control>
|
||||
<Control ID="mnuPreferences">Preferencias</Control>
|
||||
<Control ID="mnuTools">Utilidades</Control>
|
||||
<Control ID="mnuHistoryViewer">History Viewer</Control>
|
||||
<Control ID="mnuNetPlay">Juego online</Control>
|
||||
<Control ID="mnuStartServer">Iniciar servidor</Control>
|
||||
<Control ID="mnuConnect">Conectar a un servidor</Control>
|
||||
|
@ -583,6 +584,14 @@
|
|||
<Control ID="btnStopRecording">Parar de grabar</Control>
|
||||
<Control ID="btnOpenFolder">Abrir carpeta contenedora</Control>
|
||||
</Form>
|
||||
<Form ID="frmHistoryViewer" Title="History Viewer">
|
||||
<Control ID="lblVolume">Volume</Control>
|
||||
<Control ID="mnuFile">File</Control>
|
||||
<Control ID="mnuImportMovie">Import Movie</Control>
|
||||
<Control ID="mnuExportMovie">Export Movie</Control>
|
||||
<Control ID="mnuResumeGameplay">Resume Gameplay</Control>
|
||||
<Control ID="mnuClose">Close</Control>
|
||||
</Form>
|
||||
<Form ID="frmHelp" Title="Opciones de linea de comandos">
|
||||
<Control ID="grpExample">Ejemplo de uso</Control>
|
||||
<Control ID="tpgGeneralOptions">General</Control>
|
||||
|
@ -725,6 +734,9 @@
|
|||
<Message ID="LoadFromFile">Cargar desde archivo...</Message>
|
||||
<Message ID="SaveToFile">Guardar en archivo...</Message>
|
||||
|
||||
<Message ID="MovieSegment">Segment #{0}</Message>
|
||||
<Message ID="MovieSaveError">An error occurred while trying to save the movie file.</Message>
|
||||
|
||||
<Message ID="ClearHistory">Limpiar historial</Message>
|
||||
<Message ID="LastFolderUsed">Última carpeta usada</Message>
|
||||
|
||||
|
|
|
@ -59,6 +59,7 @@
|
|||
<Control ID="mnuEmulationConfig">Émulation</Control>
|
||||
<Control ID="mnuPreferences">Préférences</Control>
|
||||
<Control ID="mnuTools">Outils</Control>
|
||||
<Control ID="mnuHistoryViewer">Visualiseur de l'historique</Control>
|
||||
<Control ID="mnuNetPlay">Jeu en ligne</Control>
|
||||
<Control ID="mnuStartServer">Démarrer un serveur</Control>
|
||||
<Control ID="mnuConnect">Connexion à un serveur</Control>
|
||||
|
@ -595,6 +596,14 @@
|
|||
<Control ID="btnStopRecording">Arrêter l'enregistrement</Control>
|
||||
<Control ID="btnOpenFolder">Ouvrir le dossier de sauvegarde</Control>
|
||||
</Form>
|
||||
<Form ID="frmHistoryViewer" Title="Visualiseur de l'historique">
|
||||
<Control ID="lblVolume">Volume</Control>
|
||||
<Control ID="mnuFile">Fichier</Control>
|
||||
<Control ID="mnuImportMovie">Importer un film</Control>
|
||||
<Control ID="mnuExportMovie">Exporter un film</Control>
|
||||
<Control ID="mnuResumeGameplay">Reprendre le jeu</Control>
|
||||
<Control ID="mnuClose">Fermer</Control>
|
||||
</Form>
|
||||
<Form ID="frmHelp" Title="Options de ligne de commande">
|
||||
<Control ID="grpExample">Exemple d'utilisation</Control>
|
||||
<Control ID="tpgGeneralOptions">Général</Control>
|
||||
|
@ -738,6 +747,9 @@
|
|||
<Message ID="LoadFromFile">Charger à partir d'un fichier...</Message>
|
||||
<Message ID="SaveToFile">Sauvegarder dans un fichier...</Message>
|
||||
|
||||
<Message ID="MovieSegment">Segment #{0}</Message>
|
||||
<Message ID="MovieSaveError">Une erreur est survenue pendant la sauvegarde du film.</Message>
|
||||
|
||||
<Message ID="ClearHistory">Effacer l'historique</Message>
|
||||
<Message ID="LastFolderUsed">Dernier dossier utilisé</Message>
|
||||
|
||||
|
|
|
@ -61,6 +61,7 @@
|
|||
<Control ID="mnuEmulationConfig">エミュレーション</Control>
|
||||
<Control ID="mnuPreferences">設定</Control>
|
||||
<Control ID="mnuTools">ツール</Control>
|
||||
<Control ID="mnuHistoryViewer">ヒストリービューア</Control>
|
||||
<Control ID="mnuNetPlay">ネットプレイ</Control>
|
||||
<Control ID="mnuStartServer">サーバを起動する</Control>
|
||||
<Control ID="mnuConnect">サーバに接続</Control>
|
||||
|
@ -585,6 +586,14 @@
|
|||
<Control ID="btnStopRecording">停止</Control>
|
||||
<Control ID="btnOpenFolder">セーブフォルダを開く</Control>
|
||||
</Form>
|
||||
<Form ID="frmHistoryViewer" Title="ヒストリービューア">
|
||||
<Control ID="lblVolume">音量</Control>
|
||||
<Control ID="mnuFile">ファイル</Control>
|
||||
<Control ID="mnuImportMovie">動画をインポートする</Control>
|
||||
<Control ID="mnuExportMovie">動画をエクスポートする</Control>
|
||||
<Control ID="mnuResumeGameplay">ここからゲームを再開する</Control>
|
||||
<Control ID="mnuClose">終了</Control>
|
||||
</Form>
|
||||
<Form ID="frmHelp" Title="コマンドラインオプション">
|
||||
<Control ID="grpExample">使い方</Control>
|
||||
<Control ID="tpgGeneralOptions">全般</Control>
|
||||
|
@ -728,6 +737,9 @@
|
|||
<Message ID="LoadFromFile">ファイルからロードする…</Message>
|
||||
<Message ID="SaveToFile">ファイルに保存する…</Message>
|
||||
|
||||
<Message ID="MovieSegment">パート {0}</Message>
|
||||
<Message ID="MovieSaveError">動画エクスポートは失敗しました。</Message>
|
||||
|
||||
<Message ID="ClearHistory">履歴を消去</Message>
|
||||
<Message ID="LastFolderUsed">最後に使用したフォルダ</Message>
|
||||
|
||||
|
|
|
@ -59,6 +59,7 @@
|
|||
<Control ID="mnuEmulationConfig">Emulação</Control>
|
||||
<Control ID="mnuPreferences">Preferências</Control>
|
||||
<Control ID="mnuTools">Ferramentas</Control>
|
||||
<Control ID="mnuHistoryViewer">History Viewer</Control>
|
||||
<Control ID="mnuNetPlay">Jogo online</Control>
|
||||
<Control ID="mnuStartServer">Iniciar servidor</Control>
|
||||
<Control ID="mnuConnect">Conectar a um servidor</Control>
|
||||
|
@ -581,6 +582,14 @@
|
|||
<Control ID="btnStopRecording">Parar gravação</Control>
|
||||
<Control ID="btnOpenFolder">Abrir a pasta de destino</Control>
|
||||
</Form>
|
||||
<Form ID="frmHistoryViewer" Title="History Viewer">
|
||||
<Control ID="lblVolume">Volume</Control>
|
||||
<Control ID="mnuFile">File</Control>
|
||||
<Control ID="mnuImportMovie">Import Movie</Control>
|
||||
<Control ID="mnuExportMovie">Export Movie</Control>
|
||||
<Control ID="mnuResumeGameplay">Resume Gameplay</Control>
|
||||
<Control ID="mnuClose">Close</Control>
|
||||
</Form>
|
||||
<Form ID="frmHelp" Title="Opções de linha de comando">
|
||||
<Control ID="grpExample">Exemplo de uso</Control>
|
||||
<Control ID="tpgGeneralOptions">Geral</Control>
|
||||
|
@ -723,6 +732,9 @@
|
|||
<Message ID="LoadFromFile">Carregar de um arquivo...</Message>
|
||||
<Message ID="SaveToFile">Salvar para arquivo...</Message>
|
||||
|
||||
<Message ID="MovieSegment">Segment #{0}</Message>
|
||||
<Message ID="MovieSaveError">An error occurred while trying to save the movie file.</Message>
|
||||
|
||||
<Message ID="ClearHistory">Limpar histórico</Message>
|
||||
<Message ID="LastFolderUsed">Última pasta usada</Message>
|
||||
|
||||
|
|
|
@ -59,6 +59,7 @@
|
|||
<Control ID="mnuEmulationConfig">Эмуляция</Control>
|
||||
<Control ID="mnuPreferences">Настройки</Control>
|
||||
<Control ID="mnuTools">Утилиты</Control>
|
||||
<Control ID="mnuHistoryViewer">History Viewer</Control>
|
||||
<Control ID="mnuNetPlay">Игра по сети</Control>
|
||||
<Control ID="mnuStartServer">Запустить сервер</Control>
|
||||
<Control ID="mnuConnect">Подключиться к серверу</Control>
|
||||
|
@ -583,6 +584,14 @@
|
|||
<Control ID="btnStopRecording">Stop Recording</Control>
|
||||
<Control ID="btnOpenFolder">Open Save Folder</Control>
|
||||
</Form>
|
||||
<Form ID="frmHistoryViewer" Title="History Viewer">
|
||||
<Control ID="lblVolume">Volume</Control>
|
||||
<Control ID="mnuFile">File</Control>
|
||||
<Control ID="mnuImportMovie">Import Movie</Control>
|
||||
<Control ID="mnuExportMovie">Export Movie</Control>
|
||||
<Control ID="mnuResumeGameplay">Resume Gameplay</Control>
|
||||
<Control ID="mnuClose">Close</Control>
|
||||
</Form>
|
||||
<Form ID="frmHelp" Title="Command-line Options">
|
||||
<Control ID="grpExample">Usage example</Control>
|
||||
<Control ID="tpgGeneralOptions">General</Control>
|
||||
|
@ -726,6 +735,9 @@
|
|||
<Message ID="LoadFromFile">Load from file...</Message>
|
||||
<Message ID="SaveToFile">Save to file...</Message>
|
||||
|
||||
<Message ID="MovieSegment">Segment #{0}</Message>
|
||||
<Message ID="MovieSaveError">An error occurred while trying to save the movie file.</Message>
|
||||
|
||||
<Message ID="ClearHistory">Clear History</Message>
|
||||
<Message ID="LastFolderUsed">Last Folder Used</Message>
|
||||
|
||||
|
|
|
@ -59,6 +59,7 @@
|
|||
<Control ID="mnuEmulationConfig">Емуляція</Control>
|
||||
<Control ID="mnuPreferences">Налаштування</Control>
|
||||
<Control ID="mnuTools">Утиліти</Control>
|
||||
<Control ID="mnuHistoryViewer">History Viewer</Control>
|
||||
<Control ID="mnuNetPlay">Гра по мережі</Control>
|
||||
<Control ID="mnuStartServer">Запустити сервер</Control>
|
||||
<Control ID="mnuConnect">Підключитися до сервера</Control>
|
||||
|
@ -583,6 +584,14 @@
|
|||
<Control ID="btnStopRecording">Зупинити запис</Control>
|
||||
<Control ID="btnOpenFolder">Вiдкрити папку збережень</Control>
|
||||
</Form>
|
||||
<Form ID="frmHistoryViewer" Title="History Viewer">
|
||||
<Control ID="lblVolume">Volume</Control>
|
||||
<Control ID="mnuFile">File</Control>
|
||||
<Control ID="mnuImportMovie">Import Movie</Control>
|
||||
<Control ID="mnuExportMovie">Export Movie</Control>
|
||||
<Control ID="mnuResumeGameplay">Resume Gameplay</Control>
|
||||
<Control ID="mnuClose">Close</Control>
|
||||
</Form>
|
||||
<Form ID="frmHelp" Title="Параметри командного рядка">
|
||||
<Control ID="grpExample">Приклад використання</Control>
|
||||
<Control ID="tpgGeneralOptions">Загальний</Control>
|
||||
|
@ -726,6 +735,9 @@
|
|||
<Message ID="LoadFromFile">Завантажитти з файлу...</Message>
|
||||
<Message ID="SaveToFile">Зберегти в файл...</Message>
|
||||
|
||||
<Message ID="MovieSegment">Segment #{0}</Message>
|
||||
<Message ID="MovieSaveError">An error occurred while trying to save the movie file.</Message>
|
||||
|
||||
<Message ID="ClearHistory">Очистити історію</Message>
|
||||
<Message ID="LastFolderUsed">Використовувана остання папка</Message>
|
||||
|
||||
|
|
20
GUI.NET/Forms/frmHistoryViewer.Designer.cs
generated
20
GUI.NET/Forms/frmHistoryViewer.Designer.cs
generated
|
@ -40,7 +40,7 @@
|
|||
this.trkVolume = new System.Windows.Forms.TrackBar();
|
||||
this.tmrUpdatePosition = new System.Windows.Forms.Timer(this.components);
|
||||
this.menuStrip2 = new System.Windows.Forms.MenuStrip();
|
||||
this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.mnuFile = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.mnuImportMovie = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.mnuExportMovie = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator();
|
||||
|
@ -143,7 +143,7 @@
|
|||
//
|
||||
this.ctrlRenderer.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
this.ctrlRenderer.Location = new System.Drawing.Point(134, 89);
|
||||
this.ctrlRenderer.Margin = new System.Windows.Forms.Padding(0, 0, 0, 0);
|
||||
this.ctrlRenderer.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.ctrlRenderer.Name = "ctrlRenderer";
|
||||
this.ctrlRenderer.Size = new System.Drawing.Size(256, 240);
|
||||
this.ctrlRenderer.TabIndex = 0;
|
||||
|
@ -196,26 +196,26 @@
|
|||
// menuStrip2
|
||||
//
|
||||
this.menuStrip2.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.fileToolStripMenuItem});
|
||||
this.mnuFile});
|
||||
this.menuStrip2.Location = new System.Drawing.Point(0, 0);
|
||||
this.menuStrip2.Name = "menuStrip2";
|
||||
this.menuStrip2.Size = new System.Drawing.Size(532, 24);
|
||||
this.menuStrip2.TabIndex = 1;
|
||||
this.menuStrip2.Text = "menuStrip2";
|
||||
//
|
||||
// fileToolStripMenuItem
|
||||
// mnuFile
|
||||
//
|
||||
this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.mnuFile.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.mnuImportMovie,
|
||||
this.mnuExportMovie,
|
||||
this.toolStripMenuItem1,
|
||||
this.mnuResumeGameplay,
|
||||
this.toolStripMenuItem2,
|
||||
this.mnuClose});
|
||||
this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
|
||||
this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20);
|
||||
this.fileToolStripMenuItem.Text = "File";
|
||||
this.fileToolStripMenuItem.DropDownOpening += new System.EventHandler(this.fileToolStripMenuItem_DropDownOpening);
|
||||
this.mnuFile.Name = "mnuFile";
|
||||
this.mnuFile.Size = new System.Drawing.Size(37, 20);
|
||||
this.mnuFile.Text = "File";
|
||||
this.mnuFile.DropDownOpening += new System.EventHandler(this.fileToolStripMenuItem_DropDownOpening);
|
||||
//
|
||||
// mnuImportMovie
|
||||
//
|
||||
|
@ -291,7 +291,7 @@
|
|||
private System.Windows.Forms.Timer tmrUpdatePosition;
|
||||
private System.Windows.Forms.Label lblPosition;
|
||||
private System.Windows.Forms.MenuStrip menuStrip2;
|
||||
private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem mnuFile;
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem1;
|
||||
private System.Windows.Forms.ToolStripMenuItem mnuImportMovie;
|
||||
private System.Windows.Forms.ToolStripMenuItem mnuExportMovie;
|
||||
|
|
|
@ -121,7 +121,6 @@ namespace Mesen.GUI.Forms
|
|||
{
|
||||
InteropEmu.ScreenSize size = InteropEmu.GetScreenSize(false, InteropEmu.ConsoleId.HistoryViewer);
|
||||
if(size.Width != ctrlRenderer.ClientSize.Width || size.Height != ctrlRenderer.ClientSize.Height) {
|
||||
//MessageBox.Show(size.Height.ToString() + " vs " + ctrlRenderer.ClientSize.Height.ToString());
|
||||
ctrlRenderer.ClientSize = new Size(size.Width, size.Height);
|
||||
}
|
||||
|
||||
|
@ -179,7 +178,8 @@ namespace Mesen.GUI.Forms
|
|||
TimeSpan start = new TimeSpan(0, 0, (int)(segmentStart) / 2);
|
||||
TimeSpan end = new TimeSpan(0, 0, (int)(segEnd / 2));
|
||||
|
||||
ToolStripMenuItem item = new ToolStripMenuItem("Segment #" + (mnuExportMovie.DropDownItems.Count + 1).ToString() + ", " + start.ToString() + " - " + end.ToString());
|
||||
string segmentName = ResourceHelper.GetMessage("MovieSegment", (mnuExportMovie.DropDownItems.Count + 1).ToString());
|
||||
ToolStripMenuItem item = new ToolStripMenuItem(segmentName + ", " + start.ToString() + " - " + end.ToString());
|
||||
item.Click += (s, evt) => {
|
||||
SaveFileDialog sfd = new SaveFileDialog();
|
||||
sfd.SetFilter(ResourceHelper.GetMessage("FilterMovie"));
|
||||
|
@ -187,7 +187,7 @@ namespace Mesen.GUI.Forms
|
|||
sfd.FileName = InteropEmu.GetRomInfo().GetRomName() + ".mmo";
|
||||
if(sfd.ShowDialog() == DialogResult.OK) {
|
||||
if(!InteropEmu.HistoryViewerSaveMovie(sfd.FileName, segStart, segEnd)) {
|
||||
MessageBox.Show("An error occurred while trying to save the movie file.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
MesenMsgBox.Show("MovieSaveError", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
18
GUI.NET/Forms/frmMain.Designer.cs
generated
18
GUI.NET/Forms/frmMain.Designer.cs
generated
|
@ -162,6 +162,7 @@ namespace Mesen.GUI.Forms
|
|||
this.mnuPlayMovie = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.mnuRecordMovie = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.mnuStopMovie = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.mnuHistoryViewer = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.mnuCheats = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.toolStripMenuItem22 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.mnuSoundRecorder = new System.Windows.Forms.ToolStripMenuItem();
|
||||
|
@ -213,7 +214,6 @@ namespace Mesen.GUI.Forms
|
|||
this.mnuReportBug = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.toolStripMenuItem5 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.mnuAbout = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.mnuHistoryViewer = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.panelRenderer.SuspendLayout();
|
||||
this.panelInfo.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.picIcon)).BeginInit();
|
||||
|
@ -1307,6 +1307,14 @@ namespace Mesen.GUI.Forms
|
|||
this.mnuStopMovie.Text = "Stop";
|
||||
this.mnuStopMovie.Click += new System.EventHandler(this.mnuStopMovie_Click);
|
||||
//
|
||||
// mnuHistoryViewer
|
||||
//
|
||||
this.mnuHistoryViewer.Image = global::Mesen.GUI.Properties.Resources.HistoryViewer;
|
||||
this.mnuHistoryViewer.Name = "mnuHistoryViewer";
|
||||
this.mnuHistoryViewer.Size = new System.Drawing.Size(182, 22);
|
||||
this.mnuHistoryViewer.Text = "History Viewer";
|
||||
this.mnuHistoryViewer.Click += new System.EventHandler(this.mnuHistoryViewer_Click);
|
||||
//
|
||||
// mnuCheats
|
||||
//
|
||||
this.mnuCheats.Image = global::Mesen.GUI.Properties.Resources.CheatCode;
|
||||
|
@ -1712,14 +1720,6 @@ namespace Mesen.GUI.Forms
|
|||
this.mnuAbout.Text = "About";
|
||||
this.mnuAbout.Click += new System.EventHandler(this.mnuAbout_Click);
|
||||
//
|
||||
// mnuHistoryViewer
|
||||
//
|
||||
this.mnuHistoryViewer.Image = global::Mesen.GUI.Properties.Resources.Speed;
|
||||
this.mnuHistoryViewer.Name = "mnuHistoryViewer";
|
||||
this.mnuHistoryViewer.Size = new System.Drawing.Size(182, 22);
|
||||
this.mnuHistoryViewer.Text = "History Viewer";
|
||||
this.mnuHistoryViewer.Click += new System.EventHandler(this.mnuHistoryViewer_Click);
|
||||
//
|
||||
// frmMain
|
||||
//
|
||||
this.AllowDrop = true;
|
||||
|
|
|
@ -1089,7 +1089,7 @@ namespace Mesen.GUI.Forms
|
|||
mnuStopMovie.Enabled = running && !netPlay && (moviePlaying || movieRecording);
|
||||
mnuRecordMovie.Enabled = running && !moviePlaying && !movieRecording && !isNetPlayClient;
|
||||
mnuGameConfig.Enabled = !moviePlaying && !movieRecording;
|
||||
mnuHistoryViewer.Enabled = running && !InteropEmu.IsNsf();
|
||||
mnuHistoryViewer.Enabled = running && !InteropEmu.IsNsf() && ConfigManager.Config.PreferenceInfo.RewindBufferSize > 0;
|
||||
|
||||
bool waveRecording = InteropEmu.WaveIsRecording();
|
||||
mnuWaveRecord.Enabled = running && !waveRecording;
|
||||
|
|
|
@ -1215,6 +1215,7 @@
|
|||
<Compile Include="RuntimeChecker.cs" />
|
||||
<Compile Include="SingleInstance.cs" />
|
||||
<Compile Include="TestRunner.cs" />
|
||||
<None Include="Resources\HistoryViewer.png" />
|
||||
<None Include="Resources\VsButton4.png" />
|
||||
<None Include="Resources\VsButton3.png" />
|
||||
<None Include="Resources\VsButton2.png" />
|
||||
|
|
10
GUI.NET/Properties/Resources.Designer.cs
generated
10
GUI.NET/Properties/Resources.Designer.cs
generated
|
@ -460,6 +460,16 @@ namespace Mesen.GUI.Properties {
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap HistoryViewer {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("HistoryViewer", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
|
|
|
@ -421,4 +421,7 @@
|
|||
<data name="VsButton4" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\VsButton4.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="HistoryViewer" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\HistoryViewer.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
</root>
|
BIN
GUI.NET/Resources/HistoryViewer.png
Normal file
BIN
GUI.NET/Resources/HistoryViewer.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 831 B |
Loading…
Add table
Reference in a new issue