Mercurial > dillo_port1.3
changeset 1803:f203355a1cd9
fltkmisc
author | corvid <corvid@lavabit.com> |
---|---|
date | Thu, 06 Jan 2011 09:01:19 +0000 |
parents | 75fdddbb7c94 |
children | 101e50b741dd |
files | dw/fltkmisc.cc |
diffstat | 1 files changed, 5 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/dw/fltkmisc.cc Thu Jan 06 06:48:31 2011 +0000 +++ b/dw/fltkmisc.cc Thu Jan 06 09:01:19 2011 +0000 @@ -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 @@ 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