FLTK 1.3.4
Fl_Multi_Label.H
1 //
2 // "$Id: Fl_Multi_Label.H 10553 2015-02-04 13:12:43Z ianmacarthur $"
3 //
4 // Multi-label header file for the Fast Light Tool Kit (FLTK).
5 //
6 // Copyright 1998-2015 by Bill Spitzak and others.
7 //
8 // This library is free software. Distribution and use rights are outlined in
9 // the file "COPYING" which should have been included with this file. If this
10 // file is missing or damaged, see the license at:
11 //
12 // http://www.fltk.org/COPYING.php
13 //
14 // Please report all bugs and problems on the following page:
15 //
16 // http://www.fltk.org/str.php
17 //
18 
19 #ifndef Fl_Multi_Label_H
20 #define Fl_Multi_Label_H
21 
22 class Fl_Widget;
23 struct Fl_Menu_Item;
24 
48 struct FL_EXPORT Fl_Multi_Label {
52  const char* labela;
56  const char* labelb;
67 
69  void label(Fl_Widget*);
71  void label(Fl_Menu_Item*);
72 };
73 
74 #endif
75 
76 //
77 // End of "$Id: Fl_Multi_Label.H 10553 2015-02-04 13:12:43Z ianmacarthur $".
78 //
Fl_Widget is the base class for all widgets in FLTK.
Definition: Fl_Widget.H:101
This struct allows multiple labels to be added to objects that might normally have only one label...
Definition: Fl_Multi_Label.H:48
const char * labelb
Holds the "rightmost" of the two elements in the composite label.
Definition: Fl_Multi_Label.H:56
uchar typea
Holds the "type" of labela.
Definition: Fl_Multi_Label.H:61
const char * labela
Holds the "leftmost" of the two elements in the composite label.
Definition: Fl_Multi_Label.H:52
The Fl_Menu_Item structure defines a single menu item that is used by the Fl_Menu_ class...
Definition: Fl_Menu_Item.H:112
uchar typeb
Holds the "type" of labelb.
Definition: Fl_Multi_Label.H:66
unsigned char uchar
unsigned char
Definition: fl_types.h:30