mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-01-02 13:53:40 +01:00
naming adjustments
This commit is contained in:
parent
652b357341
commit
2317d28b39
8 changed files with 34 additions and 34 deletions
|
|
@ -773,7 +773,7 @@ namespace Dalamud.Interface.Internal
|
|||
var customFontFirstConfigIndex = ioFonts.ConfigData.Size;
|
||||
|
||||
Log.Verbose("[FONT] Invoke OnBuildFonts");
|
||||
this.BuildFonts?.Raise();
|
||||
this.BuildFonts?.InvokeSafely();
|
||||
Log.Verbose("[FONT] OnBuildFonts OK!");
|
||||
|
||||
for (int i = customFontFirstConfigIndex, i_ = ioFonts.ConfigData.Size; i < i_; i++)
|
||||
|
|
@ -881,7 +881,7 @@ namespace Dalamud.Interface.Internal
|
|||
}
|
||||
|
||||
Log.Verbose("[FONT] Invoke OnAfterBuildFonts");
|
||||
this.AfterBuildFonts?.Raise();
|
||||
this.AfterBuildFonts?.InvokeSafely();
|
||||
Log.Verbose("[FONT] OnAfterBuildFonts OK!");
|
||||
|
||||
if (ioFonts.Fonts[0].NativePtr != DefaultFont.NativePtr)
|
||||
|
|
@ -978,7 +978,7 @@ namespace Dalamud.Interface.Internal
|
|||
Log.Verbose($"Calling resizebuffers swap@{swapChain.ToInt64():X}{bufferCount} {width} {height} {newFormat} {swapChainFlags}");
|
||||
#endif
|
||||
|
||||
this.ResizeBuffers?.Raise();
|
||||
this.ResizeBuffers?.InvokeSafely();
|
||||
|
||||
// We have to ensure we're working with the main swapchain,
|
||||
// as viewports might be resizing as well
|
||||
|
|
|
|||
|
|
@ -393,7 +393,7 @@ namespace Dalamud.Interface
|
|||
/// </summary>
|
||||
internal void OpenConfig()
|
||||
{
|
||||
this.OpenConfigUi?.Raise();
|
||||
this.OpenConfigUi?.InvokeSafely();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
@ -401,7 +401,7 @@ namespace Dalamud.Interface
|
|||
/// </summary>
|
||||
internal void NotifyHideUi()
|
||||
{
|
||||
this.HideUi?.Raise();
|
||||
this.HideUi?.InvokeSafely();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
@ -409,7 +409,7 @@ namespace Dalamud.Interface
|
|||
/// </summary>
|
||||
internal void NotifyShowUi()
|
||||
{
|
||||
this.ShowUi?.Raise();
|
||||
this.ShowUi?.InvokeSafely();
|
||||
}
|
||||
|
||||
private void OnDraw()
|
||||
|
|
@ -429,7 +429,7 @@ namespace Dalamud.Interface
|
|||
if (!this.lastFrameUiHideState)
|
||||
{
|
||||
this.lastFrameUiHideState = true;
|
||||
this.HideUi?.Raise();
|
||||
this.HideUi?.InvokeSafely();
|
||||
}
|
||||
|
||||
return;
|
||||
|
|
@ -438,7 +438,7 @@ namespace Dalamud.Interface
|
|||
if (this.lastFrameUiHideState)
|
||||
{
|
||||
this.lastFrameUiHideState = false;
|
||||
this.ShowUi?.Raise();
|
||||
this.ShowUi?.InvokeSafely();
|
||||
}
|
||||
|
||||
if (!this.interfaceManager.FontsReady)
|
||||
|
|
@ -471,7 +471,7 @@ namespace Dalamud.Interface
|
|||
|
||||
try
|
||||
{
|
||||
this.Draw?.Raise();
|
||||
this.Draw?.InvokeSafely();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
|
@ -504,17 +504,17 @@ namespace Dalamud.Interface
|
|||
|
||||
private void OnBuildFonts()
|
||||
{
|
||||
this.BuildFonts?.Raise();
|
||||
this.BuildFonts?.InvokeSafely();
|
||||
}
|
||||
|
||||
private void OnAfterBuildFonts()
|
||||
{
|
||||
this.AfterBuildFonts?.Raise();
|
||||
this.AfterBuildFonts?.InvokeSafely();
|
||||
}
|
||||
|
||||
private void OnResizeBuffers()
|
||||
{
|
||||
this.ResizeBuffers?.Raise();
|
||||
this.ResizeBuffers?.InvokeSafely();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue