1 /*
2  *  This file is part of the XForms library package.
3  *
4  *  XForms is free software; you can redistribute it and/or modify it
5  *  under the terms of the GNU Lesser General Public License as
6  *  published by the Free Software Foundation; either version 2.1, or
7  *  (at your option) any later version.
8  *
9  *  XForms is distributed in the hope that it will be useful, but
10  *  WITHOUT ANY WARRANTY; without even the implied warranty of
11  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  *  Lesser General Public License for more details.
13  *
14  *  You should have received a copy of the GNU General Public License
15  *  along with XForms.  If not, see <http://www.gnu.org/licenses/>.
16  */
17 
18 
19 /**
20  * \file pdial.h
21  *
22  *  This file is part of the XForms library package.
23  *  Copyright (c) 1995-1997  T.C. Zhao and Mark Overmars
24  *  All rights reserved.
25  *
26  * Private header for dial object
27  */
28 
29 #ifndef PDIAL_H
30 #define PDIAL_H
31 
32 typedef struct {
33     double a,               /* for speed                      */
34            b;
35     double min,             /* min/max value of dial          */
36            max;
37     double val;             /* current value of dial          */
38     double step;            /* step size                      */
39     double thetai;          /* start angle (degrees)          */
40     double thetaf;          /* end angle   (degrees)          */
41     double origin;          /* where the origin is            */
42     short  cross_over;
43     double  start_val;
44     short  direction;       /* not currently used            */
45 } FLI_DIAL_SPEC;
46 
47 
48 #endif /* pdial_h */
49 
50 
51 /*
52  * Local variables:
53  * tab-width: 4
54  * indent-tabs-mode: nil
55  * End:
56  */
57