Muteki
EABI code execution on Besta® RTOS devices.
Loading...
Searching...
No Matches
slider.h File Reference

Slider widget type definition. More...

Go to the source code of this file.

Data Structures

struct  ui_slider_s
 The slider widget struct. More...

Typedefs

typedef struct ui_slider_s ui_slider_t
 The slider widget type.

Enumerations

enum  ui_slider_flag_e {
  UI_SLIDER_TRACK_SIMPLE = 0x0000 , UI_SLIDER_TRACK_BAR = 0x0001 , UI_SLIDER_THUMB_NONE = 0x0000 , UI_SLIDER_THUMB_BITMAP = 0x0002 ,
  UI_SLIDER_THUMB_BITMAP_ALT = 0x0004 , UI_SLIDER_THUMB_OUTLINE = 0x0006 , UI_SLIDER_FRAME_NONE = 0x0000 , UI_SLIDER_FRAME_RAISED = 0x0020 ,
  UI_SLIDER_FRAME_SUNKEN = 0x0040
}
 Style flags for the slider widget. More...

Detailed Description

Slider widget type definition.

Enumeration Type Documentation

◆ ui_slider_flag_e

Style flags for the slider widget.

The default slider styles.

Note
These documented behaviors are only true on an unthemed slider widget. Theme modules could ignore or drastically alter the behavior of the flags.
Enumerator
UI_SLIDER_TRACK_SIMPLE 

Track style: Simple.

This draws a thin bar filled with foreground color.

UI_SLIDER_TRACK_BAR 

Track style: Progress-bar-like.

This draws a thick bar with left portion up to the thumb filled with foreground color, and the right portion filled with background color, like a typical progress bar.

UI_SLIDER_THUMB_NONE 

Thumb style: Hidden.

UI_SLIDER_THUMB_BITMAP 

Thumb style: Bitmap.

UI_SLIDER_THUMB_BITMAP_ALT 

Thumb style: Bitmap (alternate).

Seems to be exactly the same as UI_SLIDER_THUMB_BITMAP, although an external theme could make use of it.

UI_SLIDER_THUMB_OUTLINE 

Thumb style: Outline.

Draw a black box over the thumb when it is not in focus. No idea why it is here.

UI_SLIDER_FRAME_NONE 

Frame style: None.

Do not draw a frame around the slider.

UI_SLIDER_FRAME_RAISED 

Frame style: Raised.

Draw a raised 3D-looking box frame around the slider.

UI_SLIDER_FRAME_SUNKEN 

Frame style: Sunken.

Draw a sunken 3D-looking box frame around the slider.