FLTK Utility Library and Widget Collection (FLU): Flu_Progress.h Source File

Main Page | Class Hierarchy | Class List | File List | Class Members

# Flu_Progress.h

    00001 // $Id: Flu_Progress.h,v 1.6 2004/04/10 22:10:56 jbryan Exp $
    00002
    00003 /***************************************************************
    00004  *                FLU - FLTK Utility Widgets
    00005  *  Copyright (C) 2002 Ohio Supercomputer Center, Ohio State University
    00006  *
    00007  * This file and its content is protected by a software license.
    00008  * You should have received a copy of this license with this file.
    00009  * If not, please contact the Ohio Supercomputer Center immediately:
    00010  * Attn: Jason Bryan Re: FLU 1224 Kinnear Rd, Columbus, Ohio 43212
    00011  *
    00012  ***************************************************************/
    00013
    00014
    00015
    00016 #ifndef _FLU_PROGRESS_H
    00017 #define _FLU_PROGRESS_H
    00018
    00019 #include <FL/Fl_Valuator.H>
    00020 #include <FL/Fl_Input.H>
    00021 #include <FL/Fl_Group.H>
    00022
    00023 #include "FLU/Flu_Enumerations.h"
    00024
    00026 class FLU_EXPORT Flu_Progress : public Fl_Valuator
    00027 {
    00028
    00029 public:
    00030
    00032   Flu_Progress( int x, int y, int w, int h, const char *l = 0 );
    00033
    00035   ~Flu_Progress();
    00036
    00038   int value( float v );
    00039
    00041   inline float value() const
    00042     { return Fl_Valuator::value(); }
    00043
    00044 protected:
    00045
    00046   void draw();
    00047
    00048 };
    00049
    00050 #endif