25#ifndef Fl_Input_Choice_H
26#define Fl_Input_Choice_H
30#include <FL/Fl_Input.H>
31#include <FL/Fl_Menu_Button.H>
50 InputMenuButton(
int X,
int Y,
int W,
int H,
const char *L=0);
55 InputMenuButton *menu_;
58 static void menu_cb(
Fl_Widget*,
void *data);
61 static void inp_cb(
Fl_Widget*,
void *data);
88 virtual int menu_w()
const {
return(20); }
112 void add(
const char *s) { menu_->add(s); }
175 int update_menubutton();
int Fl_Font
A font number is an index into the internal font table.
Definition Enumerations.H:1044
unsigned int Fl_Color
An FLTK color value; see also Colors
Definition Enumerations.H:1101
int Fl_Fontsize
Size of a font in pixels.
Definition Enumerations.H:1073
Fl_Boxtype
FLTK standard box types.
Definition Enumerations.H:626
Fl_Group and Fl_End classes.
The Fl_Group class is the FLTK container widget.
Definition Fl_Group.H:56
void resize(int, int, int, int) FL_OVERRIDE
Resizes the Fl_Group widget and all of its children.
Definition Fl_Group.cxx:823
static int box_dx(Fl_Boxtype)
Returns the X offset for the given boxtype.
Definition fl_boxtype.cxx:375
static int box_dw(Fl_Boxtype)
Returns the width offset for the given boxtype.
Definition fl_boxtype.cxx:406
static int box_dy(Fl_Boxtype)
Returns the Y offset for the given boxtype.
Definition fl_boxtype.cxx:400
static int box_dh(Fl_Boxtype)
Returns the height offset for the given boxtype.
Definition fl_boxtype.cxx:412
#define FL_OVERRIDE
This macro makes it safe to use the C++11 keyword override with older compilers.
Definition fl_attr.h:46