feat: key pressed event interception & 'owner' input.add_callback third argument
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
#pragma once
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include "api_lua.hpp"
|
||||
#include "frontend/UiDocument.hpp"
|
||||
#include "graphics/ui/elements/UINode.hpp"
|
||||
|
||||
struct DocumentNode {
|
||||
UiDocument* document;
|
||||
std::shared_ptr<gui::UINode> node;
|
||||
};
|
||||
|
||||
DocumentNode get_document_node(lua::State* L, int idx = 1);
|
||||
Reference in New Issue
Block a user