36 #include "../api_gui.h"
37 #include "../gui_component.h"
38 #include "../../Core/Signals/callback_v0.h"
40 class CL_ScrollBar_Impl;
72 bool is_vertical()
const;
77 bool is_horizontal()
const;
92 int get_line_step()
const;
97 int get_page_step()
const;
102 int get_position()
const;
124 void set_horizontal();
129 void set_min(
int scroll_min);
134 void set_max(
int scroll_max);
139 void set_line_step(
int step);
144 void set_page_step(
int step);
152 void set_ranges(
int scroll_min,
int scroll_max,
int line_step,
int page_step);
159 void calculate_ranges(
int view_size,
int total_size);
164 void set_position(
int pos);
205 CL_SharedPtr<CL_ScrollBar_Impl> impl;