diff options
Diffstat (limited to 'src/Fl_Button.cxx')
| -rw-r--r-- | src/Fl_Button.cxx | 37 |
1 files changed, 32 insertions, 5 deletions
diff --git a/src/Fl_Button.cxx b/src/Fl_Button.cxx index 86b563e78..4921cb66d 100644 --- a/src/Fl_Button.cxx +++ b/src/Fl_Button.cxx @@ -1,13 +1,36 @@ -// Fl_Button.C - -// There are a lot of subclasses, named Fl_*_Button. Some of -// them are implemented by setting the type() value and testing it -// here. This includes Fl_Radio_Button and Fl_Toggle_Button +// +// "$Id" +// +// Button widget for the Fast Light Tool Kit (FLTK). +// +// Copyright 1998 by Bill Spitzak and others. +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Library General Public +// License as published by the Free Software Foundation; either +// version 2 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Library General Public License for more details. +// +// You should have received a copy of the GNU Library General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +// USA. +// +// Please report all bugs and problems to "fltk-bugs@easysw.com". +// #include <FL/Fl.H> #include <FL/Fl_Button.H> #include <FL/Fl_Group.H> +// There are a lot of subclasses, named Fl_*_Button. Some of +// them are implemented by setting the type() value and testing it +// here. This includes Fl_Radio_Button and Fl_Toggle_Button + int Fl_Button::value(int v) { v = v ? 1 : 0; oldval = v; @@ -90,3 +113,7 @@ Fl_Button::Fl_Button(int x,int y,int w,int h, const char *l) shortcut_ = 0; set_flag(SHORTCUT_LABEL); } + +// +// End of "$Id: Fl_Button.cxx,v 1.2 1998/10/19 20:45:39 mike Exp $". +// |
