00001 /* 00002 * $Id: Fl_Round_Button.h,v 1.4 2003/04/01 05:32:32 parshin Exp $ 00003 * 00004 * Extended Fast Light Toolkit (EFLTK) 00005 * Copyright (C) 2002-2003 by EDE-Team 00006 * WWW: http://www.sourceforge.net/projects/ede 00007 * 00008 * Fast Light Toolkit (FLTK) 00009 * Copyright (C) 1998-2003 by Bill Spitzak and others. 00010 * WWW: http://www.fltk.org 00011 * 00012 * This library is distributed under the GNU LIBRARY GENERAL PUBLIC LICENSE 00013 * version 2. See COPYING for details. 00014 * 00015 * Author : Mikko Lahteenmaki 00016 * Email : mikko@fltk.net 00017 * 00018 * Please report all bugs and problems to "efltk-bugs@fltk.net" 00019 * 00020 */ 00021 00022 #ifndef _FL_ROUND_BUTTON_H_ 00023 #define _FL_ROUND_BUTTON_H_ 00024 00025 #include "Fl_Radio_Button.h" 00026 00027 // Back-compatability, this is a radio button with check-button behavior 00028 // This class is entirely inline. If that changes, add FL_API to its declaration 00029 00031 class Fl_Round_Button : public Fl_Radio_Button { 00032 public: 00034 Fl_Round_Button(int x,int y,int w,int h,const char *l) 00035 : Fl_Radio_Button(x,y,w,h,l) { type(TOGGLE); } 00036 00038 Fl_Round_Button(const char* l = 0,int layout_size=30,Fl_Align layout_al=FL_ALIGN_TOP) 00039 : Fl_Radio_Button(l,layout_size,layout_al) { type(TOGGLE); } 00040 00041 }; 00042 00043 #endif