mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:07:44 +00:00
GButton: Convert most code to using ObjectPtr for GButton
This commit is contained in:
parent
55a6e4ac0b
commit
45cfd57f6e
20 changed files with 38 additions and 38 deletions
|
@ -32,7 +32,7 @@ int main(int argc, char** argv)
|
|||
auto flag_icon_label = GLabel::construct(container);
|
||||
flag_icon_label->set_icon(GraphicsBitmap::load_from_file("/res/icons/minesweeper/flag.png"));
|
||||
auto flag_label = GLabel::construct(container);
|
||||
auto* face_button = new GButton(container);
|
||||
auto face_button = GButton::construct(container);
|
||||
face_button->set_button_style(ButtonStyle::CoolBar);
|
||||
face_button->set_size_policy(SizePolicy::Fixed, SizePolicy::Fill);
|
||||
face_button->set_preferred_size(36, 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue