summaryrefslogtreecommitdiff
path: root/Thread/WindowsBased/example
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-08-07 21:53:55 +0800
committerchai <chaifix@163.com>2018-08-07 21:53:55 +0800
commit926584873cd9a83458ac482c02902f4eedb1e9d3 (patch)
tree2ed019c5b8e6f391ae7a0268a200b51b7ffe293e /Thread/WindowsBased/example
Diffstat (limited to 'Thread/WindowsBased/example')
-rw-r--r--Thread/WindowsBased/example/test.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/Thread/WindowsBased/example/test.cpp b/Thread/WindowsBased/example/test.cpp
new file mode 100644
index 0000000..b7b7279
--- /dev/null
+++ b/Thread/WindowsBased/example/test.cpp
@@ -0,0 +1,11 @@
+#include "../cpp-utils-master/ui/ui/ui.h"
+
+using namespace ui;
+
+int ui_main()
+{
+ window w(256, 256);
+ w << "Hello World!";
+ w.waitkey();
+ return 0;
+}