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

LibGUI: Remove parent parameter to GUI::Widget constructor

This commit is contained in:
Andreas Kling 2020-02-23 12:07:13 +01:00
parent 4ce28c32d1
commit c5d913970a
114 changed files with 207 additions and 313 deletions

View file

@ -37,7 +37,7 @@ class SquareLabel;
class Square {
AK_MAKE_NONCOPYABLE(Square)
public:
Square() {}
Square();
~Square();
Field* field { nullptr };
@ -48,8 +48,8 @@ public:
int row { 0 };
int column { 0 };
int number { 0 };
SquareButton* button { nullptr };
SquareLabel* label { nullptr };
RefPtr<SquareButton> button;
RefPtr<SquareLabel> label;
template<typename Callback>
void for_each_neighbor(Callback);