mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:37:34 +00:00
Welcome: Port to GML Compiler
This commit is contained in:
parent
0a4ef6f3b7
commit
69ffdd5738
5 changed files with 15 additions and 16 deletions
|
@ -10,16 +10,18 @@
|
|||
#include <LibGfx/Font/BitmapFont.h>
|
||||
#include <LibWebView/OutOfProcessWebView.h>
|
||||
|
||||
namespace Welcome {
|
||||
class WelcomeWidget final : public GUI::Widget {
|
||||
C_OBJECT(WelcomeWidget);
|
||||
|
||||
public:
|
||||
static ErrorOr<NonnullRefPtr<WelcomeWidget>> try_create();
|
||||
static ErrorOr<NonnullRefPtr<WelcomeWidget>> create();
|
||||
virtual ~WelcomeWidget() override = default;
|
||||
|
||||
private:
|
||||
WelcomeWidget() = default;
|
||||
ErrorOr<void> create_widgets();
|
||||
static ErrorOr<NonnullRefPtr<WelcomeWidget>> try_create();
|
||||
|
||||
virtual void paint_event(GUI::PaintEvent&) override;
|
||||
|
||||
|
@ -41,3 +43,4 @@ private:
|
|||
size_t m_tip_index { 0 };
|
||||
Vector<String> m_tips;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue