summaryrefslogtreecommitdiff
path: root/test/hello.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2007-01-18 15:25:09 +0000
committerMatthias Melcher <fltk@matthiasm.com>2007-01-18 15:25:09 +0000
commitfbd01308b987713ed7487014f15abb99dd5ae2d2 (patch)
tree2fba41b68759b32c428e2b4bb31552c2a6df63a7 /test/hello.cxx
parent32a8df787c76d7bd542b5903af86867d8704b8bb (diff)
Fixed Quartz image drawing and screen reading
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5614 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test/hello.cxx')
-rw-r--r--test/hello.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/hello.cxx b/test/hello.cxx
index 178d52934..a8622c122 100644
--- a/test/hello.cxx
+++ b/test/hello.cxx
@@ -28,8 +28,11 @@
#include <FL/Fl.H>
#include <FL/Fl_Window.H>
#include <FL/Fl_Box.H>
+#include <FL/filename.H>
int main(int argc, char **argv) {
+ char b[1024];
+ fl_filename_relative(b, 1024, "/Users/matt/proj/source");
Fl_Window *window = new Fl_Window(300,180);
Fl_Box *box = new Fl_Box(FL_UP_BOX,20,40,260,100,"Hello, World!");
box->labelfont(FL_BOLD+FL_ITALIC);