FLTK 1.3.9
Loading...
Searching...
No Matches
Fl_Roller.H
1//
2// "$Id$"
3//
4// Roller 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_Roller widget . */
21
22#ifndef Fl_Roller_H
23#define Fl_Roller_H
24
25#ifndef Fl_Valuator_H
26#include "Fl_Valuator.H"
27#endif
28
35class FL_EXPORT Fl_Roller : public Fl_Valuator {
36protected:
37 void draw();
38public:
39 int handle(int);
40 Fl_Roller(int X,int Y,int W,int H,const char* L=0);
41};
42
43#endif
44
45//
46// End of "$Id$".
47//
Fl_Roller(int X, int Y, int W, int H, const char *L=0)
Creates a new Fl_Roller widget using the given position, size, and label string.
Definition Fl_Roller.cxx:168
Fl_Valuator(int X, int Y, int W, int H, const char *L)
Creates a new Fl_Valuator widget using the given position, size, and label string.
Definition Fl_Valuator.cxx:28
virtual void draw()=0
Draws the widget.
virtual int handle(int event)
Handles the specified event.
Definition Fl_Widget.cxx:112