FLTK 1.3.3
Fl_Return_Button.H
1 //
2 // "$Id: Fl_Return_Button.H 9637 2012-07-24 04:37:22Z matt $"
3 //
4 // Return button header file for the Fast Light Tool Kit (FLTK).
5 //
6 // Copyright 1998-2010 by Bill Spitzak and others.
7 //
8 // This library is free software. Distribution and use rights are outlined in
9 // the file "COPYING" which should have been included with this file. If this
10 // file is missing or damaged, see the license at:
11 //
12 // http://www.fltk.org/COPYING.php
13 //
14 // Please report all bugs and problems on the following page:
15 //
16 // http://www.fltk.org/str.php
17 //
18 
19 /* \file
20  Fl_Return_Button widget . */
21 
22 #ifndef Fl_Return_Button_H
23 #define Fl_Return_Button_H
24 #include "Fl_Button.H"
25 
33 class FL_EXPORT Fl_Return_Button : public Fl_Button {
34 protected:
35  void draw();
36 public:
37  int handle(int);
43  Fl_Return_Button(int X, int Y, int W, int H,const char *l=0);
44 };
45 
46 #endif
47 
48 //
49 // End of "$Id: Fl_Return_Button.H 9637 2012-07-24 04:37:22Z matt $".
50 //
virtual void draw()
Draws the widget.
Definition: Fl_Button.cxx:69
virtual int handle(int)
Handles the specified event.
Definition: Fl_Button.cxx:83
The Fl_Return_Button is a subclass of Fl_Button that generates a callback when it is pressed or when ...
Definition: Fl_Return_Button.H:33
Buttons generate callbacks when they are clicked by the user.
Definition: Fl_Button.H:79