From 56c99c086fd14ee1b1131cb7df18c1b55ede5519 Mon Sep 17 00:00:00 2001 From: Kae <80987908+Novaenia@users.noreply.github.com> Date: Sun, 24 Nov 2024 12:51:55 +1100 Subject: scriptable chat --- source/windowing/StarPane.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'source/windowing/StarPane.cpp') diff --git a/source/windowing/StarPane.cpp b/source/windowing/StarPane.cpp index 1511fed..1e20402 100644 --- a/source/windowing/StarPane.cpp +++ b/source/windowing/StarPane.cpp @@ -411,6 +411,18 @@ LuaCallbacks Pane::makePaneCallbacks() { return isDisplayed(); }); + callbacks.registerCallback("hasFocus", [this]() { + hasFocus(); + }); + + callbacks.registerCallback("show", [this]() { + show(); + }); + + callbacks.registerCallback("hide", [this]() { + hide(); + }); + return callbacks; } -- cgit v1.2.3