24#include "Fl_Scrollbar.H"
100 int xposition_, yposition_;
103 static void hscrollbar_cb(
Fl_Widget*,
void*);
104 static void scrollbar_cb(
Fl_Widget*,
void*);
105 static void draw_clip(
void*,
int,
int,
int,
int);
151 void fix_scrollbar_order();
152 void bbox(
int&,
int&,
int&,
int&)
const;
160 void resize(
int X,
int Y,
int W,
int H)
FL_OVERRIDE;
163 Fl_Scroll(
int X,
int Y,
int W,
int H, const
char *L = 0);
171 HORIZONTAL_ALWAYS = 5,
180 void scroll_to(
int,
int);
196 return(scrollbar_size_);
218 if ( newSize != scrollbar_size_ )
redraw();
219 scrollbar_size_ = newSize;
Fl_Group and Fl_End classes.
The Fl_Group class is the FLTK container widget.
Definition Fl_Group.H:56
virtual int on_move(int, int)
Allow derived groups to act when a widget is moved within the group.
Definition Fl_Group.cxx:497
void draw() FL_OVERRIDE
Draws the widget.
Definition Fl_Group.cxx:926
virtual int on_insert(Fl_Widget *, int)
Allow derived groups to act when a widget is added as a child.
Definition Fl_Group.cxx:473
virtual int delete_child(int n)
Removes the widget at index from the group and deletes it.
Definition Fl_Group.cxx:663
void clear()
Deletes all child widgets from memory recursively.
Definition Fl_Group.cxx:379
#define FL_OVERRIDE
This macro makes it safe to use the C++11 keyword override with older compilers.
Definition fl_attr.h:46