mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
add "call original" test case
This commit is contained in:
parent
0745c0e5ec
commit
4b7f36fb27
1 changed files with 3 additions and 0 deletions
|
|
@ -1598,6 +1598,9 @@ namespace Dalamud.Interface.Internal.Windows
|
||||||
if (ImGui.Button("Disable"))
|
if (ImGui.Button("Disable"))
|
||||||
this.messageBoxMinHook?.Disable();
|
this.messageBoxMinHook?.Disable();
|
||||||
|
|
||||||
|
if (ImGui.Button("Call Original"))
|
||||||
|
this.messageBoxMinHook?.Original(IntPtr.Zero, "Hello from .Original", "Hook Test", NativeFunctions.MessageBoxType.Ok);
|
||||||
|
|
||||||
if (ImGui.Button("Dispose"))
|
if (ImGui.Button("Dispose"))
|
||||||
{
|
{
|
||||||
this.messageBoxMinHook?.Dispose();
|
this.messageBoxMinHook?.Dispose();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue