diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-12-07 16:28:38 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-12-07 16:28:38 +0000 |
| commit | a93a8031f17f258f7b4b6b569c26aed6e3d14649 (patch) | |
| tree | 0afbb86e8e41ce234359a6994b71cb27e918fecf /src/Fl_Widget.cxx | |
| parent | e92f9842b74616de9db30296d6bcd43b6cc05142 (diff) | |
Line style and focus boxes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1821 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Widget.cxx')
| -rw-r--r-- | src/Fl_Widget.cxx | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/Fl_Widget.cxx b/src/Fl_Widget.cxx index 7a3b4a3ef..717f75e84 100644 --- a/src/Fl_Widget.cxx +++ b/src/Fl_Widget.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_Widget.cxx,v 1.5.2.4.2.8 2001/11/28 20:43:44 easysw Exp $" +// "$Id: Fl_Widget.cxx,v 1.5.2.4.2.9 2001/12/07 16:28:38 easysw Exp $" // // Base widget class for the Fast Light Tool Kit (FLTK). // @@ -147,9 +147,13 @@ Fl_Widget::draw_focus(Fl_Boxtype B, int X, int Y, int W, int H) const { fl_color(fl_contrast(FL_BLACK, color())); -#ifdef WIN32 +#if defined(WIN32) || defined(__APPLE__) // Windows 95/98/ME do not implement the dotted line style, so draw // every other pixel around the focus area... + // + // Also, QuickDraw (MacOS) does not support line styles specifically, + // and the hack we use in fl_line_style() will not horizontal lines + // on odd-numbered rows... int i, xx, yy; X += Fl::box_dx(B); @@ -244,5 +248,5 @@ int Fl_Widget::contains(const Fl_Widget *o) const { } // -// End of "$Id: Fl_Widget.cxx,v 1.5.2.4.2.8 2001/11/28 20:43:44 easysw Exp $". +// End of "$Id: Fl_Widget.cxx,v 1.5.2.4.2.9 2001/12/07 16:28:38 easysw Exp $". // |
