mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
Minesweeper: Start working on a simple minesweeper game. :^)
This commit is contained in:
parent
c06a3bdeb4
commit
a90e218c71
Notes:
sideshowbarker
2024-07-19 14:44:10 +09:00
Author: https://github.com/awesomekling
Commit: a90e218c71
17 changed files with 288 additions and 1 deletions
|
@ -41,7 +41,7 @@ public:
|
|||
|
||||
virtual const char* class_name() const override { return "GButton"; }
|
||||
|
||||
private:
|
||||
protected:
|
||||
virtual void paint_event(GPaintEvent&) override;
|
||||
virtual void mousedown_event(GMouseEvent&) override;
|
||||
virtual void mouseup_event(GMouseEvent&) override;
|
||||
|
@ -49,6 +49,7 @@ private:
|
|||
virtual void enter_event(CEvent&) override;
|
||||
virtual void leave_event(CEvent&) override;
|
||||
|
||||
private:
|
||||
String m_caption;
|
||||
RetainPtr<GraphicsBitmap> m_icon;
|
||||
ButtonStyle m_button_style { ButtonStyle::Normal };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue