NES PPU Viewer - implement Always on Top and Floating Window and refactor
This commit is contained in:
parent
284eca0545
commit
d87978087d
|
@ -118,7 +118,7 @@ namespace BizHawk.Client.Common
|
|||
public bool DisplayFPS = false;
|
||||
public int DispFPSx = 0;
|
||||
public int DispFPSy = 0;
|
||||
public int DispFPSanchor = 0; //0 = UL, 1 = UR, 2 = DL, 3 = DR
|
||||
public int DispFPSanchor = 0; // 0 = UL, 1 = UR, 2 = DL, 3 = DR
|
||||
public bool DisplayFrameCounter = false;
|
||||
public int DispFrameCx = 0;
|
||||
public int DispFrameCy = 14;
|
||||
|
@ -344,10 +344,8 @@ namespace BizHawk.Client.Common
|
|||
#endregion
|
||||
|
||||
// NESPPU Settings
|
||||
public ToolDialogSettings NesPPUSettings = new ToolDialogSettings();
|
||||
public bool AutoLoadNESPPU = false;
|
||||
public bool NESPPUSaveWindowPosition = true;
|
||||
public int NESPPUWndx = -1;
|
||||
public int NESPPUWndy = -1;
|
||||
public int NESPPURefreshRate = 4;
|
||||
|
||||
// NESDebuger Settings
|
||||
|
|
|
@ -1195,7 +1195,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
|
||||
private void NESPPUViewerMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
GlobalWin.Tools.Load<NESPPU>();
|
||||
GlobalWin.Tools.Load<NesPPU>();
|
||||
}
|
||||
|
||||
private void NESNametableViewerMenuItem_Click(object sender, EventArgs e)
|
||||
|
|
|
@ -298,7 +298,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
|
||||
if (Global.Config.AutoLoadNESPPU && Global.Emulator is NES)
|
||||
{
|
||||
GlobalWin.Tools.Load<NESPPU>();
|
||||
GlobalWin.Tools.Load<NesPPU>();
|
||||
}
|
||||
|
||||
if (Global.Config.AutoLoadNESNameTable && Global.Emulator is NES)
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -126,13 +126,13 @@
|
|||
<metadata name="SpriteContext.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>475, 17</value>
|
||||
</metadata>
|
||||
<metadata name="menuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<metadata name="NesPPUMenu.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>116, 17</value>
|
||||
</metadata>
|
||||
<metadata name="statusStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<metadata name="NesPPUStatusBar.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>594, 17</value>
|
||||
</metadata>
|
||||
<metadata name="messagetimer.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<metadata name="Messagetimer.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>704, 17</value>
|
||||
</metadata>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
|
|
|
@ -140,7 +140,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
|
||||
private void NesPPUToolbarItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
GlobalWin.Tools.Load<NESPPU>();
|
||||
GlobalWin.Tools.Load<NesPPU>();
|
||||
}
|
||||
|
||||
private void NesDebuggerToolbarItem_Click(object sender, EventArgs e)
|
||||
|
|
Loading…
Reference in New Issue