From 35d0510224fa7e6b907adb7ac85845d619a218c9 Mon Sep 17 00:00:00 2001 From: Souryo Date: Fri, 24 Feb 2017 21:48:31 -0500 Subject: [PATCH] Added icon for debugger menu item --- GUI.NET/Forms/frmMain.Designer.cs | 59 ++++++++++++----------- GUI.NET/GUI.NET.csproj | 1 + GUI.NET/Properties/Resources.Designer.cs | 10 ++++ GUI.NET/Properties/Resources.resx | 3 ++ GUI.NET/Resources/bug.png | Bin 0 -> 830 bytes 5 files changed, 44 insertions(+), 29 deletions(-) create mode 100644 GUI.NET/Resources/bug.png diff --git a/GUI.NET/Forms/frmMain.Designer.cs b/GUI.NET/Forms/frmMain.Designer.cs index 28401459..86430039 100644 --- a/GUI.NET/Forms/frmMain.Designer.cs +++ b/GUI.NET/Forms/frmMain.Designer.cs @@ -147,12 +147,12 @@ namespace Mesen.GUI.Forms this.mnuStopMovie = new System.Windows.Forms.ToolStripMenuItem(); this.mnuCheats = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItem22 = new System.Windows.Forms.ToolStripSeparator(); - this.mnuVideoRecorder = new System.Windows.Forms.ToolStripMenuItem(); - this.mnuAviRecord = new System.Windows.Forms.ToolStripMenuItem(); - this.mnuAviStop = new System.Windows.Forms.ToolStripMenuItem(); this.mnuSoundRecorder = new System.Windows.Forms.ToolStripMenuItem(); this.mnuWaveRecord = new System.Windows.Forms.ToolStripMenuItem(); this.mnuWaveStop = new System.Windows.Forms.ToolStripMenuItem(); + this.mnuVideoRecorder = new System.Windows.Forms.ToolStripMenuItem(); + this.mnuAviRecord = new System.Windows.Forms.ToolStripMenuItem(); + this.mnuAviStop = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItem12 = new System.Windows.Forms.ToolStripSeparator(); this.mnuTests = new System.Windows.Forms.ToolStripMenuItem(); this.mnuTestRun = new System.Windows.Forms.ToolStripMenuItem(); @@ -1146,32 +1146,6 @@ namespace Mesen.GUI.Forms this.toolStripMenuItem22.Name = "toolStripMenuItem22"; this.toolStripMenuItem22.Size = new System.Drawing.Size(228, 6); // - // mnuVideoRecorder - // - this.mnuVideoRecorder.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.mnuAviRecord, - this.mnuAviStop}); - this.mnuVideoRecorder.Image = global::Mesen.GUI.Properties.Resources.VideoRecorder; - this.mnuVideoRecorder.Name = "mnuVideoRecorder"; - this.mnuVideoRecorder.Size = new System.Drawing.Size(231, 22); - this.mnuVideoRecorder.Text = "Video Recorder"; - // - // mnuAviRecord - // - this.mnuAviRecord.Image = global::Mesen.GUI.Properties.Resources.Record; - this.mnuAviRecord.Name = "mnuAviRecord"; - this.mnuAviRecord.Size = new System.Drawing.Size(155, 22); - this.mnuAviRecord.Text = "Record..."; - this.mnuAviRecord.Click += new System.EventHandler(this.mnuAviRecord_Click); - // - // mnuAviStop - // - this.mnuAviStop.Image = global::Mesen.GUI.Properties.Resources.Stop; - this.mnuAviStop.Name = "mnuAviStop"; - this.mnuAviStop.Size = new System.Drawing.Size(155, 22); - this.mnuAviStop.Text = "Stop Recording"; - this.mnuAviStop.Click += new System.EventHandler(this.mnuAviStop_Click); - // // mnuSoundRecorder // this.mnuSoundRecorder.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { @@ -1198,6 +1172,32 @@ namespace Mesen.GUI.Forms this.mnuWaveStop.Text = "Stop Recording"; this.mnuWaveStop.Click += new System.EventHandler(this.mnuWaveStop_Click); // + // mnuVideoRecorder + // + this.mnuVideoRecorder.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.mnuAviRecord, + this.mnuAviStop}); + this.mnuVideoRecorder.Image = global::Mesen.GUI.Properties.Resources.VideoRecorder; + this.mnuVideoRecorder.Name = "mnuVideoRecorder"; + this.mnuVideoRecorder.Size = new System.Drawing.Size(231, 22); + this.mnuVideoRecorder.Text = "Video Recorder"; + // + // mnuAviRecord + // + this.mnuAviRecord.Image = global::Mesen.GUI.Properties.Resources.Record; + this.mnuAviRecord.Name = "mnuAviRecord"; + this.mnuAviRecord.Size = new System.Drawing.Size(155, 22); + this.mnuAviRecord.Text = "Record..."; + this.mnuAviRecord.Click += new System.EventHandler(this.mnuAviRecord_Click); + // + // mnuAviStop + // + this.mnuAviStop.Image = global::Mesen.GUI.Properties.Resources.Stop; + this.mnuAviStop.Name = "mnuAviStop"; + this.mnuAviStop.Size = new System.Drawing.Size(155, 22); + this.mnuAviStop.Text = "Stop Recording"; + this.mnuAviStop.Click += new System.EventHandler(this.mnuAviStop_Click); + // // toolStripMenuItem12 // this.toolStripMenuItem12.Name = "toolStripMenuItem12"; @@ -1286,6 +1286,7 @@ namespace Mesen.GUI.Forms // // mnuDebugger // + this.mnuDebugger.Image = global::Mesen.GUI.Properties.Resources.Bug; this.mnuDebugger.Name = "mnuDebugger"; this.mnuDebugger.Size = new System.Drawing.Size(231, 22); this.mnuDebugger.Text = "Debugger"; diff --git a/GUI.NET/GUI.NET.csproj b/GUI.NET/GUI.NET.csproj index c86ffe48..5b498c7b 100644 --- a/GUI.NET/GUI.NET.csproj +++ b/GUI.NET/GUI.NET.csproj @@ -917,6 +917,7 @@ + diff --git a/GUI.NET/Properties/Resources.Designer.cs b/GUI.NET/Properties/Resources.Designer.cs index 9056bc1a..3c92d454 100644 --- a/GUI.NET/Properties/Resources.Designer.cs +++ b/GUI.NET/Properties/Resources.Designer.cs @@ -90,6 +90,16 @@ namespace Mesen.GUI.Properties { } } + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Bug { + get { + object obj = ResourceManager.GetObject("Bug", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// diff --git a/GUI.NET/Properties/Resources.resx b/GUI.NET/Properties/Resources.resx index 31b9233b..5d908353 100644 --- a/GUI.NET/Properties/Resources.resx +++ b/GUI.NET/Properties/Resources.resx @@ -247,4 +247,7 @@ ..\Resources\VideoRecorder.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\bug.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + \ No newline at end of file diff --git a/GUI.NET/Resources/bug.png b/GUI.NET/Resources/bug.png new file mode 100644 index 0000000000000000000000000000000000000000..c406559678fbad0e5b81ba08a4ac12af7c888655 GIT binary patch literal 830 zcmV-E1Ht@>P)Px#1ZP1_K>z@;j|==^1poj532;bRa{vGi!vFvd!vV){sAK>D02y>eSaefwW^{L9 za%BK;VQFr3E^cLXAT%y8E-^Ag1Z(U700OQ_L_t(IPoc;Uy);B#yCh zf&^)-&+pRvDVSLv#^R@O%zZRrdT|Ju#Ziz)NO?&}NC-skBGBvfQO2-Qz-3p3Elj-Y z!qj{RCg)ly+>52pQ>f@pM4CE`7cj)0Vm3vFt|{v81a6vI*@=dST9~J6F!-tzk1aPa z@xBS8mNE=aT|>hoC334Hp*Sx?K$Hg)I8laU2T1TEN$ZEc@k+D}tI;`{hrY>+xNACv z`oVZumq)O?@)oln#_+;A07Jh9;i=yJl-q5aK%ltd`>TCKhq}RZ7>1P4cgEsUs|=<$ zH5htb2(zUaqqB{8W^ISIMvlFHZr>^Ql^3KGc-o~EdZVHz0s8JZ=nTO)Tjh^?PYZC% zq(rk>L6c?R&J!g{I-)`S4+xf9{|oWCZu9v~!N|E82xX}k>IP2Zsxby-#z^RUVn`l? zqINlwbrMjolwg^4!O?6djiSgKX+;uL_M{`fB^c*!ALh}u96?TFJs zmf5rqxCoV?`B<(HXQ~fC-QbI?S|2FO_aQOg1>q+J7J9CtJ{>Vb*ipS%z=+Ot%9Ew< zoF_o61|>UKy@K|zRo$uPwz5sI5$SPzc4gcA8*zx$o3ZEq06@ad^vV;aBLDyZ07*qo IM6N<$f=_aMV*mgE literal 0 HcmV?d00001