label.h
Go to the documentation of this file.
1 /*
2  * Roboception GmbH
3  * Munich, Germany
4  * www.roboception.com
5  *
6  * Copyright (c) 2024 Roboception GmbH
7  * All rights reserved
8  *
9  * Author: Heiko Hirschmueller
10  */
11 
12 #ifndef RC_LABEL_H
13 #define RC_LABEL_H
14 
15 #include <FL/Fl.H>
16 #include <FL/Fl_Output.H>
17 
18 class Label : public Fl_Output
19 {
20  public:
21 
22  Label(int x, int y, int w, int h, const char *label) : Fl_Output(x, y, w, h)
23  {
24  box(FL_FLAT_BOX);
25  color(FL_BACKGROUND_COLOR);
26  clear_visible_focus();
27  value(label);
28  }
29 };
30 
31 #endif
Label
Definition: label.h:18
Label::Label
Label(int x, int y, int w, int h, const char *label)
Definition: label.h:22


rcdiscover
Author(s): Heiko Hirschmueller , Raphael Schaller
autogenerated on Thu Aug 1 2024 02:55:56