FLTK: Fl_Multi_Label.H Source File

FLTK

Fl_Multi_Label.H
1 //
2 // "$Id$"
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;
61 uchar typea;
66 uchar typeb;
67
69 void label(Fl_Widget*);
71 void label(Fl_Menu_Item*);
72 };
73
74 #endif
75
76 //
77 // End of "$Id$".
78 //
Fl_Multi_Label
This struct allows multiple labels to be added to objects that might normally have only one label.
Definition: Fl_Multi_Label.H:48
Fl_Multi_Label::labelb
const char * labelb
Holds the "rightmost" of the two elements in the composite label.
Definition: Fl_Multi_Label.H:56
Fl_Multi_Label::typea
uchar typea
Holds the "type" of labela.
Definition: Fl_Multi_Label.H:61
Fl_Widget
Fl_Widget is the base class for all widgets in FLTK.
Definition: Fl_Widget.H:101
Fl_Multi_Label::labela
const char * labela
Holds the "leftmost" of the two elements in the composite label.
Definition: Fl_Multi_Label.H:52
Fl_Multi_Label::typeb
uchar typeb
Holds the "type" of labelb.
Definition: Fl_Multi_Label.H:66
uchar
unsigned char uchar
unsigned char
Definition: fl_types.h:30
- © 1998-2016 by Bill Spitzak and others.