diff options
Diffstat (limited to 'source/windowing/StarPane.cpp')
-rw-r--r-- | source/windowing/StarPane.cpp | 12 |
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; } |