|
|
commit d73327e18167f00aca8e6a8b62fd6105139914d8
Author: Albrecht Schlosser <albrechts.fltk@online.de>
AuthorDate: Thu Jul 14 20:05:21 2022 +0200
Commit: Albrecht Schlosser <albrechts.fltk@online.de>
CommitDate: Thu Jul 14 20:05:21 2022 +0200
Document that Fl_Help_View can't be used with FL_NO_BOX
This widget overrides FL_NO_BOX internally by FL_UP_BOX for all
practical purposes, e.g. draw(). This has been this way since
its initial release and can't be changed.
FL/Fl_Help_View.H | 4 ++++
1 file changed, 4 insertions(+)
diff --git FL/Fl_Help_View.H FL/Fl_Help_View.H
index 4df878b..32e993a 100644
--- FL/Fl_Help_View.H
+++ FL/Fl_Help_View.H
@@ -190,6 +190,10 @@ struct Fl_Help_Target {
- Yacute yacute
- yen Yuml yuml
+ \note You can't effectively set the box() to FL_NO_BOX, this would result
+ in FL_DOWN_BOX being used as the boxtype of the widget. This is unexpected
+ but can't be changed for backwards compatibility. If you don't want a frame
+ around the widget you can use FL_FLAT_BOX instead.
*/
class FL_EXPORT Fl_Help_View : public Fl_Group { // Help viewer widget
[ Direct Link to Message ] | |
|
| |