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:
parent
4ce28c32d1
commit
c5d913970a
114 changed files with 207 additions and 313 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue