Fix #561 (Add real-time FPS display to window bar)
This commit is contained in:
parent
9d83b340fb
commit
deb35a9e1d
@ -768,6 +768,7 @@ namespace TJAPlayer3
|
||||
Timer?.Update();
|
||||
SoundManager.PlayTimer?.Update();
|
||||
FPS?.Update();
|
||||
ShowWindowTitleWithSoundType();
|
||||
|
||||
if (BeatScaling != null)
|
||||
{
|
||||
@ -2344,7 +2345,7 @@ for (int i = 0; i < 3; i++) {
|
||||
{
|
||||
if (r現在のステージ.eStageID != CStage.EStage.Game)
|
||||
{
|
||||
RefleshSkin();
|
||||
RefreshSkin();
|
||||
r現在のステージ.DeActivate();
|
||||
if (!ConfigIni.PreAssetsLoading)
|
||||
{
|
||||
@ -3142,7 +3143,7 @@ for (int i = 0; i < 3; i++) {
|
||||
delay = "(" + SoundManager.GetSoundDelay() + "ms)";
|
||||
}
|
||||
AssemblyName asmApp = Assembly.GetExecutingAssembly().GetName();
|
||||
base.Text = asmApp.Name + " Ver." + VERSION + " (" + SoundManager.GetCurrentSoundDeviceType() + delay + ")";
|
||||
base.Text = asmApp.Name + " Ver." + VERSION + " (" + SoundManager.GetCurrentSoundDeviceType() + delay + ") (" + ((FPS != null) ? FPS.NowFPS : "??") + " FPS)";
|
||||
}
|
||||
|
||||
private void t終了処理()
|
||||
@ -3590,7 +3591,7 @@ for (int i = 0; i < 3; i++) {
|
||||
WindowSize = new Silk.NET.Maths.Vector2D<int>(nWidth, nHeight);
|
||||
}
|
||||
|
||||
public void RefleshSkin()
|
||||
public void RefreshSkin()
|
||||
{
|
||||
Trace.TraceInformation("スキン変更:" + TJAPlayer3.Skin.GetCurrentSkinSubfolderFullName(false));
|
||||
|
||||
|
@ -1034,7 +1034,7 @@ namespace TJAPlayer3
|
||||
#region [ Skin変更 ]
|
||||
if ( TJAPlayer3.Skin.GetCurrentSkinSubfolderFullName( true ) != this.skinSubFolder_org )
|
||||
{
|
||||
TJAPlayer3.app.RefleshSkin();
|
||||
TJAPlayer3.app.RefreshSkin();
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
@ -79,7 +79,7 @@ namespace TJAPlayer3
|
||||
}
|
||||
|
||||
//スキン変更処理
|
||||
TJAPlayer3.app.RefleshSkin();
|
||||
TJAPlayer3.app.RefreshSkin();
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user