diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-09-04 13:13:29 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-09-04 13:13:29 +0000 |
| commit | 9a528400f083b3761e0d54565ea1002604f5472a (patch) | |
| tree | 789a2d8e0283ad5715026bba5dcd4ce805a067f5 /src/Fl_Return_Button.cxx | |
| parent | bc3de1ec15062a9016150c124d6a4d6c14d87720 (diff) | |
Doco updates.
Add directory-only support to Fl_FileBrowser.
Update button and menu drawing code for check and radio buttons.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1582 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Return_Button.cxx')
| -rw-r--r-- | src/Fl_Return_Button.cxx | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/Fl_Return_Button.cxx b/src/Fl_Return_Button.cxx index 55723fcb0..7394a23e3 100644 --- a/src/Fl_Return_Button.cxx +++ b/src/Fl_Return_Button.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_Return_Button.cxx,v 1.5.2.3.2.1 2001/08/04 16:43:31 easysw Exp $" +// "$Id: Fl_Return_Button.cxx,v 1.5.2.3.2.2 2001/09/04 13:13:29 easysw Exp $" // // Return button widget for the Fast Light Tool Kit (FLTK). // @@ -53,11 +53,7 @@ void Fl_Return_Button::draw() { if (w()/3 < W) W = w()/3; fl_return_arrow(x()+w()-W-4, y(), W, h()); draw_label(x(), y(), w()-W+4, h()); - if (Fl::focus() == this) { - fl_line_style(FL_DASH); - fl_rect(x() + 4, y() + 4, w() - 8, h() - 8); - fl_line_style(FL_SOLID); - } + if (Fl::focus() == this) draw_focus(); } int Fl_Return_Button::handle(int event) { @@ -70,5 +66,5 @@ int Fl_Return_Button::handle(int event) { } // -// End of "$Id: Fl_Return_Button.cxx,v 1.5.2.3.2.1 2001/08/04 16:43:31 easysw Exp $". +// End of "$Id: Fl_Return_Button.cxx,v 1.5.2.3.2.2 2001/09/04 13:13:29 easysw Exp $". // |
