diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/hello.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/hello.cxx b/test/hello.cxx index 954d01eb4..e4372e49a 100644 --- a/test/hello.cxx +++ b/test/hello.cxx @@ -30,6 +30,9 @@ #include <FL/Fl_Box.H> int main(int argc, char **argv) { + float h, v; + Fl::screen_dpi(h, v); + printf("Screen res is %g x %g ppi\n", h, v); 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); |
