> In fltk2 use fltk::Monitor::all().w() and ...h().
>
> Andreas Gr�tz wrote:
> >>> how can I get the height and width of the desktop? Is there a=20
> >>> way to achieve it with FLTK?
> >> Fl::w(), Fl::h() give the basic screen height, width, or if you have
> >> multiple monitors you can use screen_count();
> >> (Gets the number of available screens.)
> >>
> >> void screen_xywh(int &x, int &y, int &w, int &h);
> >> void screen_xywh(int &x, int &y, int &w, int &h, int mx, int my);
> >> void screen_xywh(int &x, int &y, int &w, int &h, int n);
> >>
> >> Give the various dimensions.
> >>
> >> But this is all in the docs, of course.
> >> http://www.fltk.org/doc-1.1/Fl.html
> >>
> >>
> >>
> >>
> >> SELEX Sensors and Airborne Systems Limited
> >> Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex=
> >>  SS14 3EL
> >> A company registered in England & Wales.  Company no. 02426132
> >> ********************************************************************
> >> This email and any attachments are confidential to the intended
> >> recipient and may also be privileged. If you are not the intended
> >> recipient please delete it from your system and notify the sender.
> >> You should not copy it or use it for any purpose nor disclose or
> >> distribute its contents to any other person.
> >> ********************************************************************
> >>
> > Oh yes,
> >
> > now I saw it. But I search it for Version 2(maybe it would be better, I had 
> > said it before (-: ). I don't find it in the documentation.
> >
> > Andreas
> >
> > (Excuxe my bad english)
> >

Thank you very much.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to