FLTK 1.4.4
Toggle main menu visibility
Loading...
Searching...
No Matches
Fl_Box.H
Go to the documentation of this file.
1
//
2
// Box header file for the Fast Light Tool Kit (FLTK).
3
//
4
// Copyright 1998-2025 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
20
21
#ifndef Fl_Box_H
22
#define Fl_Box_H
23
24
#ifndef Fl_Widget_H
25
#include "
Fl_Widget.H
"
26
#endif
27
34
class
FL_EXPORT
Fl_Box
:
public
Fl_Widget {
35
protected
:
36
void
draw
()
FL_OVERRIDE
;
37
public
:
54
Fl_Box
(
int
X,
int
Y,
int
W,
int
H,
const
char
*L = 0);
55
73
Fl_Box
(
Fl_Boxtype
B,
int
X,
int
Y,
int
W,
int
H,
const
char
*L);
74
75
int
handle
(
int
)
FL_OVERRIDE
;
76
};
77
78
#endif
Fl_Boxtype
Fl_Boxtype
FLTK standard box types.
Definition
Enumerations.H:644
Fl_Widget.H
Fl_Widget and Fl_Label classes.
Fl_Box::Fl_Box
Fl_Box(int X, int Y, int W, int H, const char *L=0)
Creates a new Fl_Box widget with the given coordinates, size, and label.
Definition
Fl_Box.cxx:21
Fl_Widget::draw
virtual void draw()=0
Draws the widget.
Fl_Widget::handle
virtual int handle(int event)
Handles the specified event.
Definition
Fl_Widget.cxx:102
FL_OVERRIDE
#define FL_OVERRIDE
This macro makes it safe to use the C++11 keyword override with older compilers.
Definition
fl_attr.h:46
FL
Fl_Box.H
Generated by
1.17.0