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.
This commit is contained in:
Albrecht Schlosser
2022-07-14 20:05:21 +02:00
parent 2327ede74c
commit d73327e181
+4
View File
@@ -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