mirror of
https://github.com/RGBCube/serenity
synced 2025-05-23 16:05:08 +00:00
LibGUI: Convert GWindow to ObjectPtr
This commit is contained in:
parent
70412c7d4f
commit
7584480f62
25 changed files with 37 additions and 37 deletions
|
@ -12,7 +12,7 @@ int main(int argc, char** argv)
|
|||
{
|
||||
GApplication app(argc, argv);
|
||||
|
||||
auto* window = new GWindow;
|
||||
auto window = GWindow::construct();
|
||||
window->set_title("ChanViewer");
|
||||
window->set_rect(100, 100, 800, 500);
|
||||
window->set_icon(load_png("/res/icons/16x16/app-chanviewer.png"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue