FLTK 1.3.3
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
Fl_Adjuster.H
1
//
2
// "$Id: Fl_Adjuster.H 8864 2011-07-19 04:49:30Z greg.ercolano $"
3
//
4
// Adjuster widget 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_Adjuster widget . */
21
22
// 3-button "slider", made for Nuke
23
24
#ifndef Fl_Adjuster_H
25
#define Fl_Adjuster_H
26
27
#ifndef Fl_Valuator_H
28
#include "Fl_Valuator.H"
29
#endif
30
43
class
FL_EXPORT
Fl_Adjuster
:
public
Fl_Valuator
{
44
int
drag;
45
int
ix;
46
int
soft_;
47
protected
:
48
void
draw
();
49
int
handle
(
int
);
50
void
value_damage
();
51
public
:
52
Fl_Adjuster
(
int
X,
int
Y,
int
W,
int
H,
const
char
*l=0);
59
void
soft
(
int
s) {soft_ = s;}
66
int
soft
()
const
{
return
soft_;}
67
};
68
69
#endif
70
71
//
72
// End of "$Id: Fl_Adjuster.H 8864 2011-07-19 04:49:30Z greg.ercolano $".
73
//
© 1998-2014 by Bill Spitzak and others.