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);
150 int on_move(
int,
int)
override;
151 void fix_scrollbar_order();
152 void bbox(
int&,
int&,
int&,
int&)
const;
153 void draw()
override;
160 void resize(
int X,
int Y,
int W,
int H)
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 main FLTK container widget.
Definition Fl_Group.H:59
virtual int on_move(int, int)
Allow derived groups to act when a widget is moved within the group.
Definition Fl_Group.cxx:489
virtual int on_insert(Fl_Widget *, int)
Allow derived groups to act when a widget is added as a child.
Definition Fl_Group.cxx:465
virtual int delete_child(int n)
Removes the widget at index from the group and deletes it.
Definition Fl_Group.cxx:650
void clear()
Deletes all child widgets from memory recursively.
Definition Fl_Group.cxx:382
int handle(int) override
Handles the specified event.
Definition Fl_Group.cxx:148
void draw() override
Draws the widget.
Definition Fl_Group.cxx:928
void resize(int, int, int, int) override
Resizes the Fl_Group widget and all of its children.
Definition Fl_Group.cxx:809