diff options
author | corvid <corvid@lavabit.com> | 2011-01-06 09:01:19 +0000 |
---|---|---|
committer | corvid <corvid@lavabit.com> | 2011-01-06 09:01:19 +0000 |
commit | 7186ec06c2e4f0f5a2fd30c4022bfd197499e64c (patch) | |
tree | ab9bce5071e69e89b7a0b1dfad574685492aba14 /dw/fltkmisc.cc | |
parent | dfc472816706b5e6a3e2c42f7c83503d01aaeb87 (diff) |
fltkmisc
Diffstat (limited to 'dw/fltkmisc.cc')
-rw-r--r-- | dw/fltkmisc.cc | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/dw/fltkmisc.cc b/dw/fltkmisc.cc index 5d20a87a..01024f25 100644 --- a/dw/fltkmisc.cc +++ b/dw/fltkmisc.cc @@ -18,11 +18,10 @@ */ - +#include "../lout/msg.h" #include "fltkmisc.hh" -#include <fltk/events.h> -#include <fltk/Monitor.h> +#include <FL/Fl.H> #include <stdio.h> namespace dw { @@ -31,17 +30,17 @@ namespace misc { int screenWidth () { - return ::fltk::Monitor::all ().w (); + return Fl::w (); } int screenHeight () { - return ::fltk::Monitor::all ().h (); + return Fl::h (); } void warpPointer (int x, int y) { - ::fltk::warp_mouse (x, y); + MSG_ERR("no warpPointer mechanism available.\n"); } } // namespace misc |