diff options
author | hop311 <hop3114@gmail.com> | 2024-07-30 01:02:35 +0200 |
---|---|---|
committer | hop311 <hop3114@gmail.com> | 2024-07-30 01:07:56 +0200 |
commit | 70f3c3cf6f9c1563d95ffb8c25bf8cd2bb7a1ad0 (patch) | |
tree | 5f96f7520816721a058bef8e59929c961d4c7ef2 /extension/src/openvic-extension/classes/GUINode.hpp | |
parent | bf4d061b06374cd696f1f1644548f4d7af86f5ec (diff) |
Search panel + text edit box UI generationsearch-panel
Diffstat (limited to 'extension/src/openvic-extension/classes/GUINode.hpp')
-rw-r--r-- | extension/src/openvic-extension/classes/GUINode.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/extension/src/openvic-extension/classes/GUINode.hpp b/extension/src/openvic-extension/classes/GUINode.hpp index 27ce780..f8eb62c 100644 --- a/extension/src/openvic-extension/classes/GUINode.hpp +++ b/extension/src/openvic-extension/classes/GUINode.hpp @@ -6,6 +6,7 @@ #include <godot_cpp/classes/image.hpp> #include <godot_cpp/classes/input_event.hpp> #include <godot_cpp/classes/label.hpp> +#include <godot_cpp/classes/line_edit.hpp> #include <godot_cpp/classes/node.hpp> #include <godot_cpp/classes/panel.hpp> #include <godot_cpp/classes/ref.hpp> @@ -58,6 +59,7 @@ namespace OpenVic { static GUIOverlappingElementsBox* get_gui_overlapping_elements_box_from_node(godot::Node* node); static GUIScrollbar* get_gui_scrollbar_from_node(godot::Node* node); static GUIListBox* get_gui_listbox_from_node(godot::Node* node); + static godot::LineEdit* get_line_edit_from_node(godot::Node* node); godot::Button* get_button_from_nodepath(godot::NodePath const& path) const; godot::Label* get_label_from_nodepath(godot::NodePath const& path) const; @@ -67,6 +69,7 @@ namespace OpenVic { GUIOverlappingElementsBox* get_gui_overlapping_elements_box_from_nodepath(godot::NodePath const& path) const; GUIScrollbar* get_gui_scrollbar_from_nodepath(godot::NodePath const& path) const; GUIListBox* get_gui_listbox_from_nodepath(godot::NodePath const& path) const; + godot::LineEdit* get_line_edit_from_nodepath(godot::NodePath const& path) const; /* Helper functions to get textures from TextureRects and Buttons. */ static godot::Ref<godot::Texture2D> get_texture_from_node(godot::Node* node); |