FLTK: Fl_Box.H Source File

FLTK

Fl_Box.H
1 //
2 // "$Id$"
3 //
4 // Box header file for the Fast Light Tool Kit (FLTK).
5 //
6 // Copyright 1998-2010 by Bill Spitzak and others.
7 //
8 // This library is free software. Distribution and use rights are outlined in
9 // the file "COPYING" which should have been included with this file. If this
10 // file is missing or damaged, see the license at:
11 //
12 // http://www.fltk.org/COPYING.php
13 //
14 // Please report all bugs and problems on the following page:
15 //
16 // http://www.fltk.org/str.php
17 //
18
19 /* \file
20 Fl_Box widget . */
21
22 #ifndef Fl_Box_H
23 #define Fl_Box_H
24
25 #ifndef Fl_Widget_H
26 #include "Fl_Widget.H"
27 #endif
28
34 class FL_EXPORT Fl_Box : public Fl_Widget {
35 protected:
36 void draw();
37 public:
47 Fl_Box(int X, int Y, int W, int H, const char *l=0);
48
50 Fl_Box(Fl_Boxtype b, int X, int Y, int W, int H, const char *l);
51
52 virtual int handle(int);
53 };
54
55 #endif
56
57 //
58 // End of "$Id$".
59 //
Fl_Widget.H
Fl_Widget, Fl_Label classes .
Fl_Boxtype
Fl_Boxtype
Definition: Enumerations.H:603
Fl_Widget
Fl_Widget is the base class for all widgets in FLTK.
Definition: Fl_Widget.H:101
Fl_Box
This widget simply draws its box, and possibly its label.
Definition: Fl_Box.H:34
Fl_Widget::handle
virtual int handle(int event)
Handles the specified event.
Definition: Fl_Widget.cxx:112
Fl_Widget::draw
virtual void draw()=0
Draws the widget.
- © 1998-2016 by Bill Spitzak and others.