34 #include "../api_gui.h"
35 #include "../gui_component.h"
69 static Spin *get_named_item(
GUIComponent *reference_component,
const std::string &
id);
74 int get_value()
const;
79 float get_value_float()
const;
94 float get_min_float()
const;
99 float get_max_float()
const;
104 bool get_floating_point_mode()
const;
114 void set_value(
int value);
119 void set_value_float(
float value);
125 void set_ranges(
int min,
int max);
131 void set_ranges_float(
float min,
float max);
136 void set_step_size(
int step_size);
141 void set_step_size_float(
float step_size);
146 void set_number_of_decimal_places(
int decimal_places);
151 void set_floating_point_mode(
bool use_floating_point);
167 std::shared_ptr<Spin_Impl> impl;
A min(A a, B b)
Definition: cl_math.h:51
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.
A max(A a, B b)
Definition: cl_math.h:52
Spin component.
Definition: spin.h:45
Callback_v0.
Definition: callback_v0.h:152