FLTK 1.4.0
Loading...
Searching...
No Matches
Fl_Multi_Label.H
1//
2// Multi-label header file for the Fast Light Tool Kit (FLTK).
3//
4// Copyright 1998-2023 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
20class Fl_Widget;
21struct Fl_Menu_Item;
22
76struct FL_EXPORT Fl_Multi_Label {
80 const char* labela;
84 const char* labelb;
95
96 // This method is used to associate a Fl_Multi_Label with a Fl_Widget.
97 void label(Fl_Widget*);
98
99 // This method is used to associate a Fl_Multi_Label with a Fl_Menu_Item.
100 void label(Fl_Menu_Item*);
101};
102
103#endif
Fl_Widget is the base class for all widgets in FLTK.
Definition Fl_Widget.H:104
unsigned char uchar
unsigned char
Definition fl_types.h:30
The Fl_Menu_Item structure defines a single menu item that is used by the Fl_Menu_ class.
Definition Fl_Menu_Item.H:115
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
uchar typea
Holds the "type" of labela.
Definition Fl_Multi_Label.H:89
const char * labelb
Holds the "rightmost" of the two elements in the composite label.
Definition Fl_Multi_Label.H:84
const char * labela
Holds the "leftmost" of the two elements in the composite label.
Definition Fl_Multi_Label.H:80
uchar typeb
Holds the "type" of labelb.
Definition Fl_Multi_Label.H:94