Commit Graph

188 Commits

Author SHA1 Message Date
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
Gregory Nutt
13984630ec Remove unused start icon 2014-07-13 13:52:35 -06:00
Gregory Nutt
4029790d3a NxWM: Add a larger minimize icon 2014-07-13 13:18:47 -06:00
Gregory Nutt
837381abb4 NxWM: Remove unused NX Logo icon 2014-07-13 12:51:54 -06:00
Gregory Nutt
7c4dffab84 NxWM: Remove unused NSH icon 2014-07-13 12:50:34 -06:00
Gregory Nutt
b3809bb57d NxWM: Update NxWM icons 2014-07-13 12:46:55 -06:00
Gregory Nutt
aee922524e NxWM: Add a larger calibration icon 2014-07-13 12:09:56 -06:00
Gregory Nutt
8288004f52 NxWM: Add 49x43 NxConsole icon 2014-07-13 10:48:29 -06:00
Gregory Nutt
b310bba248 NxWM: Add 47x49 calculator icon 2014-07-13 09:58:50 -06:00
Gregory Nutt
053b3b20f4 NxWM: Fix background color in 48x48 play glyph 2014-07-12 16:55:00 -06:00
Gregory Nutt
20c811ddeb NxWidgets: Fix repeated misspelling of Definitions 2014-07-12 16:36:24 -06:00
Gregory Nutt
45b1b0629d NxWM: Add a 48x48 play icon 2014-07-12 16:35:47 -06:00
Gregory Nutt
b876b1c95d NxWM: Rename all glyphs to include the size of the glyph as part of the filename 2014-07-12 14:40:15 -06:00
Gregory Nutt
df6e0bd33a More trailing whilespace removal 2014-04-13 16:26:44 -06:00
Gregory Nutt
80495b7ae5 NxWM::CTouchscreen: Add CONFIG_NXWM_TOUCHSCREEN_DEVINIT to suppress attempts to initialize the touchscreen from NxWM in the kernel build 2013-12-30 12:39:23 -06:00
Gregory Nutt
39f42b1cf8 NxWM: Can now disable the NxConsole window. STM3240G-EVAL knxwm: Disabled the NxConsole for now because there are issues with the kernel build. 2013-12-30 10:04:34 -06:00
Gregory Nutt
0a37711b40 Move rgbcolors.h to include/nuttx/video 2013-12-10 09:29:20 -06:00
Gregory Nutt
cd15af22fa Move include/nuttx/fb.h to include/nuttx/video/fb.h 2013-12-10 09:23:54 -06:00
Gregory Nutt
ef56d18271 Fix typos introduced into NxWM configuration by an earlier check-in today 2013-10-30 17:16:58 -06:00
Gregory Nutt
7a165b1eb9 Saving of touchscreen calibration but be done in CCalbration each time the touchscreen is calibrated, not just once on startup 2013-10-30 11:21:25 -06:00
Gregory Nutt
e940f21b0e Fix some floating point formats in debug statements 2013-10-17 17:54:04 -06:00
Gregory Nutt
dda776d27c SAMA5 TSD: Fix to prohibit reading samples when not valid 2013-10-17 17:26:06 -06:00
Gregory Nutt
c6533b6402 Minor tweaks to debug output; started renaming some icons to include size in the name; SAMA5 NxWM config needs libm 2013-10-17 15:19:26 -06:00
Gregory Nutt
8b207726d3 New touchscreen scaling algorithm for the case where measured X values vary with y position (and vice versa) 2013-10-17 12:07:14 -06:00
Gregory Nutt
eec375cf0e Add a 320x320 NuttX logo image 2013-10-15 16:10:08 -06:00
Gregory Nutt
d9d02140d8 Use NxWidgets::CScaledBitmap to scale icons in the NxWM taskbar 2013-10-15 14:29:06 -06:00
Gregory Nutt
31456e2e6a NxWM::CCalibration: Add logic to collect and average samples, optionally discarding the most extreem values 2013-10-14 18:35:23 -06:00
Gregory Nutt
1393518ba7 NxWM::CCalibration: Add an option to provide some instructions in the center of the calibration screen 2013-10-14 14:52:17 -06:00
Gregory Nutt
981a0b1a78 NxWM::CTaskbar: Add a method to redraw the task bar and the top application. From Petteri Aimonen 2013-06-04 08:11:45 -06:00
Gregory Nutt
4d79d88e76 Upate .gitignore files. Add .dSYM. Make sure / is present where needed. Add some missing .gitignore files 2013-05-30 14:45:31 -06:00
Gregory Nutt
4e5c8e97e8 Add NxWdigets::CGlyphSliderHorizontal and associated grip widgets. From Ken Pettit. 2013-05-15 16:45:57 -06:00
Gregory Nutt
9837ed0170 Fixe a race confition in NxWM::CCalibration 2013-05-12 11:47:09 -06:00
Gregory Nutt
27689b5aa5 Smalled CMediaPlayer image from Ken Pettit 2013-05-12 07:47:16 -06:00
Gregory Nutt
18737449ba Add beginning a a media player window to NxWM from Ken Pettit. Still a work in progress 2013-05-11 16:15:51 -06:00
Gregory Nutt
d8e05678fe Fixes to strchr, mkfats, and NxWidgets from Petteri Aimonen 2013-04-22 08:01:43 -06:00
Gregory Nutt
26e5eb4132 Clone svn:ignore directory atributed to .gitignore files 2013-04-04 14:27:29 -06:00
patacongo
804bd95e05 NxWidgets/NxWM updates from Petteri Aimonen (Patches 0007-0013)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5689 42af7a65-404d-4744-a932-0658087f49c3
2013-02-28 18:48:11 +00:00
patacongo
1e8e94837c Several patches from Petteri Aimonen
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5625 42af7a65-404d-4744-a932-0658087f49c3
2013-02-08 15:28:07 +00:00
patacongo
51d056fa13 All argv types should be char * const * not const char **
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5599 42af7a65-404d-4744-a932-0658087f49c3
2013-02-02 19:32:46 +00:00
patacongo
0dbe3858ea Patches from Petteri Aimonen + stdbool and rand() changes for Freddie Chopin
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5415 42af7a65-404d-4744-a932-0658087f49c3
2012-12-07 16:00:56 +00:00
patacongo
d95217b12b Missing comma in EVERY DELFILE/DELDIR macro call in every Makefile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5373 42af7a65-404d-4744-a932-0658087f49c3
2012-11-20 15:47:41 +00:00
patacongo
e7a39a316d Finishes all Makefile file changes for Windows native clean
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5368 42af7a65-404d-4744-a932-0658087f49c3
2012-11-17 20:44:02 +00:00
patacongo
ecda1b2df0 Patches 7-9 from Petteri Aimonen
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5365 42af7a65-404d-4744-a932-0658087f49c3
2012-11-17 13:50:02 +00:00
patacongo
0cf7957311 Patches 4-6 from Petteri Aimonen
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5364 42af7a65-404d-4744-a932-0658087f49c3
2012-11-16 16:49:21 +00:00
patacongo
f5abf6eff9 Move some (hopefully) un-necessary quotes in Makefiles for Mike
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5356 42af7a65-404d-4744-a932-0658087f49c3
2012-11-15 17:43:29 +00:00
patacongo
4ef1248714 Centralized the definition of the INCDIR script in tools/Config.mk
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5346 42af7a65-404d-4744-a932-0658087f49c3
2012-11-13 20:24:30 +00:00
patacongo
58380533f7 Partial change: Removing bash ARCHIVE loop
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5337 42af7a65-404d-4744-a932-0658087f49c3
2012-11-11 16:33:14 +00:00
patacongo
8c6c3e53e9 Several patches from Petteri Aimonen (mostly NxWidgets)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5324 42af7a65-404d-4744-a932-0658087f49c3
2012-11-09 14:54:29 +00:00
patacongo
afdb39b3b9 Several bugfixes contributed by Petteri Aimonen
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5238 42af7a65-404d-4744-a932-0658087f49c3
2012-10-20 16:07:49 +00:00
patacongo
9caa2a5828 Fixes mostly related to touchscreen on Shenzhou board (still does not work)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5196 42af7a65-404d-4744-a932-0658087f49c3
2012-09-27 01:26:47 +00:00
patacongo
5354e2d637 Fixes for clean compilation of NxWidgets/NxWM with Kconfig and changes to build system; Fixes to Shenzhou NxWM configuration for clean build
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5193 42af7a65-404d-4744-a932-0658087f49c3
2012-09-26 14:36:28 +00:00
patacongo
5bd084b192 Add more LCD-related Kconfig logic; Create a Kconfig file for NxWidgets
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5189 42af7a65-404d-4744-a932-0658087f49c3
2012-09-25 21:15:02 +00:00
patacongo
f2ccd473b4 Fix error in NxWM makefile that creapt in with recent check-ins
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4787 42af7a65-404d-4744-a932-0658087f49c3
2012-05-30 16:52:56 +00:00
patacongo
70c2bc8810 Various improvements to NxWM hex calculator display
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4767 42af7a65-404d-4744-a932-0658087f49c3
2012-05-23 12:53:57 +00:00
patacongo
f6f6b80f16 Fix 'make export' target for NxWM
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4766 42af7a65-404d-4744-a932-0658087f49c3
2012-05-23 01:42:20 +00:00
patacongo
faa17026c3 Update STM3240G-EVAL defconfig to support NxConsole keyboard input; increase spacing of icons on the start window
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4765 42af7a65-404d-4744-a932-0658087f49c3
2012-05-23 01:19:18 +00:00
patacongo
0c093cee78 Add some minimal support for precedence of operations
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4762 42af7a65-404d-4744-a932-0658087f49c3
2012-05-22 22:10:57 +00:00
patacongo
8a19aea00b CHexCalculator fixes + back out change to CNxtkWindow
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4761 42af7a65-404d-4744-a932-0658087f49c3
2012-05-22 21:01:42 +00:00
patacongo
654aadaed8 Add a hex calculator example to NxWM
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4760 42af7a65-404d-4744-a932-0658087f49c3
2012-05-22 19:29:22 +00:00
patacongo
2c9a38193b Some debug garbage was left in the files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4759 42af7a65-404d-4744-a932-0658087f49c3
2012-05-21 23:56:29 +00:00
patacongo
6ae1b32952 Fix NxWM bug: old window being minimized when new window open
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4757 42af7a65-404d-4744-a932-0658087f49c3
2012-05-21 13:34:09 +00:00
patacongo
2de19911f1 Add an NxWM console/keyboard thread and eliminate all issues with NxConsole window serial input
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4755 42af7a65-404d-4744-a932-0658087f49c3
2012-05-20 22:10:34 +00:00
patacongo
43cae03680 NxWM::CNxConsole and NXWidgets::CCallback can now redirect keyboard input to the NxConsole driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4754 42af7a65-404d-4744-a932-0658087f49c3
2012-05-20 18:56:14 +00:00
patacongo
9083c67595 Prep for 6.18 release
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4751 42af7a65-404d-4744-a932-0658087f49c3
2012-05-19 15:26:38 +00:00
patacongo
e40d54e2f7 NxWM unit test now appears bug free (other than some NxConsole-related issues).
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4750 42af7a65-404d-4744-a932-0658087f49c3
2012-05-19 04:20:56 +00:00
patacongo
c6c67e8987 NxWM: Add a missing part of the message blocking logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4748 42af7a65-404d-4744-a932-0658087f49c3
2012-05-19 01:01:00 +00:00
patacongo
ad63005d6a Final refactoring and implementation of delayed window deletion logic. Works worse now, but the changes are important and need to be checked in now
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4747 42af7a65-404d-4744-a932-0658087f49c3
2012-05-18 23:08:34 +00:00
patacongo
87e557af84 Fix a C++ link issue: If constant strings used only in constructor, the don't get linked into the final executable
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4743 42af7a65-404d-4744-a932-0658087f49c3
2012-05-17 16:55:13 +00:00
patacongo
0efb245d6d NxWM: Add IApplicationFactory so that we can create multiple instances of applications; And, as a result of that, re-vamp entire threading model. this is now buggier than it was before
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4742 42af7a65-404d-4744-a932-0658087f49c3
2012-05-16 22:43:40 +00:00
patacongo
a8c4c5e628 NXWidgets::CNxTkWindow must subtract the height of the toolbar (if any) when reporting the size of the window
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4741 42af7a65-404d-4744-a932-0658087f49c3
2012-05-15 20:10:32 +00:00
patacongo
4c27a000d0 NxWidgets: New pre-release event. Action now raised on pre-release. NxWM: Use action event to process icon touches; Fix initialization of image highlighted state.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4740 42af7a65-404d-4744-a932-0658087f49c3
2012-05-15 16:40:43 +00:00
patacongo
074a88c409 NxWM::CNxConsole when NSH window is closed by touching toolbar icon, need to suppress certain activities performed by the on_exit() handler
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4739 42af7a65-404d-4744-a932-0658087f49c3
2012-05-15 01:20:34 +00:00
patacongo
3c23ea4f5e Fix several compiler errors that occur when CONFIG_SCHED_ONEXIT is enabled; on_exit is now used in NxWM::NxConsole to close the window with the NSH session exits
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4738 42af7a65-404d-4744-a932-0658087f49c3
2012-05-15 00:45:14 +00:00
patacongo
a23a99c97c Improved thresholding logic in the STMPE11 driver; NxWM: Oops minimizing wrong application
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4737 42af7a65-404d-4744-a932-0658087f49c3
2012-05-14 21:57:38 +00:00
patacongo
fc935338e8 NxWM: Calibration is now done on a separate thread; Change mechanism for reporting calibration data; add method to determine if the application is full-screen
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4736 42af7a65-404d-4744-a932-0658087f49c3
2012-05-14 20:46:47 +00:00