diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-12-17 01:16:48 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-12-17 01:16:48 +0000 |
| commit | 073701ce96b9abddd21078a61fbfc4f7668bad5d (patch) | |
| tree | 73d307f4b901e896bd0201ebb08de0e8637366b7 | |
| parent | 12e9d23bc39ed6edb88af89723449f39ff088fad (diff) | |
Hide tooltips when hiding a window.
Fix box borders for FL_PLASTIC_DOWN_BOX.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1858 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
| -rw-r--r-- | CHANGES | 5 | ||||
| -rw-r--r-- | src/Fl.cxx | 7 | ||||
| -rw-r--r-- | src/fl_boxtype.cxx | 6 |
3 files changed, 12 insertions, 6 deletions
@@ -1,5 +1,8 @@ CHANGES IN FLTK 1.1.0b8 + - Now hide the tooltip window whenever a window is + hidden. Otherwise a tooltip window could keep an + application running. - Updated FLUID to only append a trailing semicolon to code lines in a callback (so "#include" and friends will work...) @@ -14,7 +17,7 @@ CHANGES IN FLTK 1.1.0b8 not wait on shown(); this would cause them to return prematurely if you switched desktops/workspaces. - Cosmetic changes to plastic boxtypes. Now look much - better for large areas and the sides now have a much + better for large areas and the buttons now have a much greater "3D" feeling to them. - Added new Fl::draw_box_active() method so that boxtypes can find out if the widget they are drawing diff --git a/src/Fl.cxx b/src/Fl.cxx index d803583ce..f2fe08a13 100644 --- a/src/Fl.cxx +++ b/src/Fl.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl.cxx,v 1.24.2.41.2.11 2001/12/06 00:17:47 matthiaswm Exp $" +// "$Id: Fl.cxx,v 1.24.2.41.2.12 2001/12/17 01:16:48 easysw Exp $" // // Main event handling code for the Fast Light Tool Kit (FLTK). // @@ -650,6 +650,9 @@ void Fl_Window::hide() { if (!shown()) return; + // Hide any visible tooltips... + Fl_Tooltip::enter(0); + // remove from the list of windows: Fl_X* x = i; Fl_X** pp = &Fl_X::first; @@ -841,5 +844,5 @@ void Fl_Window::flush() { } // -// End of "$Id: Fl.cxx,v 1.24.2.41.2.11 2001/12/06 00:17:47 matthiaswm Exp $". +// End of "$Id: Fl.cxx,v 1.24.2.41.2.12 2001/12/17 01:16:48 easysw Exp $". // diff --git a/src/fl_boxtype.cxx b/src/fl_boxtype.cxx index f1e862c0e..ba68a490c 100644 --- a/src/fl_boxtype.cxx +++ b/src/fl_boxtype.cxx @@ -1,5 +1,5 @@ // -// "$Id: fl_boxtype.cxx,v 1.8.2.4.2.6 2001/12/16 12:37:02 easysw Exp $" +// "$Id: fl_boxtype.cxx,v 1.8.2.4.2.7 2001/12/17 01:16:48 easysw Exp $" // // Box drawing code for the Fast Light Tool Kit (FLTK). // @@ -223,7 +223,7 @@ static struct { {fl_border_frame, 1,1,2,2,0}, // _FL_OVAL_FRAME {fl_rectf, 0,0,0,0,0}, // _FL_OVAL_FLAT_BOX, {fl_up_box, 4,4,8,8,0}, // _FL_PLASTIC_UP_BOX, - {fl_down_box, 4,4,8,8,0}, // _FL_PLASTIC_DOWN_BOX, + {fl_down_box, 2,2,4,4,0}, // _FL_PLASTIC_DOWN_BOX, {fl_up_frame, 2,2,4,4,0}, // _FL_PLASTIC_UP_FRAME, {fl_down_frame, 2,2,4,4,0}, // _FL_PLASTIC_DOWN_FRAME, {fl_up_box, 3,3,6,6,0}, // FL_FREE_BOX+0 @@ -291,5 +291,5 @@ const { } // -// End of "$Id: fl_boxtype.cxx,v 1.8.2.4.2.6 2001/12/16 12:37:02 easysw Exp $". +// End of "$Id: fl_boxtype.cxx,v 1.8.2.4.2.7 2001/12/17 01:16:48 easysw Exp $". // |
