summaryrefslogtreecommitdiff
path: root/FL/Fl_Round_Button.H
diff options
context:
space:
mode:
Diffstat (limited to 'FL/Fl_Round_Button.H')
-rw-r--r--FL/Fl_Round_Button.H11
1 files changed, 11 insertions, 0 deletions
diff --git a/FL/Fl_Round_Button.H b/FL/Fl_Round_Button.H
index f1bf6ed0b..c0365add1 100644
--- a/FL/Fl_Round_Button.H
+++ b/FL/Fl_Round_Button.H
@@ -30,6 +30,17 @@
#include "Fl_Light_Button.H"
+/**
+ Buttons generate callbacks when they are clicked by the user. You
+ control exactly when and how by changing the values for type()
+ and when().
+ <P ALIGN=CENTER>\image html Fl_Round_Button.gif</P>
+ <P>The Fl_Round_Button subclass display the &quot;on&quot; state by
+ turning on a light, rather than drawing pushed in. The shape of the
+ &quot;light&quot; is initially set to FL_ROUND_DOWN_BOX. The color of the light
+ when on is controlled with selection_color(), which defaults to
+ FL_RED.
+*/
class FL_EXPORT Fl_Round_Button : public Fl_Light_Button {
public:
Fl_Round_Button(int x,int y,int w,int h,const char *l = 0);