1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:57:35 +00:00

Minesweeper: Port to GML compilation

This patch ports minesweeper to GML compilation,
and introduces a few changes made to associated files.
This commit is contained in:
tetektoza 2023-09-25 19:45:37 +02:00 committed by Tim Schumacher
parent 1c37385904
commit 4db9996cc0
8 changed files with 95 additions and 30 deletions

View file

@ -0,0 +1,23 @@
/*
* Copyright (c) 2023, the SerenityOS developers
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <LibGUI/Widget.h>
namespace Minesweeper {
class CustomGameWidget : public GUI::Widget {
C_OBJECT_ABSTRACT(CustomGameWidget)
public:
static ErrorOr<NonnullRefPtr<CustomGameWidget>> try_create();
virtual ~CustomGameWidget() override = default;
private:
CustomGameWidget() = default;
};
}