DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New] Link: http://www.fltk.org/str.php?L2697 Version: 1.3-current The Fl::w() etc. interface comes form a time when computers had a single screen. I suggest that we mark the interface as deprecated, returning the works space of the desktop window. Apps that use this interface are simply not multiscreen capable. It will lead to menus popping up on the main screen even if the app window is in another screen, but that is still better than using any arbitrary screen as a reference. The screen_xywh should get a new function work_area_xywh, or similar as the new interface. As a side note: FLTK2 has its own class flak::Monitor to handle all this. That will also be the solution for FLTK 3: class FL_API Monitor : public Rectangle { int depth_; float dpi_x_; float dpi_y_; public: Rectangle work; // Allows you to do rect->work.x(), etc. int depth() const {return depth_;} float dpi_x() const {return dpi_x_;} float dpi_y() const {return dpi_y_;} float dpi() const {return dpi_y_;} static int list(const Monitor**); static const Monitor& all(); static const Monitor& find(int x, int y); }; Link: http://www.fltk.org/str.php?L2697 Version: 1.3-current _______________________________________________ fltk-bugs mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-bugs
