I am using FLTK 1.4 bleeding edge on Linux (CentOS 6 latest kernel) on a Dell 64 bit Xeon-based workstation.
According to the 1.4 documentation, the subject methods return the dimension of the window including the window manager title bar. But I find that the results from these methods are identical to results from w() and h(). I mean, when the window in question is top-level (an Fl_Double_Window), not a sub-window.
Goal: I am trying to figure out max available drawable surface on a screen for sizing my application main window, as well as dialog windows. Yes, I also employ Fl::screen_work_area() and Fl::screen_xywh().
Attached is a trivial demo program that reports decorated_w() equals w() and and decorated_h() equals h(), at least in my environment .
Am I not understanding something?
TIA!