/* Get slider value. 
Returns the slider value, inverted if such behavior is configured. */
uint8_t wtk_slider_get_value(struct wtk_slider const *slider)
/* Get slider value. 
Returns the slider value, inverted if such behavior is configured. */
uint8_t wtk_slider_get_value(struct wtk_slider const *slider)
{
	Assert(slider);
	if (slider->option & WTK_SLIDER_INVERT) {
		return slider->maximum - slider->value;
	} else {
		return slider->value;
	}
}