33 #include "../api_gui.h"
34 #include "../gui_component.h"
68 static Slider *get_named_item(
GUIComponent *reference_component,
const std::string &
id);
73 bool is_vertical()
const;
78 bool is_horizontal()
const;
93 int get_tick_count()
const;
98 int get_page_step()
const;
103 int get_position()
const;
108 bool get_lock_to_ticks()
const;
113 float get_preferred_content_width();
118 float get_preferred_content_height(
float width);
129 void set_vertical(
bool enable);
134 void set_horizontal(
bool enable);
139 void set_min(
int slider_min);
144 void set_max(
int slider_max);
149 void set_tick_count(
int tick_count);
154 void set_page_step(
int steps);
159 void set_lock_to_ticks(
bool lock);
167 void set_ranges(
int slider_min,
int slider_max,
unsigned int tick_count,
int page_step);
172 void set_position(
int pos);
198 std::shared_ptr<Slider_Impl> impl;
Track bar component.
Definition: slider.h:44
GUI base component class.
Definition: gui_component.h:81
GUIComponent * get_named_item(const std::string &id)
Find child component with the specified component ID name.
Callback_v0.
Definition: callback_v0.h:152