Commit Graph

269 Commits

Author SHA1 Message Date
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
34e0619194 Remove some warnings 2014-07-24 20:02:12 -06:00
Gregory Nutt
3bf1fc10d2 Update ChangeLogs 2014-07-24 15:09:22 -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
061e95bd91 NxWidgets::CNxString: Add a getAllocSize() method to make it easier to convert CNxStrings to NUL-terminated C strings 2014-07-24 14:57:38 -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
422fd3ea02 Update ChangeLogs 2014-07-23 18:24:02 -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
08539e3e77 Update ChangeLogs 2014-07-23 15:21:03 -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
a6e47d7eb3 NxWM: Add configuration options to filter CMediaPlayer files based on extension 2014-07-23 14:45:54 -06:00
Gregory Nutt
fa74711ee6 Update ChangeLog 2014-07-22 07:49:23 -06:00
Gregory Nutt
ca6b53f704 Make CNxTimer stop itself before destruction. Otherwise a call to an invalid work queue entry may occur. From Petteri Aimonen 2014-07-22 07:48:32 -06:00
Gregory Nutt
a864dcd7cd Make CTabPanel raise action event when tab is changed. Also add a function for getting the currently selected tab index. From Petteri Aimonen 2014-07-22 07:46:02 -06:00
Gregory Nutt
ad2aa947f1 NxWidgets::CTabPanel: Modify behavior in showPage() method. Eliminate a duplicate redraw that caused flickering; re-order some logic so that widgets are hidden before operated on. From Petteri Aimonen 2014-07-22 07:40:39 -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
23c30fd923 NxWidgets::CNxString: Make destructor virtual. From Petteri Aimonen 2014-07-22 07:32:10 -06:00
Gregory Nutt
cff7b270a9 NxWidgets: Fix a typo in the Kconfig file 2014-07-21 17:43:18 -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
087ab16b6d Update ChangeLogs 2014-07-17 13:38:53 -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
f62f6b33f3 Update ChangeLog 2014-07-17 12:14:35 -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
1f87d19f7d Update ChangeLog 2014-07-17 10:57:50 -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
13e0b8509d Update ChangeLog 2014-07-17 10:34:51 -06:00
Gregory Nutt
1e6833d533 NxWidgets::CImage: Cannot use NxWidgets::CGraphicsPort:drawBitmapGreyScale() because it does not respect transparent or background colors in its current form. The end result is that makes the image background grey as well as the image 2014-07-17 10:34:41 -06:00
Gregory Nutt
9067bb92f1 Update ChangeLog 2014-07-17 10:19:54 -06:00
Gregory Nutt
e52affe234 Cosmetic.. include cstdint instead of stdint.h, et al 2014-07-17 10:19:27 -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
6f18adea58 NxWidgets::CImage: Should not attempt to draw the empty regions at the top and the bottom of the image box in greyscale 2014-07-17 10:15:41 -06:00
Gregory Nutt
010cc0e624 NxWidgets::CGraphicsPort: Fix drawBitmapGreyScale method. Actually drew nothing because of several errors in positioning and buffer usage 2014-07-17 10:13:37 -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
ef1112d774 Use cstdint, etc. vs stdint.h, etc. 2014-07-16 15:09:20 -06:00
Gregory Nutt
fb00e71771 Update changelog 2014-07-16 14:12:25 -06:00
Gregory Nutt
becc6901db NxWM::CMediaPlayer: Convert CLabel to a CListBox 2014-07-16 14:11:02 -06:00
Gregory Nutt
d551a96690 update changelog 2014-07-16 11:12:22 -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
abc11dd52a NxWM::CMediaPlayer: Fix of state related bugs + Size if CLabel is increased (in preparation for becoming a CListBox) 2014-07-16 11:11:00 -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