17 #ifndef Fl_Menu_Item_H 18 #define Fl_Menu_Item_H 143 const char*
label()
const {
return text;}
364 int measure(
int* h,
const Fl_Menu_*)
const;
365 void draw(
int x,
int y,
int w,
int h,
const Fl_Menu_*,
int t=0)
const;
370 const char *title = 0,
374 int X,
int Y,
int W,
int H,
378 int menubar=0)
const;
380 const Fl_Menu_Item* find_shortcut(
int *ip=0,
const bool require_alt =
false)
const;
416 int insert(
int,
const char*,
int,
Fl_Callback*,
void* =0,
int =0);
417 int add(
const char*,
int shortcut,
Fl_Callback*,
void* =0,
int = 0);
421 void* d = 0,
int e = 0) {
virtual void label(Fl_Widget *w)
The label() methods are an obsolete way to set the image attribute of a widget or menu item...
Definition: Fl_Image.cxx:130
FL_EXPORT Fl_Shortcut fl_old_shortcut(const char *)
Emulation of XForms named shortcuts.
Definition: fl_shortcut.cxx:273
Base class for image caching, scaling and drawing.
Definition: Fl_Image.H:62
Fl_Image, Fl_RGB_Image classes.
int Fl_Fontsize
Size of a font in pixels.
Definition: Enumerations.H:1014
unsigned int Fl_Color
An FLTK color value; see also Colors.
Definition: Enumerations.H:1042
Fl_Labeltype
The labeltype() method sets the type of the label.
Definition: Enumerations.H:757
int Fl_Font
A font number is an index into the internal font table.
Definition: Enumerations.H:985
unsigned char uchar
unsigned char
Definition: fl_types.h:28
unsigned int Fl_Shortcut
16-bit Unicode character + 8-bit indicator for keyboard flags.
Definition: fl_types.h:53