diff options
Diffstat (limited to 'src/user/rhello/main.cpp')
-rw-r--r-- | src/user/rhello/main.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/user/rhello/main.cpp b/src/user/rhello/main.cpp index c92b430..f179317 100644 --- a/src/user/rhello/main.cpp +++ b/src/user/rhello/main.cpp @@ -1,6 +1,7 @@ #include <raleigh/w/padding.h> #include <raleigh/w/button.h> #include <raleigh/w/label.h> +#include <raleigh/w/entry.h> #include <raleigh/w/vbox.h> #include <raleigh/runtime.h> @@ -26,7 +27,11 @@ void main() { button b(pbl, &onclick); padding pb(b, 2); + entry e(6, 20, "I'm a text entry!\nEventually you will be able to edit me."); + padding pe(e, 2); + dllist<widget &> wl; + wl.add_front(pe); wl.add_front(pb); wl.add_front(pl); vbox vb(wl); |