summaryrefslogtreecommitdiff
path: root/src/user/rhello
diff options
context:
space:
mode:
Diffstat (limited to 'src/user/rhello')
-rw-r--r--src/user/rhello/main.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/user/rhello/main.cpp b/src/user/rhello/main.cpp
new file mode 100644
index 0000000..750818c
--- /dev/null
+++ b/src/user/rhello/main.cpp
@@ -0,0 +1,13 @@
+#include <raleigh/w/padding.h>
+#include <raleigh/w/label.h>
+#include <raleigh/runtime.h>
+#include <raleigh/window.h>
+
+using namespace raleigh;
+
+void main() {
+ label l("Hello, world! Close me with Alt+F4.");
+ padding p(4, RGB(bf, bf, bf), l);
+ window w(p);
+ start_runtime();
+} \ No newline at end of file