mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 09:30:24 +00:00
6aa2b7d4cc
This allows us to show a GML Preview in realtime via HackStudio::GMLPreviewWidget! :^)
23 lines
394 B
C++
23 lines
394 B
C++
/*
|
|
* Copyright (c) 2021, Conor Byrne <cbyrneee@protonmail.com>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <AK/LexicalPath.h>
|
|
#include <LibGUI/Widget.h>
|
|
|
|
namespace HackStudio {
|
|
|
|
class GMLPreviewWidget final : public GUI::Widget {
|
|
C_OBJECT(GMLPreviewWidget)
|
|
public:
|
|
void load_gml(String const&);
|
|
|
|
private:
|
|
explicit GMLPreviewWidget(String const&);
|
|
};
|
|
|
|
}
|