From 406af09ade55553e2b064506c3ba3c89bd965d73 Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Thu, 4 Mar 2021 19:11:42 -0500 Subject: start of a c++ widget toolkit, c++ runtime --- src/user/rhello/main.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/user/rhello/main.cpp (limited to 'src/user/rhello') 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 +#include +#include +#include + +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 -- cgit v1.2.3