diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2011-01-09 14:26:21 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2011-01-09 14:26:21 +0000 |
| commit | 5f940c4e4b182f9f2185fdf09fa5be9ff4f75406 (patch) | |
| tree | 72d0ae636a53d3e4d4386ec26aa4e0985f6cbd43 /test/hello.cxx | |
| parent | 1277b4e9a2f2b517da22cc37e3ffd6869486b269 (diff) | |
Remove screen dimension test
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8226 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test/hello.cxx')
| -rw-r--r-- | test/hello.cxx | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/test/hello.cxx b/test/hello.cxx index d0daff93f..954d01eb4 100644 --- a/test/hello.cxx +++ b/test/hello.cxx @@ -30,17 +30,6 @@ #include <FL/Fl_Box.H> int main(int argc, char **argv) { -#if (1) // FIXME: test screen dimensions and resolution. Remove before release ! - float ppi_h, ppi_v; - int x,y,w,h; - int n = Fl::screen_count(); - for (int i=0; i<n; i++) { - Fl::screen_xywh(x,y,w,h,i); - Fl::screen_dpi(ppi_h, ppi_v, i); - printf("Screen %2d (%4d,%4d,%4d,%4d) res. is %7.3f x %7.3f ppi\n", i, x,y,w,h, ppi_h, ppi_v); - } - fflush(stdout); -#endif // FIXME: test screen dimensions and resolution. Remove before release ! 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); |
