Port 2V0-f window input and UI render command bridge
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
|
||||
#include <godot_cpp/classes/object.hpp>
|
||||
#include <godot_cpp/variant/string.hpp>
|
||||
#include <godot_cpp/variant/array.hpp>
|
||||
|
||||
namespace mtgodot {
|
||||
|
||||
@@ -29,6 +30,12 @@ public:
|
||||
static godot::String run_main_script(const godot::String &command_line);
|
||||
// One line of Python in the same __main__ dictionary. "" when it ran.
|
||||
static godot::String run_line(const godot::String &source);
|
||||
static void set_ui_size(int width, int height);
|
||||
static void ui_mouse_move(int x, int y);
|
||||
static void ui_mouse_button(int button, bool pressed, int x, int y);
|
||||
static void ui_key(int key, bool pressed);
|
||||
static void ui_update();
|
||||
static godot::Array ui_render_commands();
|
||||
static void stop();
|
||||
|
||||
protected:
|
||||
|
||||
Reference in New Issue
Block a user