From ac04494e913d6091704ea0fcdfc1a164c3c176cb Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Mon, 12 Mar 2018 20:54:27 +0000 Subject: Android: fixed Fl_Rect.H commit. Cleaned up some driver code. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12743 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_Rect.H | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'FL') diff --git a/FL/Fl_Rect.H b/FL/Fl_Rect.H index 91f651392..e3c61f720 100644 --- a/FL/Fl_Rect.H +++ b/FL/Fl_Rect.H @@ -52,15 +52,11 @@ public: Fl_Rect(int X, int Y, int W, int H) : x_(X), y_(Y), w_(W), h_(H) {} - /** Copy constructor. */ - Fl_Rect (const Fl_Rect& r) - : x_(r.x()), y_(r.y()), w_(r.w()), h_(r.h()) {} - - /** This constructor creates a rectangle based a widget's position and size. */ + /** This constructor creates a rectangle based on a widget's position and size. */ Fl_Rect (const Fl_Widget& widget) : x_(widget.x()), y_(widget.y()), w_(widget.w()), h_(widget.h()) {} - /** This constructor creates a rectangle based a widget's position and size. */ + /** This constructor creates a rectangle based on a widget's position and size. */ Fl_Rect (const Fl_Widget* const widget) : x_(widget->x()), y_(widget->y()), w_(widget->w()), h_(widget->h()) {} -- cgit v1.2.3