FLTK 1.3.2

- Main Page
- Related Pages
- Modules
- Classes
- Files

- File List
- File Members

Fl_Adjuster.H

    00001 //
    00002 // "$Id: Fl_Adjuster.H 8864 2011-07-19 04:49:30Z greg.ercolano $"
    00003 //
    00004 // Adjuster widget header file for the Fast Light Tool Kit (FLTK).
    00005 //
    00006 // Copyright 1998-2010 by Bill Spitzak and others.
    00007 //
    00008 // This library is free software. Distribution and use rights are outlined in
    00009 // the file "COPYING" which should have been included with this file.  If this
    00010 // file is missing or damaged, see the license at:
    00011 //
    00012 //     http://www.fltk.org/COPYING.php
    00013 //
    00014 // Please report all bugs and problems on the following page:
    00015 //
    00016 //     http://www.fltk.org/str.php
    00017 //
    00018
    00019 /* \file
    00020    Fl_Adjuster widget . */
    00021
    00022 // 3-button "slider", made for Nuke
    00023
    00024 #ifndef Fl_Adjuster_H
    00025 #define Fl_Adjuster_H
    00026
    00027 #ifndef Fl_Valuator_H
    00028 #include "Fl_Valuator.H"
    00029 #endif
    00030
    00043 class FL_EXPORT Fl_Adjuster : public Fl_Valuator {
    00044   int drag;
    00045   int ix;
    00046   int soft_;
    00047 protected:
    00048   void draw();
    00049   int handle(int);
    00050   void value_damage();
    00051 public:
    00052   Fl_Adjuster(int X,int Y,int W,int H,const char *l=0);
    00059   void soft(int s) {soft_ = s;}
    00066   int soft() const {return soft_;}
    00067 };
    00068
    00069 #endif
    00070
    00071 //
    00072 // End of "$Id: Fl_Adjuster.H 8864 2011-07-19 04:49:30Z greg.ercolano $".
    00073 //