summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorGreg Ercolano <erco@seriss.com>2013-04-10 21:16:16 +0000
committerGreg Ercolano <erco@seriss.com>2013-04-10 21:16:16 +0000
commit9fc45db999147a80d490ec8a6ecd64735316280b (patch)
treecc807b0cb20747141921a753f07df33c733a9c15 /FL
parent3fe3f24427853500b1b2c63aa1c0f6a728896e6f (diff)
As per notes from STR#2948:
Moved top_window_offset() to being a member of Fl_Widget (was Fl_Window) and moved its code near implementations of top_window() and window(). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9872 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl_Widget.H1
-rw-r--r--FL/Fl_Window.H1
2 files changed, 1 insertions, 1 deletions
diff --git a/FL/Fl_Widget.H b/FL/Fl_Widget.H
index 5f5c9a2d6..bd42506b0 100644
--- a/FL/Fl_Widget.H
+++ b/FL/Fl_Widget.H
@@ -921,6 +921,7 @@ public:
Fl_Window* window() const ;
Fl_Window* top_window() const;
+ Fl_Window* top_window_offset(int& xoff, int& yoff) const;
/** Returns an Fl_Group pointer if this widget is an Fl_Group.
diff --git a/FL/Fl_Window.H b/FL/Fl_Window.H
index bbd1f573f..d6997e601 100644
--- a/FL/Fl_Window.H
+++ b/FL/Fl_Window.H
@@ -120,7 +120,6 @@ protected:
\see force_position(int)
*/
int force_position() const { return ((flags() & FORCE_POSITION)?1:0); }
- Fl_Window* top_window_offset(int& xoff, int& yoff) const;
public: