22#include <FL/Fl_Multi_Label.H>
168 const char*
label()
const {
return text; }
182 void label(
const char* a) { text = a; }
404 void value(
int v) { v ? set() : clear(); }
413 void clear() {flags &= ~FL_MENU_VALUE;}
421 void show() {flags &= ~FL_MENU_INVISIBLE;}
456 int measure(
int* h,
const Fl_Menu_*)
const;
457 void draw(
int x,
int y,
int w,
int h,
const Fl_Menu_*,
int t=0)
const;
462 const char *title = 0,
466 int X,
int Y,
int W,
int H,
470 int menubar=0)
const;
472 const Fl_Menu_Item* find_shortcut(
int *ip=0,
const bool require_alt =
false)
const;
521 int insert(
int,
const char*,
int,
Fl_Callback*,
void* =0,
int =0);
522 int add(
const char*,
int shortcut,
Fl_Callback*,
void* =0,
int = 0);
526 void* d = 0,
int e = 0) {
527 return add(a,fl_old_shortcut(b),c,d,e);}
int Fl_Font
A font number is an index into the internal font table.
Definition Enumerations.H:1044
#define FL_MULTI_LABEL
Draws a label that can comprise several parts like text and images.
Definition Enumerations.H:880
unsigned int Fl_Color
An FLTK color value; see also Colors
Definition Enumerations.H:1101
#define FL_IMAGE_LABEL
Draws an image (Fl_Image) as the label.
Definition Enumerations.H:903
Fl_Labeltype
The labeltype() method sets the type of the label.
Definition Enumerations.H:816
int Fl_Fontsize
Size of a font in pixels.
Definition Enumerations.H:1073
@ FL_REASON_SELECTED
an item was selected
Definition Enumerations.H:448
Fl_Image, Fl_RGB_Image classes.
Base class for image caching, scaling and drawing.
Definition Fl_Image.H:60
virtual void label(Fl_Widget *w)
This method is an obsolete way to set the image attribute of a widget or menu item.
Definition Fl_Image.cxx:159
unsigned int Fl_Shortcut
16-bit Unicode character + 8-bit indicator for keyboard flags.
Definition fl_types.h:55
unsigned char uchar
unsigned char
Definition fl_types.h:30
Fl_Shortcut fl_old_shortcut(const char *)
Emulation of XForms named shortcuts.
Definition fl_shortcut.cxx:274
Allows a mixed text and/or graphics label to be applied to an Fl_Menu_Item or Fl_Widget.
Definition Fl_Multi_Label.H:76