"Fossies" - the Fresh Open Source Software archive

Member "fltk-1.3.2/documentation/html/Fl__Value__Slider_8H_source.html" of archive fltk-1.3.2-docs-html.tar.gz:


Caution: In this restricted "Fossies" environment the current HTML page may not be correctly presentated and may have some non-functional links. Alternatively you can here view or download the uninterpreted source code. That can be also achieved for any archive member file by clicking within an archive contents listing on the first character of the file(path) respectively on the according byte size field.

FLTK 1.3.2
Fl_Value_Slider.H
00001 //
00002 // "$Id: Fl_Value_Slider.H 8864 2011-07-19 04:49:30Z greg.ercolano $"
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 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_Value_Slider widget . */
00021 
00022 #ifndef Fl_Value_Slider_H
00023 #define Fl_Value_Slider_H
00024 
00025 #include "Fl_Slider.H"
00026 
00033 class FL_EXPORT Fl_Value_Slider : public Fl_Slider {
00034     Fl_Font textfont_;
00035     Fl_Fontsize textsize_;
00036     Fl_Color textcolor_;
00037 protected:
00038     void draw();
00039 public:
00040     int handle(int);
00041     Fl_Value_Slider(int x,int y,int w,int h, const char *l = 0);
00043     Fl_Font textfont() const {return textfont_;}
00045     void textfont(Fl_Font s) {textfont_ = s;}
00047     Fl_Fontsize textsize() const {return textsize_;}
00049     void textsize(Fl_Fontsize s) {textsize_ = s;}
00051     Fl_Color textcolor() const {return textcolor_;}
00053     void textcolor(Fl_Color s) {textcolor_ = s;}
00054 };
00055 
00056 #endif
00057 
00058 //
00059 // End of "$Id: Fl_Value_Slider.H 8864 2011-07-19 04:49:30Z greg.ercolano $".
00060 //