Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/windowing/StarPane.cpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2024-11-24 12:51:55 +1100
committerKae <80987908+Novaenia@users.noreply.github.com>2024-11-24 12:51:55 +1100
commit56c99c086fd14ee1b1131cb7df18c1b55ede5519 (patch)
tree2374579586f961063f0cab46ff6beb921149327e /source/windowing/StarPane.cpp
parentd4c976bcb3ec75c94298c6b8776487809367498b (diff)
scriptable chat
Diffstat (limited to 'source/windowing/StarPane.cpp')
-rw-r--r--source/windowing/StarPane.cpp12
1 files changed, 12 insertions, 0 deletions
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;
}