From 23a6001541fe66d7cbe1184ca562174a4ac54e6d Mon Sep 17 00:00:00 2001 From: goat <16760685+goaaats@users.noreply.github.com> Date: Tue, 24 Aug 2021 16:45:14 +0200 Subject: [PATCH] refactor: Draw, OpenConfigUi now Action --- Dalamud/Interface/UiBuilder.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dalamud/Interface/UiBuilder.cs b/Dalamud/Interface/UiBuilder.cs index c6e9daede..91ed6ccc0 100644 --- a/Dalamud/Interface/UiBuilder.cs +++ b/Dalamud/Interface/UiBuilder.cs @@ -44,12 +44,12 @@ namespace Dalamud.Interface /// The delegate that gets called when Dalamud is ready to draw your windows or overlays. /// When it is called, you can use static ImGui calls. /// - public event RawDX11Scene.BuildUIDelegate Draw; + public event Action Draw; /// /// Event that is fired when the plugin should open its configuration interface. /// - public event EventHandler OpenConfigUi; + public event Action OpenConfigUi; /// /// Gets or sets an action that is called any time ImGui fonts need to be rebuilt.