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; }
98 void resize(
int X,
int Y,
int W,
int H)
FL_OVERRIDE;
114 void add(const
char *s) { menu_->
add(s); }
177 int update_menubutton();
int Fl_Font
A font number is an index into the internal font table.
Definition Enumerations.H:1057
unsigned int Fl_Color
An FLTK color value; see also Colors
Definition Enumerations.H:1114
int Fl_Fontsize
Size of a font in pixels.
Definition Enumerations.H:1086
Fl_Boxtype
FLTK standard box types.
Definition Enumerations.H:638
Fl_Group and Fl_End classes.
The Fl_Group class is the main FLTK container widget.
Definition Fl_Group.H:59
void draw() FL_OVERRIDE
Draws the widget.
Definition Fl_Group.cxx:928
static int box_dx(Fl_Boxtype)
Returns the X offset for the given boxtype.
Definition fl_boxtype.cxx:379
static int box_dw(Fl_Boxtype)
Returns the width offset for the given boxtype.
Definition fl_boxtype.cxx:410
static int box_dy(Fl_Boxtype)
Returns the Y offset for the given boxtype.
Definition fl_boxtype.cxx:404
static int box_dh(Fl_Boxtype)
Returns the height offset for the given boxtype.
Definition fl_boxtype.cxx:416
#define FL_OVERRIDE
This macro makes it safe to use the C++11 keyword override with older compilers.
Definition fl_attr.h:38