FLTK
Fl_Multi_Label.H
1 //
2 // Multi-label header file for the Fast Light Tool Kit (FLTK).
3 //
4 // Copyright 1998-2015 by Bill Spitzak and others.
5 //
6 // This library is free software. Distribution and use rights are outlined in
7 // the file "COPYING" which should have been included with this file. If this
8 // file is missing or damaged, see the license at:
9 //
10 // https://www.fltk.org/COPYING.php
11 //
12 // Please see the following page on how to report bugs and issues:
13 //
14 // https://www.fltk.org/bugs.php
15 //
16 
17 #ifndef Fl_Multi_Label_H
18 #define Fl_Multi_Label_H
19 
20 class Fl_Widget;
21 struct Fl_Menu_Item;
22 
70 struct FL_EXPORT Fl_Multi_Label {
74  const char* labela;
78  const char* labelb;
89 
91  void label(Fl_Widget*);
93  void label(Fl_Menu_Item*);
94 };
95 
96 #endif
Fl_Widget is the base class for all widgets in FLTK.
Definition: Fl_Widget.H:85
Allows a mixed text and/or graphics label to be applied to an Fl_Menu_Item or Fl_Widget.
Definition: Fl_Multi_Label.H:70
const char * labelb
Holds the "rightmost" of the two elements in the composite label.
Definition: Fl_Multi_Label.H:78
uchar typea
Holds the "type" of labela.
Definition: Fl_Multi_Label.H:83
const char * labela
Holds the "leftmost" of the two elements in the composite label.
Definition: Fl_Multi_Label.H:74
The Fl_Menu_Item structure defines a single menu item that is used by the Fl_Menu_ class...
Definition: Fl_Menu_Item.H:107
uchar typeb
Holds the "type" of labelb.
Definition: Fl_Multi_Label.H:88
unsigned char uchar
unsigned char
Definition: fl_types.h:28