diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2011-01-01 13:23:25 +0000 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2011-01-01 13:23:25 +0000 |
| commit | a5068114001a76c15732f3204289c3519f5c9ae7 (patch) | |
| tree | b9d97890cd8430530e662767e8805b263cbb0581 /test | |
| parent | 5d0d8101836792595e46d89552a32cfa922d4cf2 (diff) | |
Adjusted test/hello.cxx for potentially wider XFT fonts and changed the
code to match the documentation in basics.dox.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8154 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test')
| -rw-r--r-- | test/hello.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/hello.cxx b/test/hello.cxx index fc5c02d8f..954d01eb4 100644 --- a/test/hello.cxx +++ b/test/hello.cxx @@ -30,8 +30,9 @@ #include <FL/Fl_Box.H> int main(int argc, char **argv) { - Fl_Window *window = new Fl_Window(300,180); - Fl_Box *box = new Fl_Box(FL_UP_BOX,20,40,260,100,"Hello, World!"); + 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); box->labelfont(FL_BOLD+FL_ITALIC); box->labelsize(36); box->labeltype(FL_SHADOW_LABEL); |
