31 #if defined(__GNUC__) || defined(__clang__)
37 typedef uintptr_t fl_uintptr_t;
40 typedef unsigned long fl_uintptr_t;
83 void draw(
int,
int,
int,
int,
Fl_Align)
const ;
84 void measure(
int &w,
int &h)
const ;
116 const char *tooltip_;
138 void x(
int v) {x_ = v;}
140 void y(
int v) {y_ = v;}
142 void w(
int v) {w_ = v;}
144 void h(
int v) {h_ = v;}
146 unsigned int flags()
const {
return flags_;}
218 virtual void draw() = 0;
236 virtual int handle(
int event);
273 int x()
const {
return x_;}
278 int y()
const {
return y_;}
283 int w()
const {
return w_;}
288 int h()
const {
return h_;}
309 virtual void resize(
int x,
int y,
int w,
int h);
410 const char*
label()
const {
return label_.value;}
422 void label(
const char* text);
541 const char *
tooltip()
const {
return tooltip_;}
543 void tooltip(
const char *text);
859 static int test_shortcut(
const char*,
const bool require_alt =
false);
861 void _set_fullscreen() {flags_ |=
FULLSCREEN;}
862 void _clear_fullscreen() {flags_ &= ~
FULLSCREEN;}
1013 #define FL_RESERVED_TYPE 100
Fl_Font font
label font used in text
Definition: Fl_Widget.H:72
This widget produces an actual window.
Definition: Fl_Window.H:57
Fl_Image * deimage
optional image for a deactivated label
Definition: Fl_Widget.H:70
uchar type
type of label.
Definition: Fl_Widget.H:80
Fl_When
These constants determine when a callback is performed.
Definition: Enumerations.H:309
Fl_Image * image
optional image for an active label
Definition: Fl_Widget.H:68
Fl_Image is the base class used for caching and drawing all kinds of images in FLTK.
Definition: Fl_Image.H:52
Fl_Align align_
alignment of label
Definition: Fl_Widget.H:78
const char * value
label text
Definition: Fl_Widget.H:66
void draw()
Draws the widget.
Definition: Fl_Group.cxx:738
Fl_Boxtype
Definition: Enumerations.H:473
The Fl_Group class is the FLTK container widget.
Definition: Fl_Group.H:41
This file contains type definitions and general enumerations.
Fl_Fontsize size
size of label font
Definition: Fl_Widget.H:74
int handle(int)
Handles the specified event.
Definition: Fl_Group.cxx:147
This struct stores all information for a text or mixed graphics label.
Definition: Fl_Widget.H:64
int Fl_Fontsize
Size of a font in pixels.
Definition: Enumerations.H:768
void resize(int, int, int, int)
Resizes the Fl_Group widget and all of its children.
Definition: Fl_Group.cxx:634
The Fl_Gl_Window widget sets things up so OpenGL works.
Definition: Fl_Gl_Window.H:56
unsigned int Fl_Color
An FLTK color value; see also Colors.
Definition: Enumerations.H:796
Fl_Labeltype
The labeltype() method sets the type of the label.
Definition: Enumerations.H:633
int Fl_Font
A font number is an index into the internal font table.
Definition: Enumerations.H:739
unsigned Fl_Align
FLTK type for alignment control.
Definition: Enumerations.H:690
Fl_Color color
text color
Definition: Fl_Widget.H:76
unsigned char uchar
unsigned char
Definition: fl_types.h:30