00001 //00002 // "$Id$"00003 //00004 // Value slider 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 in00009 // the file "COPYING" which should have been included with this file. If this00010 // file is missing or damaged, see the license at:00011 //00012 // http://www.fltk.org/COPYING.php00013 //00014 // Please report all bugs and problems on the following page:00015 //00016 // http://www.fltk.org/str.php00017 //00018
00019 /* \file00020 Fl_Value_Slider widget . */00021
00022 #ifndef Fl_Value_Slider_H00023 #define Fl_Value_Slider_H00024
00025 #include "Fl_Slider.H"00026
00033class FL_EXPORT Fl_Value_Slider : publicFl_Slider {
00034 Fl_Font textfont_;
00035 Fl_Fontsize textsize_;
00036 Fl_Color textcolor_;
00037 protected:
00038 voiddraw();
00039 public:
00040 int handle(int);
00041 Fl_Value_Slider(int x,int y,int w,int h, constchar *l = 0);
00043Fl_Fonttextfont() const {return textfont_;}
00045voidtextfont(Fl_Font s) {textfont_ = s;}
00047Fl_Fontsizetextsize() const {return textsize_;}
00049voidtextsize(Fl_Fontsize s) {textsize_ = s;}
00051Fl_Colortextcolor() const {return textcolor_;}
00053voidtextcolor(Fl_Color s) {textcolor_ = s;}
00054 };
00055
00056 #endif00057
00058 //00059 // End of "$Id$".00060 //