Atmel Software Framework

wtk_slider Struct Reference

Slider control struct.

Contains a pointer to the slider's containing window, and non-window information necessary for its operation. Structs of this type are created with wtk_slider_create().

Note
Structure fields are only internally accessible. Only pointers to these structures are needed externally.

Data Fields

win_command_t command
 Command to send. More...
 
struct win_windowcontainer
 Container window of slider. More...
 
uint8_t maximum
 Maximum value of slider. More...
 
uint8_t option
 Configuration of orientation and behavior. More...
 
uint8_t position
 Position of slider knob. More...
 
struct win_point root_pos
 Slider position in relation to root window. More...
 
enum wtk_slider_state state
 State of slider. More...
 
uint8_t value
 Value of slider. More...
 

win_command_t wtk_slider::command

Command to send.

Must be non-zero if used.

Referenced by wtk_slider_create(), and wtk_slider_get_command().

struct win_window* wtk_slider::container

Container window of slider.

Referenced by wtk_slider_as_child(), wtk_slider_create(), and wtk_slider_set_value().

uint8_t wtk_slider::maximum

Maximum value of slider.

Referenced by wtk_slider_create(), wtk_slider_get_value(), and wtk_slider_set_value().

uint8_t wtk_slider::option

Configuration of orientation and behavior.

Referenced by wtk_slider_create(), wtk_slider_get_value(), and wtk_slider_set_value().

uint8_t wtk_slider::position

Position of slider knob.

Referenced by wtk_slider_create(), and wtk_slider_set_value().

struct win_point wtk_slider::root_pos

Slider position in relation to root window.

Referenced by wtk_slider_create().

enum wtk_slider_state wtk_slider::state

State of slider.

Referenced by wtk_slider_create(), and wtk_slider_is_moving().

uint8_t wtk_slider::value

Value of slider.

Referenced by wtk_slider_create(), wtk_slider_get_value(), and wtk_slider_set_value().