Refactor Bottom Panel to be a TabContainer

This commit is contained in:
Logan Detrick 2025-07-07 17:09:23 -07:00
parent 250ef8dc32
commit e2caff9a06
18 changed files with 272 additions and 358 deletions

View file

@ -143,9 +143,6 @@ private:
// Reusable RichTextLabel for BBCode parsing during search
RichTextLabel *bbcode_parser = nullptr;
// Reference to the "Output" button on the toolbar so we can update its icon when warnings or errors are encountered.
Button *tool_button = nullptr;
bool is_loading_state = false; // Used to disable saving requests while loading (some signals from buttons will try to trigger a save, which happens during loading).
Timer *save_state_timer = nullptr;
@ -169,6 +166,7 @@ private:
void _process_message(const String &p_msg, MessageType p_type, bool p_clear);
void _reset_message_counts();
void _set_dock_tab_icon(Ref<Texture2D> p_icon);
void _set_collapse(bool p_collapse);
@ -184,7 +182,6 @@ protected:
public:
void add_message(const String &p_msg, MessageType p_type = MSG_TYPE_STD);
void set_tool_button(Button *p_tool_button);
void register_undo_redo(UndoRedo *p_undo_redo);
void deinit();