summaryrefslogtreecommitdiff
path: root/NxWidgets/nxwm
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-07-17 12:12:02 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-07-17 12:12:02 -0600
commit1b928ea22fbe5e63c5fbfd9a9051eb40512a6665 (patch)
treebee9856ea642e60a428dca6d2cdf692370b49792 /NxWidgets/nxwm
parent3898201b9416c1fc1a828270fe8ce12d7861cd71 (diff)
downloadnuttx-1b928ea22fbe5e63c5fbfd9a9051eb40512a6665.tar.gz
nuttx-1b928ea22fbe5e63c5fbfd9a9051eb40512a6665.tar.bz2
nuttx-1b928ea22fbe5e63c5fbfd9a9051eb40512a6665.zip
NxWidgets::CGlyphSliderHorizontal: No longer uses a hard-coded slider height; the slider height is now provided as a parameter, replacing the widget height which is now calculated from the glip image height
Diffstat (limited to 'NxWidgets/nxwm')
-rw-r--r--NxWidgets/nxwm/include/nxwmconfig.hxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/NxWidgets/nxwm/include/nxwmconfig.hxx b/NxWidgets/nxwm/include/nxwmconfig.hxx
index 7a4c4ff8d..4160fbae7 100644
--- a/NxWidgets/nxwm/include/nxwmconfig.hxx
+++ b/NxWidgets/nxwm/include/nxwmconfig.hxx
@@ -648,6 +648,14 @@
# define CONFIG_NXWM_MEDIAPLAYER_VOLUMESTEP 5
#endif
+#ifndef CONFIG_NXWM_MEDIAPLAYER_MINVOLUMEHEIGHT
+# define CONFIG_NXWM_MEDIAPLAYER_MINVOLUMEHEIGHT 6
+#endif
+
+#ifndef CONFIG_NXWM_MEDIAPLAYER_VOLUMECOLOR
+# define CONFIG_NXWM_MEDIAPLAYER_VOLUMECOLOR MKRGB(63,90,192)
+#endif
+
#ifndef CONFIG_NXWM_MEDIAPLAYER_ICON
# define CONFIG_NXWM_MEDIAPLAYER_ICON NxWM::g_mediaplayerBitmap
#endif