diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2003-08-02 21:17:30 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2003-08-02 21:17:30 +0000 |
| commit | c99d122b45b3fb2435871cf352ad00642f01db68 (patch) | |
| tree | 499bbf0a30227378a93b3d947dd4adf76e6fb1be /fluid/Fl_Widget_Type.cxx | |
| parent | 2fc4d518cc1c82293147989f338f4a62ec66113a (diff) | |
Fix FLUID redraw bug when changing X,Y,W,H in the widget panel (STR #120)
Fix copyrights on some files that still showed -2002...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3070 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid/Fl_Widget_Type.cxx')
| -rw-r--r-- | fluid/Fl_Widget_Type.cxx | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/fluid/Fl_Widget_Type.cxx b/fluid/Fl_Widget_Type.cxx index 4ad5cf25e..a709f2641 100644 --- a/fluid/Fl_Widget_Type.cxx +++ b/fluid/Fl_Widget_Type.cxx @@ -1,9 +1,9 @@ // -// "$Id: Fl_Widget_Type.cxx,v 1.15.2.16.2.26 2003/07/12 04:20:48 easysw Exp $" +// "$Id: Fl_Widget_Type.cxx,v 1.15.2.16.2.27 2003/08/02 21:17:30 easysw Exp $" // // Widget type code for the Fast Light Tool Kit (FLTK). // -// Copyright 1998-2002 by Bill Spitzak and others. +// Copyright 1998-2003 by Bill Spitzak and others. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Library General Public @@ -396,6 +396,7 @@ void x_cb(Fl_Value_Input *i, void *v) { if (o->selected && o->is_widget()) { Fl_Widget *w = ((Fl_Widget_Type *)o)->o; w->resize((int)i->value(), w->y(), w->w(), w->h()); + if (w->window()) w->window()->redraw(); } } } @@ -412,6 +413,7 @@ void y_cb(Fl_Value_Input *i, void *v) { if (o->selected && o->is_widget()) { Fl_Widget *w = ((Fl_Widget_Type *)o)->o; w->resize(w->x(), (int)i->value(), w->w(), w->h()); + if (w->window()) w->window()->redraw(); } } } @@ -428,6 +430,7 @@ void w_cb(Fl_Value_Input *i, void *v) { if (o->selected && o->is_widget()) { Fl_Widget *w = ((Fl_Widget_Type *)o)->o; w->resize(w->x(), w->y(), (int)i->value(), w->h()); + if (w->window()) w->window()->redraw(); } } } @@ -444,6 +447,7 @@ void h_cb(Fl_Value_Input *i, void *v) { if (o->selected && o->is_widget()) { Fl_Widget *w = ((Fl_Widget_Type *)o)->o; w->resize(w->x(), w->y(), w->w(), (int)i->value()); + if (w->window()) w->window()->redraw(); } } } @@ -1978,5 +1982,5 @@ int Fl_Widget_Type::read_fdesign(const char* propname, const char* value) { } // -// End of "$Id: Fl_Widget_Type.cxx,v 1.15.2.16.2.26 2003/07/12 04:20:48 easysw Exp $". +// End of "$Id: Fl_Widget_Type.cxx,v 1.15.2.16.2.27 2003/08/02 21:17:30 easysw Exp $". // |
