74 void draw(
int,
int,
int,
int,
Fl_Align)
const ;
75 void measure(
int &w,
int &h)
const ;
128 const char *tooltip_;
150 void x(
int v) {x_ = v;}
152 void y(
int v) {y_ = v;}
154 void w(
int v) {w_ = v;}
156 void h(
int v) {h_ = v;}
158 unsigned int flags()
const {
return flags_;}
289 virtual int handle(
int event);
361 int x()
const {
return x_;}
366 int y()
const {
return y_;}
371 int w()
const {
return w_;}
376 int h()
const {
return h_;}
397 virtual void resize(
int x,
int y,
int w,
int h);
511 void label(
const char* text);
731 const char *
tooltip()
const {
return tooltip_;}
733 void tooltip(
const char *text);
1109 static int test_shortcut(
const char*,
const bool require_alt =
false);
1111 void _set_fullscreen() {flags_ |=
FULLSCREEN;}
1112 void _clear_fullscreen() {flags_ &= ~FULLSCREEN;}
1288#define FL_RESERVED_TYPE 100
int Fl_Font
A font number is an index into the internal font table.
Definition: Enumerations.H:1061
unsigned Fl_Align
FLTK type for alignment control.
Definition: Enumerations.H:984
unsigned int Fl_Color
An FLTK color value; see also Colors
Definition: Enumerations.H:1118
Fl_Labeltype
The labeltype() method sets the type of the label.
Definition: Enumerations.H:833
int Fl_Fontsize
Size of a font in pixels.
Definition: Enumerations.H:1090
Fl_When
These constants determine when a callback is performed.
Definition: Enumerations.H:433
Fl_Boxtype
FLTK standard box types.
Definition: Enumerations.H:642
Fl_Callback_Reason
These constants describe why a callback is performed.
Definition: Enumerations.H:453
@ FL_REASON_UNKNOWN
unknown or unset reason
Definition: Enumerations.H:454
A class prototype that allows for additional data in callbacks.
Definition: Fl_Widget.H:92
virtual ~Fl_Callback_User_Data()
Destructor.
Definition: Fl_Widget.H:96
Fl_Callback_User_Data()
Protected constructor.
Definition: Fl_Widget.H:94
The Fl_Gl_Window widget sets things up so OpenGL works.
Definition: Fl_Gl_Window.H:56
Fl_Gl_Window * as_gl_window() FL_OVERRIDE
Returns an Fl_Gl_Window pointer if this widget is an Fl_Gl_Window.
Definition: Fl_Gl_Window.H:216
The Fl_Group class is the main FLTK container widget.
Definition: Fl_Group.H:56
int handle(int) FL_OVERRIDE
Handles the specified event.
Definition: Fl_Group.cxx:145
void resize(int, int, int, int) FL_OVERRIDE
Resizes the Fl_Group widget and all of its children.
Definition: Fl_Group.cxx:825
Fl_Group * as_group() FL_OVERRIDE
Returns an Fl_Group pointer if this widget is an Fl_Group.
Definition: Fl_Group.H:242
Base class for image caching, scaling and drawing.
Definition: Fl_Image.H:60
This widget produces an actual window.
Definition: Fl_Window.H:55
unsigned char uchar
unsigned char
Definition: fl_types.h:30
This struct stores all information for a text or mixed graphics label.
Definition: Fl_Widget.H:49
uchar type
type of label.
Definition: Fl_Widget.H:65
Fl_Image * deimage
optional image for a deactivated label
Definition: Fl_Widget.H:55
void measure(int &w, int &h) const
Measures the size of the label.
Definition: fl_labeltype.cxx:102
Fl_Fontsize size
size of label font
Definition: Fl_Widget.H:59
const char * value
label text
Definition: Fl_Widget.H:51
Fl_Align align_
alignment of label
Definition: Fl_Widget.H:63
Fl_Color color
text color
Definition: Fl_Widget.H:61
signed char v_margin_
Spacing between label and the vertically aligned side of the widget.
Definition: Fl_Widget.H:69
signed char h_margin_
Spacing between label and the horizontally aligned side of the widget.
Definition: Fl_Widget.H:67
uchar spacing
Spacing between an image and the label text.
Definition: Fl_Widget.H:71
Fl_Image * image
optional image for an active label
Definition: Fl_Widget.H:53
Fl_Font font
label font used in text
Definition: Fl_Widget.H:57