Fix GDExtension compilation issues

This commit is contained in:
Serhii Snitsaruk 2024-05-27 14:27:14 +02:00
parent 6f8f95b5de
commit 0a28feb7a9
No known key found for this signature in database
GPG Key ID: A965EF8799FFEC2D
2 changed files with 2 additions and 1 deletions

View File

@ -1232,7 +1232,7 @@ void LimboAIEditor::_notification(int p_what) {
case NOTIFICATION_THEME_CHANGED: { case NOTIFICATION_THEME_CHANGED: {
_do_update_theme_item_cache(); _do_update_theme_item_cache();
tab_bar_panel->add_theme_style_override("panel", get_theme_stylebox(SNAME("tabbar_background"), SNAME("TabContainer"))); ADD_STYLEBOX_OVERRIDE(tab_bar_panel, "panel", get_theme_stylebox("tabbar_background", "TabContainer"));
BUTTON_SET_ICON(new_btn, get_theme_icon(LW_NAME(New), LW_NAME(EditorIcons))); BUTTON_SET_ICON(new_btn, get_theme_icon(LW_NAME(New), LW_NAME(EditorIcons)));
BUTTON_SET_ICON(load_btn, get_theme_icon(LW_NAME(Load), LW_NAME(EditorIcons))); BUTTON_SET_ICON(load_btn, get_theme_icon(LW_NAME(Load), LW_NAME(EditorIcons)));

View File

@ -57,6 +57,7 @@
#include <godot_cpp/classes/menu_button.hpp> #include <godot_cpp/classes/menu_button.hpp>
#include <godot_cpp/classes/panel.hpp> #include <godot_cpp/classes/panel.hpp>
#include <godot_cpp/classes/popup_menu.hpp> #include <godot_cpp/classes/popup_menu.hpp>
#include <godot_cpp/classes/tab_bar.hpp>
#include <godot_cpp/classes/texture2d.hpp> #include <godot_cpp/classes/texture2d.hpp>
#include <godot_cpp/variant/packed_string_array.hpp> #include <godot_cpp/variant/packed_string_array.hpp>
#include <godot_cpp/variant/variant.hpp> #include <godot_cpp/variant/variant.hpp>