Opened 10 years ago
Last modified 4 years ago
#2593 new enhancement
GUI - Slider control — at Initial Version
Reported by: | historic_bruno | Owned by: | |
---|---|---|---|
Priority: | Should Have | Milestone: | Backlog |
Component: | Core engine | Keywords: | |
Cc: | Patch: |
Description
Example: Such a control would help in various parts of the UI that need numeric values chosen along a scale.
Unique attributes:
- Current value of the slider (possibly re-use caption field like other controls, should be readable/writable)
- Orientation (horizontal or vertical)
- Minimum value of the slider (left or bottom)
- Maximum value of the slider (right or top)
- Width of the button in screen coordinates
- Background area sprite
- Draggable button sprite
- Sprites for disable/pressed states
Advanced version with markers/intervals:
- Interval to place the markers (auto?)
- Marker sprite and size
For horizontal slider, left-right arrow keys should move it, for vertical slider, up-down arrow keys should move it.
Old reference document: GUI_-_Slider
Note:
See TracTickets
for help on using tickets.
Example of a slider, from wxWidgets Windows port