Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

Fl_Choice.h

00001 /*
00002  * $Id: Fl_Choice.h,v 1.6 2003/04/05 20:51:58 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_CHOICE_H_
00023 #define _FL_CHOICE_H_
00024 
00025 #include "Fl_Menu_.h"
00026 
00039 class FL_API Fl_Choice : public Fl_Menu_ {
00040 public:
00041     static Fl_Named_Style* default_style;
00042 
00044     Fl_Choice(int x, int y, int w, int h, const char *l=0);
00045 
00047     Fl_Choice(const char* l = 0,int layout_size=30,Fl_Align layout_al=FL_ALIGN_TOP,int label_w=100);
00048 
00054     int value(int v);
00055 
00061     int value() const { return Fl_Menu_::value(); }
00062 
00063     virtual int popup(int X, int Y, int W, int H);
00064     virtual int handle(int);
00065     virtual void draw();
00066     virtual void reset() { value(0); }
00067 private:
00068     void ctor_init();
00069 };
00070 
00071 #endif

Generated on Thu Jul 31 15:33:43 2003 for eFLTK by doxygen1.2.15