| Package name | |
|---|---|
| Fl_Scroll | FLTK.Widgets.Groups.Scrolls |
| Types | |
|---|---|
| Fl_Scroll | Scroll |
| Scroll_Reference | |
| enum { HORIZONTAL = 1, VERTICAL = 2, BOTH = 3, ALWAYS_ON = 4, HORIZONTAL_ALWAYS = 5, VERTICAL_ALWAYS = 6, BOTH_ALWAYS = 7 } | Scroll_Kind |
| Fl_Region_LRTB | Region |
| Fl_Region_XYWH | Region |
| Fl_Scrollbar_Data | Scrollbar_Data |
| ScrollInfo | Scroll_Info |
| Attributes | |
|---|---|
Fl_Scrollbar hscrollbar; |
function H_Bar
(This : in out Scroll)
return Valuators.Sliders.Scrollbars.Scrollbar_Reference;
|
Fl_Scrollbar scrollbar; |
function V_Bar
(This : in out Scroll)
return Valuators.Sliders.Scrollbars.Scrollbar_Reference;
|
| Constructors | |
|---|---|
Fl_Scroll(int X, int Y, int W, int H, const char *L=0); |
function Create
(X, Y, W, H : in Integer;
Text : in String := "")
return Scroll;
|
| Rely on the automatic use of begin when a group is created, or use begin/end explicitly, or add each widget to its intended parent group manually. |
function Create
(Parent : in out Groups.Group'Class;
X, Y, W, H : in Integer;
Text : in String := "")
return Scroll;
|
| Functions and Procedures | |
|---|---|
void clear(); |
procedure Clear
(This : in out Scroll);
|
int handle(int); |
function Handle
(This : in out Scroll;
Event : in Event_Kind)
return Event_Outcome;
|
void resize(int X, int Y, int W, int H); |
procedure Resize
(This : in out Scroll;
X, Y, W, H : in Integer);
|
void scroll_to(int, int); |
procedure Scroll_To
(This : in out Scroll;
X, Y : in Integer);
|
int scrollbar_size() const; |
function Get_Scrollbar_Size
(This : in Scroll)
return Integer;
|
void scrollbar_size(int newSize); |
procedure Set_Scrollbar_Size
(This : in out Scroll;
To : in Integer);
|
int xposition() const; |
function Get_Scroll_X
(This : in Scroll)
return Integer;
|
int yposition() const; |
function Get_Scroll_Y
(This : in Scroll)
return Integer;
|
| See type method in Fl_Widget. |
function Get_Kind
(This : in Scroll)
return Scroll_Kind;
|
| See type method in Fl_Widget. |
procedure Set_Kind
(This : in out Scroll;
Mode : in Scroll_Kind);
|
| Protected Functions and Procedures | |
|---|---|
void bbox(int &, int &, int &, int &); |
procedure Bounding_Box
(This : in Scroll;
X, Y, W, H : out Integer);
|
void draw(); |
procedure Draw
(This : in out Scroll);
|
void recalc_scrollbars(Scrollinfo &si); |
procedure Recalculate_Scrollbars
(This : in Scroll;
Data : out Scroll_Info);
|