46 typedef uintptr_t fl_uintptr_t;
49 typedef unsigned long fl_uintptr_t;
92 void draw(
int,
int,
int,
int,
Fl_Align)
const ;
93 void measure(
int &w,
int &h)
const ;
125 const char *tooltip_;
147 void x(
int v) {x_ = v;}
149 void y(
int v) {y_ = v;}
151 void w(
int v) {w_ = v;}
153 void h(
int v) {h_ = v;}
155 unsigned int flags()
const {
return flags_;}
225 virtual void draw() = 0;
243 virtual int handle(
int event);
280 int x()
const {
return x_;}
285 int y()
const {
return y_;}
290 int w()
const {
return w_;}
295 int h()
const {
return h_;}
316 virtual void resize(
int x,
int y,
int w,
int h);
417 const char*
label()
const {
return label_.value;}
429 void label(
const char* text);
548 const char *
tooltip()
const {
return tooltip_;}
550 void tooltip(
const char *text);
854 static int test_shortcut(
const char*,
const bool require_alt =
false);
1000 #define FL_RESERVED_TYPE 100
Fl_Font font
label font used in text
Definition: Fl_Widget.H:81
This widget produces an actual window.
Definition: Fl_Window.H:58
Fl_Image * deimage
optional image for a deactivated label
Definition: Fl_Widget.H:79
uchar type
type of label.
Definition: Fl_Widget.H:89
Fl_When
These constants determine when a callback is performed.
Definition: Enumerations.H:305
Fl_Image * image
optional image for an active label
Definition: Fl_Widget.H:77
Fl_Image is the base class used for caching and drawing all kinds of images in FLTK.
Definition: Fl_Image.H:51
Fl_Align align_
alignment of label
Definition: Fl_Widget.H:87
const char * value
label text
Definition: Fl_Widget.H:75
void draw()
Draws the widget.
Definition: Fl_Group.cxx:741
Fl_Boxtype
Definition: Enumerations.H:464
The Fl_Group class is the FLTK container widget.
Definition: Fl_Group.H:45
This file contains type definitions and general enumerations.
Fl_Fontsize size
size of label font
Definition: Fl_Widget.H:83
int handle(int)
Handles the specified event.
Definition: Fl_Group.cxx:150
This struct stores all information for a text or mixed graphics label.
Definition: Fl_Widget.H:73
int Fl_Fontsize
Size of a font in pixels.
Definition: Enumerations.H:741
void resize(int, int, int, int)
Resizes the Fl_Group widget and all of its children.
Definition: Fl_Group.cxx:637
The Fl_Gl_Window widget sets things up so OpenGL works.
Definition: Fl_Gl_Window.H:65
unsigned int Fl_Color
an FLTK color value
Definition: Enumerations.H:769
Fl_Labeltype
The labeltype() method sets the type of the label.
Definition: Enumerations.H:606
int Fl_Font
A font number is an index into the internal font table.
Definition: Enumerations.H:712
unsigned Fl_Align
FLTK type for alignment control.
Definition: Enumerations.H:663
Fl_Color color
text color
Definition: Fl_Widget.H:85
unsigned char uchar
unsigned char
Definition: fl_types.h:39