FLTK
Fl_Box.H
1
//
2
// Box header file for the Fast Light Tool Kit (FLTK).
3
//
4
// Copyright 1998-2010 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
17
/* \file
18
Fl_Box widget . */
19
20
#ifndef Fl_Box_H
21
#define Fl_Box_H
22
23
#ifndef Fl_Widget_H
24
#include "
Fl_Widget.H
"
25
#endif
26
32
class
FL_EXPORT
Fl_Box
:
public
Fl_Widget
{
33
protected
:
34
void
draw
();
35
public
:
45
Fl_Box
(
int
X,
int
Y,
int
W,
int
H,
const
char
*l=0);
46
48
Fl_Box
(
Fl_Boxtype
b,
int
X,
int
Y,
int
W,
int
H,
const
char
*l);
49
50
virtual
int
handle
(
int
);
51
};
52
53
#endif
Fl_Widget
Fl_Widget is the base class for all widgets in FLTK.
Definition:
Fl_Widget.H:85
Fl_Widget::handle
virtual int handle(int event)
Handles the specified event.
Definition:
Fl_Widget.cxx:102
Fl_Widget::draw
virtual void draw()=0
Draws the widget.
Fl_Box
This widget simply draws its box, and possibly its label.
Definition:
Fl_Box.H:32
Fl_Boxtype
Fl_Boxtype
FLTK standard box types.
Definition:
Enumerations.H:598
Fl_Widget.H
Fl_Widget, Fl_Label classes .
© 1998-2020 by Bill Spitzak and others.