12 |
* lib/util.c (flevent): FL_KEYBOARD has been replaced by FL_KEYPRESS. |
* lib/util.c (flevent): FL_KEYBOARD has been replaced by FL_KEYPRESS. |
13 |
The former is retained for compatability, but the latter should be |
The former is retained for compatability, but the latter should be |
14 |
used internally. |
used internally. |
15 |
|
|
16 |
|
2003-04-08 Angus Leeming <angus.leeming@btopenworld.com> |
17 |
|
|
18 |
|
Enable tooltips to be shown correctly in "composite" widgets |
19 |
|
such as the browser. |
20 |
|
|
21 |
|
* lib/objects.c (get_parent): new static helper function. Given an |
22 |
|
FL_OBJECT*, returns its parent FL_OBJECT. |
23 |
|
(tooltip_handler): rewritten to show the tooltip that is stored |
24 |
|
by the parent FL_OBJECT. |
25 |
|
(hide_tooltip): new static helper function: on leaving an FL_OBJECT, |
26 |
|
only hide the tooltip if we have also left the bounds of the parent |
27 |
|
FL_OBJECT. |
28 |
|
(fl_handle_it): make use of these new functions to show and hide |
29 |
|
tooltips. |
30 |
|
|