趣味で作ってるロボット用ソフトウェア
 All Classes Files Functions Enumerations Enumerator Friends Pages
Public Member Functions | List of all members
hrk::Slider Class Reference
Inheritance diagram for hrk::Slider:
Inheritance graph
[legend]
Collaboration diagram for hrk::Slider:
Collaboration graph
[legend]

Public Member Functions

 Slider (double total_width, Label &back_left, Label &back_center, Label &back_right, Button &front_bar)
 
void set_alpha (double alpha)
 
void set_color_strength (double ratio)
 
void update (void)
 
void draw (void)
 
SizeF size (void) const
 
void set_filled_label (Label &label)
 
void set_range (double min, double max)
 
void set_step (double step)
 
double step (void) const
 
void set_value (double value)
 
double value (void) const
 
void set_disable_labels (Label &disable_bar, Label &disable_filled)
 
void set_enabled (bool enable)
 
bool is_enabled (void) const
 
- Public Member Functions inherited from hrk::Component
virtual void set_position (const PointF &position)
 
virtual PointF position (void) const
 
virtual void set_input_enabled (bool enable)
 
virtual bool input_enabled (void) const
 
virtual double width (void) const
 
virtual double height (void) const
 
virtual RectF rect (void) const
 
virtual double set_align (double value, const unsigned char align)
 

The documentation for this class was generated from the following files: