diff options
| author | Bill Spitzak <spitzak@gmail.com> | 2000-10-17 06:53:20 +0000 |
|---|---|---|
| committer | Bill Spitzak <spitzak@gmail.com> | 2000-10-17 06:53:20 +0000 |
| commit | a5d75b0fcda62406a8bbb5c2bd335f46a42ade60 (patch) | |
| tree | aa85d397c165cafa86cfc4b6602e783e9b0de0b8 | |
| parent | 00cf38e1e3ed459a9532d35447b3e476cb3024b7 (diff) | |
Fl_Tabs draws the background behind the tabs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1312 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
| -rw-r--r-- | src/Fl_Tabs.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Fl_Tabs.cxx b/src/Fl_Tabs.cxx index 37bb9f021..d04bc87e2 100644 --- a/src/Fl_Tabs.cxx +++ b/src/Fl_Tabs.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_Tabs.cxx,v 1.6.2.8 2000/08/30 05:51:39 spitzak Exp $" +// "$Id: Fl_Tabs.cxx,v 1.6.2.9 2000/10/17 06:53:20 spitzak Exp $" // // Tab widget for the Fast Light Tool Kit (FLTK). // @@ -197,6 +197,8 @@ void Fl_Tabs::draw() { Fl_Widget *v = value(); int H = tab_height(); if (damage() & FL_DAMAGE_ALL) { // redraw the entire thing: + fl_color(color()); + fl_rectf(x(), y()+(H>=0?0:h()+H), w(), H>=0?H:-H); fl_clip(x(), y()+(H>=0?H:0), w(), h()-(H>=0?H:-H)); draw_box(box(), x(), y(), w(), h(), v ? v->color() : color()); fl_pop_clip(); @@ -273,5 +275,5 @@ Fl_Tabs::Fl_Tabs(int X,int Y,int W, int H, const char *l) : } // -// End of "$Id: Fl_Tabs.cxx,v 1.6.2.8 2000/08/30 05:51:39 spitzak Exp $". +// End of "$Id: Fl_Tabs.cxx,v 1.6.2.9 2000/10/17 06:53:20 spitzak Exp $". // |
