mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 04:09:13 +00:00
LibGUI: Convert GWindow to ObjectPtr
This commit is contained in:
parent
70412c7d4f
commit
7584480f62
Notes:
sideshowbarker
2024-07-19 12:01:24 +09:00
Author: https://github.com/awesomekling
Commit: 7584480f62
25 changed files with 37 additions and 37 deletions
|
@ -17,7 +17,7 @@ int main(int argc, char** argv)
|
|||
AClientConnection audio_connection;
|
||||
audio_connection.handshake();
|
||||
|
||||
auto* window = new GWindow;
|
||||
auto window = GWindow::construct();
|
||||
window->set_title("Piano");
|
||||
window->set_rect(100, 100, 512, 512);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue