From a846db8f925933cd25dde2f3a601183b710cdd9c Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 17 Jul 2014 12:14:04 -0600 Subject: [PATCH] NxWM::CMediaPlayer: Now calculates the volume slider height from the grip image height --- NxWidgets/Kconfig | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/NxWidgets/Kconfig b/NxWidgets/Kconfig index 34a96e89d..ec56d09a2 100644 --- a/NxWidgets/Kconfig +++ b/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