summaryrefslogtreecommitdiff
path: root/FL/Fl_Multi_Browser.H
diff options
context:
space:
mode:
authorGreg Ercolano <erco@seriss.com>2019-07-26 13:32:18 -0700
committerGreg Ercolano <erco@seriss.com>2019-07-26 13:32:18 -0700
commit9e4c207e27505f183e940804668a678cd68888c8 (patch)
tree28a129999586a39a505bf44519bd363ae19f4da7 /FL/Fl_Multi_Browser.H
parent6046da2992b7a3b65a4592ee749eb17ecbb7ef3e (diff)
Added example images for Fl_[Hold/Multi]_Browser
Diffstat (limited to 'FL/Fl_Multi_Browser.H')
-rw-r--r--FL/Fl_Multi_Browser.H10
1 files changed, 7 insertions, 3 deletions
diff --git a/FL/Fl_Multi_Browser.H b/FL/Fl_Multi_Browser.H
index 8774fd713..39bd446b3 100644
--- a/FL/Fl_Multi_Browser.H
+++ b/FL/Fl_Multi_Browser.H
@@ -26,8 +26,12 @@
/**
The Fl_Multi_Browser class is a subclass of Fl_Browser
- which lets the user select any set of the lines. The user interface
- is Macintosh style: clicking an item turns off all the others and
+ which lets the user select any set of the lines.
+
+ \image html fl_multi_browser.png "Fl_Multi_Browser"
+ \image latex fl_multi_browser.png "Fl_Multi_Browser" width=4cm
+
+ The user interface is Macintosh style: clicking an item turns off all the others and
selects that one, dragging selects all the items the mouse moves over,
and ctrl + click (Cmd+click on the Mac OS platform) toggles the items.
Shift + click extends the selection until the clicked item.
@@ -39,7 +43,7 @@
class FL_EXPORT Fl_Multi_Browser : public Fl_Browser {
public:
/**
- Creates a new Fl_Multi_Browser widget using the given
+ Creates a new Fl_Multi_Browser widget using the given
position, size, and label string. The default boxtype is FL_DOWN_BOX.
The constructor specializes Fl_Browser() by setting the type to FL_MULTI_BROWSER.
The destructor destroys the widget and frees all memory that has been allocated.