diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-07-27 10:46:00 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-07-27 10:46:00 -0600 |
commit | 37317ad77cc8f1373007a2ff57aec7ee8880029c (patch) | |
tree | bcfebe6616b2fe77a6e86dff53dc1c4d0ba44e97 /NxWidgets/nxwm/include | |
parent | 149c502323f818b0a359422f0541d4ba5b77b999 (diff) | |
download | nuttx-37317ad77cc8f1373007a2ff57aec7ee8880029c.tar.gz nuttx-37317ad77cc8f1373007a2ff57aec7ee8880029c.tar.bz2 nuttx-37317ad77cc8f1373007a2ff57aec7ee8880029c.zip |
NxWM::CMediaPlayer: Need to remember last text box selection or else each new Value Change event from the volume slider is confused with a new file selection
Diffstat (limited to 'NxWidgets/nxwm/include')
-rw-r--r-- | NxWidgets/nxwm/include/cmediaplayer.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/NxWidgets/nxwm/include/cmediaplayer.hxx b/NxWidgets/nxwm/include/cmediaplayer.hxx index 1b9b98a66..ea1133f98 100644 --- a/NxWidgets/nxwm/include/cmediaplayer.hxx +++ b/NxWidgets/nxwm/include/cmediaplayer.hxx @@ -152,6 +152,7 @@ namespace NxWM enum EMediaPlayerState m_prevState; /**< Media player previous state */ enum EPendingRelease m_pending; /**< Pending image release event */ NXWidgets::CNxString m_filePath; /**< The full path to the selected file */ + unsigned int m_fileIndex; /**< Last selected text box selection */ bool m_fileReady; /**< True: Ready to play */ #ifndef CONFIG_AUDIO_EXCLUDE_VOLUME uint8_t m_level; /**< Current volume level, range 0-100 */ |