summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2016-03-03 00:07:17 +0000
committerMatthias Melcher <fltk@matthiasm.com>2016-03-03 00:07:17 +0000
commitfcdc7f1212f2b1cc44375f2764d2752dd257a40d (patch)
tree43e3e903a1a55f082e10a66d25305b7dd90d8ee3 /test
parent2d52a3494dcf1574287fed0c5ad89009de2b59e0 (diff)
Made Pico/SDL setup compile and run some minimal code.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11274 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test')
-rw-r--r--test/hello.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/hello.cxx b/test/hello.cxx
index ac1565996..76d8c2c2c 100644
--- a/test/hello.cxx
+++ b/test/hello.cxx
@@ -20,7 +20,11 @@
#include <FL/Fl_Window.H>
#include <FL/Fl_Box.H>
+
+#include <stdio.h>
+
int main(int argc, char **argv) {
+
Fl_Window *window = new Fl_Window(340,180);
Fl_Box *box = new Fl_Box(20,40,300,100,"Hello, World!");
box->box(FL_UP_BOX);