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
This commit is contained in:
parent
12e9d23bc3
commit
073701ce96
5
CHANGES
5
CHANGES
@ -1,5 +1,8 @@
|
|||||||
CHANGES IN FLTK 1.1.0b8
|
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
|
- Updated FLUID to only append a trailing semicolon to
|
||||||
code lines in a callback (so "#include" and friends
|
code lines in a callback (so "#include" and friends
|
||||||
will work...)
|
will work...)
|
||||||
@ -14,7 +17,7 @@ CHANGES IN FLTK 1.1.0b8
|
|||||||
not wait on shown(); this would cause them to return
|
not wait on shown(); this would cause them to return
|
||||||
prematurely if you switched desktops/workspaces.
|
prematurely if you switched desktops/workspaces.
|
||||||
- Cosmetic changes to plastic boxtypes. Now look much
|
- 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.
|
greater "3D" feeling to them.
|
||||||
- Added new Fl::draw_box_active() method so that
|
- Added new Fl::draw_box_active() method so that
|
||||||
boxtypes can find out if the widget they are drawing
|
boxtypes can find out if the widget they are drawing
|
||||||
|
@ -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).
|
// Main event handling code for the Fast Light Tool Kit (FLTK).
|
||||||
//
|
//
|
||||||
@ -650,6 +650,9 @@ void Fl_Window::hide() {
|
|||||||
|
|
||||||
if (!shown()) return;
|
if (!shown()) return;
|
||||||
|
|
||||||
|
// Hide any visible tooltips...
|
||||||
|
Fl_Tooltip::enter(0);
|
||||||
|
|
||||||
// remove from the list of windows:
|
// remove from the list of windows:
|
||||||
Fl_X* x = i;
|
Fl_X* x = i;
|
||||||
Fl_X** pp = &Fl_X::first;
|
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 $".
|
||||||
//
|
//
|
||||||
|
@ -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).
|
// 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_border_frame, 1,1,2,2,0}, // _FL_OVAL_FRAME
|
||||||
{fl_rectf, 0,0,0,0,0}, // _FL_OVAL_FLAT_BOX,
|
{fl_rectf, 0,0,0,0,0}, // _FL_OVAL_FLAT_BOX,
|
||||||
{fl_up_box, 4,4,8,8,0}, // _FL_PLASTIC_UP_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_up_frame, 2,2,4,4,0}, // _FL_PLASTIC_UP_FRAME,
|
||||||
{fl_down_frame, 2,2,4,4,0}, // _FL_PLASTIC_DOWN_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
|
{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 $".
|
||||||
//
|
//
|
||||||
|
Loading…
Reference in New Issue
Block a user