diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-07-17 12:14:04 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-07-17 12:14:04 -0600 |
commit | 854fad2518f8dae1a39be55223c31738dd56f42c (patch) | |
tree | f5c3af51af8224fbf0c7472a3109464fdeb7f793 /apps/NxWidgets/Kconfig | |
parent | 1b928ea22fbe5e63c5fbfd9a9051eb40512a6665 (diff) | |
download | px4-nuttx-854fad2518f8dae1a39be55223c31738dd56f42c.tar.gz px4-nuttx-854fad2518f8dae1a39be55223c31738dd56f42c.tar.bz2 px4-nuttx-854fad2518f8dae1a39be55223c31738dd56f42c.zip |
NxWM::CMediaPlayer: Now calculates the volume slider height from the grip image height
Diffstat (limited to 'apps/NxWidgets/Kconfig')
-rw-r--r-- | apps/NxWidgets/Kconfig | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/apps/NxWidgets/Kconfig b/apps/NxWidgets/Kconfig index 34a96e89d..ec56d09a2 100644 --- a/apps/NxWidgets/Kconfig +++ b/apps/NxWidgets/Kconfig @@ -1153,6 +1153,29 @@ config NXWM_MEDIAPLAYER_VOLUMESTEP ---help--- This increment in volume, up or down, when the volume bar is clicked. +config NXWM_MEDIAPLAYER_MINVOLUMEHEIGHT + int "Minimum Player Volume Minimum Height" + default 6 + ---help--- + The height of the slider is automatically calculated from the height + of the grip image. However, we will not let the height of the grip + get smaller than this value. + + NOTE: This width includes the size of the slider upper and lower + borders. + +config NXWM_MEDIAPLAYER_CUSTOM_COLORS + bool "Select Custom Media Player Colors" + default n + +if NXWM_MEDIAPLAYER_CUSTOM_COLORS + + config NXWM_MEDIAPLAYER_VOLUMECOLOR + hex "Media Volume Slide Color + default 0x0 + +endif # NXWM_MEDIAPLAYER_CUSTOM_COLORS + config NXWM_MEDIAPLAYER_BORDERS bool "Media Player Button Borders" default n |