feat(UiBuilder): add OverrideGameCursor

This commit is contained in:
goat 2021-04-28 14:19:57 +02:00
parent 7605570fb0
commit 64eb2e60cf
No known key found for this signature in database
GPG key ID: F18F057873895461
4 changed files with 24 additions and 2 deletions

View file

@ -87,6 +87,15 @@ namespace Dalamud.Interface
/// </summary>
public bool DisableGposeUiHide { get; set; } = false;
/// <summary>
/// Gets or sets a value indicating whether or not the game's cursor should be overridden with the ImGui cursor.
/// </summary>
public bool OverrideGameCursor
{
get => this.dalamud.InterfaceManager.OverrideGameCursor;
set => this.dalamud.InterfaceManager.OverrideGameCursor = value;
}
/// <summary>
/// Gets or sets an action that is called any time ImGui fonts need to be rebuilt.<br/>
/// Any ImFontPtr objects that you store <strong>can be invalidated</strong> when fonts are rebuilt