FLTK 1.4.0
Loading...
Searching...
No Matches
Fl_Roller.H
1//
2// Roller header file for the Fast Light Tool Kit (FLTK).
3//
4// Copyright 1998-2023 by Bill Spitzak and others.
5//
6// This library is free software. Distribution and use rights are outlined in
7// the file "COPYING" which should have been included with this file. If this
8// file is missing or damaged, see the license at:
9//
10// https://www.fltk.org/COPYING.php
11//
12// Please see the following page on how to report bugs and issues:
13//
14// https://www.fltk.org/bugs.php
15//
16
17/* \file
18 Fl_Roller widget . */
19
20#ifndef Fl_Roller_H
21#define Fl_Roller_H
22
23#ifndef Fl_Valuator_H
24#include "Fl_Valuator.H"
25#endif
26
38class FL_EXPORT Fl_Roller : public Fl_Valuator {
39protected:
40 void draw() FL_OVERRIDE;
41public:
42 int handle(int) FL_OVERRIDE;
43 Fl_Roller(int X,int Y,int W,int H,const char* L=0);
44};
45
46#endif
The Fl_Roller widget is a "dolly" control commonly used to move 3D objects.
Definition Fl_Roller.H:38
The Fl_Valuator class controls a single floating-point value and provides a consistent interface to s...
Definition Fl_Valuator.H:47
virtual void draw()=0
Draws the widget.
virtual int handle(int event)
Handles the specified event.
Definition Fl_Widget.cxx:102
#define FL_OVERRIDE
This macro makes it safe to use the C++11 keyword override with older compilers.
Definition fl_attr.h:46