1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:17:44 +00:00

HackStudio: Add GML Preview action tab

This allows us to show a GML Preview in realtime via
HackStudio::GMLPreviewWidget! :^)
This commit is contained in:
Conor Byrne 2021-07-28 20:58:16 +01:00 committed by Andreas Kling
parent 0295cf96a8
commit 6aa2b7d4cc
5 changed files with 79 additions and 0 deletions

View file

@ -13,6 +13,7 @@
#include "Debugger/DisassemblyWidget.h"
#include "EditorWrapper.h"
#include "FindInFilesWidget.h"
#include "GMLPreviewWidget.h"
#include "Git/DiffViewer.h"
#include "Git/GitWidget.h"
#include "Locator.h"
@ -119,6 +120,8 @@ private:
void hide_action_tabs();
bool any_document_is_dirty() const;
void update_gml_preview();
NonnullRefPtrVector<EditorWrapper> m_all_editor_wrappers;
RefPtr<EditorWrapper> m_current_editor_wrapper;
@ -135,6 +138,7 @@ private:
RefPtr<GUI::Splitter> m_editors_splitter;
RefPtr<DiffViewer> m_diff_viewer;
RefPtr<GitWidget> m_git_widget;
RefPtr<GMLPreviewWidget> m_gml_preview_widget;
RefPtr<ClassViewWidget> m_class_view;
RefPtr<GUI::Menu> m_project_tree_view_context_menu;
RefPtr<GUI::Statusbar> m_statusbar;