Atmel Software Framework

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Slider widget options

These options can be ORed together to specify the behaviour of a slider widget when creating it with wtk_slider_create.

Slider widget command event configuration options.

For use with the option parameter of wtk_slider_create

#define WTK_SLIDER_CMD_NONE   (0 << 0)
 Never issue command events. More...
 
#define WTK_SLIDER_CMD_MOVE   (1 << 0)
 Issue command event whenever slider value is updated. More...
 
#define WTK_SLIDER_CMD_RELEASE   (1 << 1)
 Issue command event whenever slider is released. More...
 

Slider widget orientation configuration options.

For use with the option parameter of wtk_slider_create

#define WTK_SLIDER_HORIZONTAL   (0 << 0)
 Slider is horizontally oriented. More...
 
#define WTK_SLIDER_VERTICAL   (1 << 2)
 Slider is vertically oriented. More...
 

Slider widget invert configuration options.

For use with the option parameter of wtk_slider_create

#define WTK_SLIDER_INVERT   (1 << 3)
 Slider value is inverted. More...
 

#define WTK_SLIDER_CMD_MOVE   (1 << 0)

Issue command event whenever slider value is updated.

Referenced by wtk_slider_create(), and wtk_slider_handler().

#define WTK_SLIDER_CMD_NONE   (0 << 0)

Never issue command events.

(Default option)

#define WTK_SLIDER_CMD_RELEASE   (1 << 1)

Issue command event whenever slider is released.

Referenced by wtk_slider_create(), and wtk_slider_handler().

#define WTK_SLIDER_HORIZONTAL   (0 << 0)

Slider is horizontally oriented.

(Default option)

#define WTK_SLIDER_INVERT   (1 << 3)

Slider value is inverted.

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

#define WTK_SLIDER_VERTICAL   (1 << 2)

Slider is vertically oriented.

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