FLTK 1.3.5
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
Fl_Pack.H
1
//
2
// "$Id$"
3
//
4
// Pack 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_Pack widget . */
21
22
#ifndef Fl_Pack_H
23
#define Fl_Pack_H
24
25
#include <FL/Fl_Group.H>
26
43
class
FL_EXPORT
Fl_Pack
:
public
Fl_Group
{
44
int
spacing_;
45
46
public
:
47
enum
{
// values for type(int)
48
VERTICAL = 0,
49
HORIZONTAL = 1
50
};
51
52
protected
:
53
void
draw
();
54
55
public
:
56
Fl_Pack
(
int
x,
int
y,
int
w ,
int
h,
const
char
*l = 0);
61
int
spacing
()
const
{
return
spacing_;}
66
void
spacing
(
int
i) {spacing_ = i;}
68
uchar
horizontal
()
const
{
return
type
();}
69
};
70
71
#endif
72
73
//
74
// End of "$Id$".
75
//
© 1998-2016 by Bill Spitzak and others.