mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 23:58:11 +00:00
LibGUI: Convert GTextBox, GTextEditor and GResizeCorner to ObjectPtr
This commit is contained in:
parent
4ea229accd
commit
93851c3832
25 changed files with 38 additions and 36 deletions
|
@ -55,9 +55,9 @@ int main(int argc, char** argv)
|
|||
auto label2 = GLabel::construct("GLabel 2", main_widget);
|
||||
label2->set_enabled(false);
|
||||
|
||||
auto* textbox1 = new GTextBox(main_widget);
|
||||
auto textbox1 = new GTextBox(main_widget);
|
||||
textbox1->set_text("GTextBox 1");
|
||||
auto* textbox2 = new GTextBox(main_widget);
|
||||
auto textbox2 = new GTextBox(main_widget);
|
||||
textbox2->set_text("GTextBox 2");
|
||||
textbox2->set_enabled(false);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue