diff options
author | Benji Dial <benji6283@gmail.com> | 2021-03-04 19:11:42 -0500 |
---|---|---|
committer | Benji Dial <benji6283@gmail.com> | 2021-03-04 19:11:42 -0500 |
commit | 406af09ade55553e2b064506c3ba3c89bd965d73 (patch) | |
tree | dd6da93bc329d6b1097aa1afcde2af19491dfc8e /src/user/rhello/main.cpp | |
parent | 86af7f631080bc4b45846bd7f382c4cedcbec2b4 (diff) | |
download | portland-os-406af09ade55553e2b064506c3ba3c89bd965d73.tar.gz |
start of a c++ widget toolkit, c++ runtime
Diffstat (limited to 'src/user/rhello/main.cpp')
-rw-r--r-- | src/user/rhello/main.cpp | 13 |
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 |