FLTK 1.3.0
Fl_Choice.H
00001 //
00002 // "$Id$"
00003 //
00004 // Choice header file for the Fast Light Tool Kit (FLTK).
00005 //
00006 // Copyright 1998-2010 by Bill Spitzak and others.
00007 //
00008 // This library is free software. Distribution and use rights are outlined in
00009 // the file "COPYING" which should have been included with this file.  If this
00010 // file is missing or damaged, see the license at:
00011 //
00012 //     http://www.fltk.org/COPYING.php
00013 //
00014 // Please report all bugs and problems on the following page:
00015 //
00016 //     http://www.fltk.org/str.php
00017 //
00018 
00019 /* \file
00020    Fl_Choice widget . */
00021 
00022 #ifndef Fl_Choice_H
00023 #define Fl_Choice_H
00024 
00025 #include "Fl_Menu_.H"
00026 
00076 class FL_EXPORT Fl_Choice : public Fl_Menu_ {
00077 protected:
00078   void draw();
00079 public:
00080   int handle(int);
00081 
00082   Fl_Choice(int X, int Y, int W, int H, const char *L = 0);
00083 
00088   int value() const {return Fl_Menu_::value();}
00089 
00090   int value(int v);
00091 
00092   int value(const Fl_Menu_Item* v);
00093 };
00094 
00095 #endif
00096 
00097 //
00098 // End of "$Id$".
00099 //