Commit Graph

162 Commits

Author SHA1 Message Date
Gregory Nutt
598dfba79f NxWM::CMediaPlayer: Add a CLabel that show the current fast forward/rewind speed 2014-07-28 12:48:05 -06:00
Gregory Nutt
606d431206 CNxWM::CMediaPlayer: Correct handling of increments to sub-sampling rate 2014-07-27 19:31:52 -06:00
Gregory Nutt
af3ba4fb9a NxWM::CMediaPlayer: successive presses on fast forward or rewind button now increase the subsampling, wrapping back to 2X when the maximum of 16x is reached. 2014-07-27 12:25:15 -06:00
Gregory Nutt
c0d9be145f 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 2014-07-27 10:46:00 -06:00
Gregory Nutt
7b43b0543b NxWM::CMediaPlayer: Revise state logic. We need an additional state for the case where a file is selected, but playing has not yet start. Several other state-related fixes 2014-07-25 10:11:30 -06:00
Gregory Nutt
04152576fa NxWM:CMediaPlayer: Fix some string handling and memory allocation errors 2014-07-24 20:11:37 -06:00
Gregory Nutt
4c6723f96e Lots of changes to integrate with Ken's NxPlayer 2014-07-24 15:01:05 -06:00
Gregory Nutt
e5ff9a4798 Add a do-notthin, virtual destructor to eliminate a warning 2014-07-24 14:59:00 -06:00
Gregory Nutt
80be4efcf1 NxWM::CMediaPlayer: Condition out features corresonding to NxPlayer features that are not enabled 2014-07-24 11:02:39 -06:00
Gregory Nutt
afd005ccde Audio: Add hooks for fast-forward and rewind needed by CMediaPlayer; add hooks for equalizer settings needed by the WM8904 2014-07-24 08:28:10 -06:00
Gregory Nutt
7d814aa2b1 Need debug output from CMediaPlayer if either audio or graphics debug enabled 2014-07-24 06:52:54 -06:00
Gregory Nutt
2142630106 NxWM: Beginning integration of NxPlayer into Nxwm::MediaPlayer. Gets handle, sets device, and releases handle. Lots more to be done 2014-07-23 18:19:00 -06:00
Gregory Nutt
492518a43a Fix missing right parenthesis in conditional compilation; Also, should use strcasecmp vs. strcmp when comparing for matches in extension 2014-07-23 17:20:52 -06:00
Gregory Nutt
c4fa22d933 NxWM::CMediaPlayer: Add logic to read files from the media mountpoint, filter them by extension, and display the file names in the listbox 2014-07-23 14:47:38 -06:00
Gregory Nutt
1cf57a4097 NxWidgets::CTaskbar: Fix type of return value fromopenRawWindow() method. From Petteri Aimonen 2014-07-22 07:36:08 -06:00
Gregory Nutt
c8e7cce4f8 Cosmet updates to some comments 2014-07-17 17:58:24 -06:00
Gregory Nutt
689797562f NxWM: Increase default priority of mouse and keyboard listener threads. Does not seem to make any difference but still seems like a good idea 2014-07-17 15:06:05 -06:00
Gregory Nutt
1db74a3494 NxWM::CApplicationWindow: Created the custom font for the toolbar title, but never used it. 2014-07-17 13:38:37 -06:00
Gregory Nutt
5af2bcff94 NxWM::CMediaPlayer: Now calculates the volume slider height from the grip image height 2014-07-17 12:14:04 -06:00
Gregory Nutt
ea791a350e 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 2014-07-17 12:12:02 -06:00
Gregory Nutt
4a34820526 NxWM::CMediaPlayer: State variable was left in a bad state and caused some problems down the road 2014-07-17 10:57:32 -06:00
Gregory Nutt
47c361c36f NxWM::CMediaPlayer: Fix some state-related bugs introduced yesterday. Improved state-related button displayes. Now correctly catches and handles file selection events 2014-07-17 10:18:36 -06:00
Gregory Nutt
b998c623da MXT driver: Fix error in thread test... backward logic 2014-07-16 22:13:41 -06:00
Gregory Nutt
f5626ea605 Misc changes related to MediaPlayer. Nothing really significant 2014-07-16 19:20:44 -06:00
Gregory Nutt
b1e7a4e4f8 Rename CONFIG_NX_MOUSE to CONFIG_NX_INPUT, then add CONFIG_NX_XYINPUT_MOUSE and CONFIG_XYINPUT_TOUCHSCREEN 2014-07-16 16:31:31 -06:00
Gregory Nutt
becc6901db NxWM::CMediaPlayer: Convert CLabel to a CListBox 2014-07-16 14:11:02 -06:00
Gregory Nutt
9a471672b3 NxWM::CMediaPlayer: Fix of state related bugs + Size if CLabel is increased (in preparation for becoming a CListBox) 2014-07-16 11:11:55 -06:00
Gregory Nutt
c3401b677b NxWM::CMediaPlayer: Fix memory leak 2014-07-16 07:16:12 -06:00
Gregory Nutt
e602d5b722 NxWM::CMediaPlayer: Two places where use of play and pause buttons reversed 2014-07-15 20:26:37 -06:00
Gregory Nutt
d36a3bcf6b NxWM::CMediaPlayer: Fix issues with state changes performed on the PreRelese event handler 2014-07-15 19:47:56 -06:00
Gregory Nutt
9ee647caba NxWM: Cosmetic changes to naming and comments 2014-07-15 18:55:59 -06:00
Gregory Nutt
4961279f28 NxMW::CMediaPlayer now supports a pause button 2014-07-15 17:33:59 -06:00
Gregory Nutt
089bdf5c32 NxWM::CMediaPlayer: Some improved state management 2014-07-15 15:09:13 -06:00
Gregory Nutt
e38731585d NxWM::CMediaPlayer: Now uses CStickyImages for fast forward and rewind 2014-07-15 09:48:47 -06:00
Gregory Nutt
541a92146a NxWM::CMediaPlay: Now receives button events 2014-07-15 08:41:19 -06:00
Gregory Nutt
0bef47273f Update media player icons again 2014-07-15 08:05:47 -06:00
Gregory Nutt
3f4b410fbe NwWM: Minor clean-up of media player icon 2014-07-14 21:15:07 -06:00
Gregory Nutt
ae4ffd5d55 NxWM::CMediaPlayer now uses the new CImage methods to align media controls in buttons 2014-07-14 20:38:22 -06:00
Gregory Nutt
f02a289c15 Add larger images for media player. Also options to control spacing and borders on media player windows 2014-07-14 16:56:40 -06:00
Gregory Nutt
9b32a47e93 NxWM: Media player will no reposition controls based on selected image sizes 2014-07-14 13:00:15 -06:00
Gregory Nutt
3e7193e23e NxWM: Media player will dynamically position controls based on window size 2014-07-14 12:31:16 -06:00
Gregory Nutt
727387e50b NxWM: Add media player PNG files 2014-07-14 12:29:41 -06:00
Gregory Nutt
df63f41fbf NxWM: Toolbar font ID can now be separately configured 2014-07-14 11:21:02 -06:00
Gregory Nutt
ac6071e1cf NxWM: Add larger media player icon 2014-07-14 09:20:23 -06:00
Gregory Nutt
dd47fa066a NxWM: Add larger media player icon 2014-07-14 09:20:13 -06:00
Gregory Nutt
de5c7fa462 NxWM: Slightly improvied minimize icon 2014-07-13 19:36:30 -06:00
Gregory Nutt
db76c87a22 NxWM: Fix background color in 48x48 play glyph 2014-07-13 18:21:46 -06:00
Gregory Nutt
758a6ee58a NxWM: Can now configure to use small or large icons 2014-07-13 15:58:12 -06:00
Gregory Nutt
10b617d434 NxWM: Add a larger stop icon 2014-07-13 14:21:42 -06:00
Gregory Nutt
5d96aae714 Remove unused start image 2014-07-13 13:53:35 -06:00