22#include <FL/Fl_Multi_Label.H>
177 const char*
label()
const {
return text; }
191 void label(
const char* a) { text = a; }
418 void value(
int v) { v ? set() : clear(); }
427 void clear() {flags &= ~FL_MENU_VALUE;}
435 void show() {flags &= ~FL_MENU_INVISIBLE;}
470 int measure(
int* h,
const Fl_Menu_*)
const;
471 void draw(
int x,
int y,
int w,
int h,
const Fl_Menu_*,
int t=0)
const;
476 const char *title = 0,
480 int X,
int Y,
int W,
int H,
484 int menubar=0)
const;
486 const Fl_Menu_Item* find_shortcut(
int *ip=0,
const bool require_alt =
false)
const;
535 int insert(
int,
const char*,
int,
Fl_Callback*,
void* =0,
int =0);
536 int add(
const char*,
int shortcut,
Fl_Callback*,
void* =0,
int = 0);
540 void* d = 0,
int e = 0) {
541 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:1057
#define FL_MULTI_LABEL
Draws a label that can comprise several parts like text and images.
Definition Enumerations.H:893
unsigned int Fl_Color
An FLTK color value; see also Colors
Definition Enumerations.H:1114
#define FL_IMAGE_LABEL
Draws an image (Fl_Image) as the label.
Definition Enumerations.H:916
Fl_Labeltype
The labeltype() method sets the type of the label.
Definition Enumerations.H:829
int Fl_Fontsize
Size of a font in pixels.
Definition Enumerations.H:1086
@ FL_REASON_SELECTED
an item was selected
Definition Enumerations.H:451
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:163
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:275
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