Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "windows.h"
- int main()
- {
- W::Window appWindow("Hello World", W::Size(600, 800), W::WindowStyle::Default);
- appWindow.Show();
- appWindow.Draw(W::Text("Hello World"), 0, 0);
- appWindow.on("close", &(void)(W::Window* window)
- {
- window->Terminate();
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement