rewrite time
This commit is contained in:
parent
d6b9b87da4
commit
4428cfe12c
24 changed files with 1208 additions and 893 deletions
|
|
@ -3,18 +3,6 @@ import std;
|
|||
using namespace Crafter;
|
||||
|
||||
int main() {
|
||||
/*
|
||||
This creates a window titled "HelloWindow" with a size of 1280x720 pixels.
|
||||
The WindowWaylandWayland class is a specialized window implementation
|
||||
that uses the Wayland display server protocol and renderer (hence the name "WaylandWayland").
|
||||
*/
|
||||
Window window("HelloWindow", 1280, 720);
|
||||
|
||||
/*
|
||||
This starts the window’s main event loop, allowing it to respond to user input and system events.
|
||||
The window will remain open and responsive until it is closed.
|
||||
You can hook into various events through the event system.
|
||||
This call blocks the current thread; to run the event loop asynchronously, use StartAsync instead.
|
||||
*/
|
||||
Window<true, true, false, false> window(1280, 720, "HelloWindow");
|
||||
window.StartSync();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue