diff options
| author | Greg Ercolano <erco@seriss.com> | 2013-04-08 18:24:17 +0000 |
|---|---|---|
| committer | Greg Ercolano <erco@seriss.com> | 2013-04-08 18:24:17 +0000 |
| commit | d5404dea25123567e9645d3e88a6cd0c14b2073f (patch) | |
| tree | f0d369b978f9781b7ff52d5507116c091340359a /FL | |
| parent | 2a5d5aab3000c5bc326b314bda144b98d5549633 (diff) | |
Fix for STR #2944 [2]: Fix Apple-specifc nested window problem for Fl_Gl_Window's.
Added new method Fl_Widget::window_offset(x,y)
to access the top-level window offset of the current widget.
Open to alternative names for the new method.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9866 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Fl_Window.H | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/FL/Fl_Window.H b/FL/Fl_Window.H index d6997e601..8b2f8196a 100644 --- a/FL/Fl_Window.H +++ b/FL/Fl_Window.H @@ -120,6 +120,7 @@ protected: \see force_position(int) */ int force_position() const { return ((flags() & FORCE_POSITION)?1:0); } + Fl_Window* window_offset(int& xoff, int& yoff) const; public: |
