Commit Graph

274 Commits

Author SHA1 Message Date
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
8ef9f39b43 Add a timeout to the STMPE11 touchscreen driver to catch missing pen up events
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4758 42af7a65-404d-4744-a932-0658087f49c3
2012-05-21 17:36:26 +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
1dcdf1619b Updat NxWidgets TODO list
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4756 42af7a65-404d-4744-a932-0658087f49c3
2012-05-20 22:24:43 +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
daa19c57c6 Implement an NX interface to block flush message queues in multi-user mode. This is necessary to prevent stale window handles when a window is closed
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4745 42af7a65-404d-4744-a932-0658087f49c3
2012-05-17 22:16:02 +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
patacongo
92d74816c0 Disabled NXTK autoraise; it does not work properly in multi-user mode due to queue mouse/touchscreen input
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4732 42af7a65-404d-4744-a932-0658087f49c3
2012-05-13 23:40:23 +00:00
patacongo
6a983e670d NXWidgets::CImage needs to catch mouse/touchscreen events; All touchscreen drivers need to report the last valid X/Y data when the screen is untouched.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4731 42af7a65-404d-4744-a932-0658087f49c3
2012-05-13 18:28:43 +00:00
patacongo
ad3d507223 NxWM: Fix detection of touch events in the tool bar; Start window should not have a stop icon
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4729 42af7a65-404d-4744-a932-0658087f49c3
2012-05-13 14:36:59 +00:00
patacongo
4b352d5052 NxWM: Fix double deletion of class
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4727 42af7a65-404d-4744-a932-0658087f49c3
2012-05-12 21:12:56 +00:00
patacongo
eb31d305a1 NxWM: Correct the calculation of the physical dispaly size
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4726 42af7a65-404d-4744-a932-0658087f49c3
2012-05-12 16:59:57 +00:00
patacongo
6e07395780 Add NxWM::CWindowControl; task bar and start window icons now functional
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4725 42af7a65-404d-4744-a932-0658087f49c3
2012-05-12 13:50:21 +00:00
patacongo
5e475e79d5 Fix a few STMPE11 touchscreen and NxWM touchscreen calibration bugs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4723 42af7a65-404d-4744-a932-0658087f49c3
2012-05-11 22:07:06 +00:00
patacongo
469ad81ecc SMTPE11 and NxWM touchscreen fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4722 42af7a65-404d-4744-a932-0658087f49c3
2012-05-11 18:27:46 +00:00
patacongo
c9896fa33d NxWM: Finishes touchscreen implementation; NuttX: Standardize touchscreen initialization interfaces for all boards
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4721 42af7a65-404d-4744-a932-0658087f49c3
2012-05-11 00:05:25 +00:00
patacongo
7b7620dfd1 NX trapezoid fixes; Various NxWM fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4720 42af7a65-404d-4744-a932-0658087f49c3
2012-05-10 16:25:56 +00:00
patacongo
b52606e569 More NxWM touchscreen fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4719 42af7a65-404d-4744-a932-0658087f49c3
2012-05-10 01:35:23 +00:00
patacongo
c5e96122d1 Adding beginning of NxWM touchscreen support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4718 42af7a65-404d-4744-a932-0658087f49c3
2012-05-09 22:30:19 +00:00
patacongo
a4fecca40b Missed a file in the last checkin
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4717 42af7a65-404d-4744-a932-0658087f49c3
2012-05-09 19:32:56 +00:00
patacongo
5804c3ce77 NxWidgets: Remove modal loops, Add CWindowEventHandler*. NxWM: Add support for full screen applications
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4716 42af7a65-404d-4744-a932-0658087f49c3
2012-05-09 19:31:48 +00:00
patacongo
ef0d5cd9e4 Integrate the STMPE11 driver into the STM3240G-EVAL board logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4714 42af7a65-404d-4744-a932-0658087f49c3
2012-05-08 15:07:53 +00:00
patacongo
6a76a5bbd3 Big NxWidgets simplification. Remove all hierarch logic. Widgets now exist only in a two-dimensional plane
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4712 42af7a65-404d-4744-a932-0658087f49c3
2012-05-07 22:49:27 +00:00
patacongo
b866254cde Various fixes for running the NxWM unit test on the STM3240G-EVAL
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4711 42af7a65-404d-4744-a932-0658087f49c3
2012-05-07 21:25:24 +00:00
patacongo
fb682a72fb Most fixes to get NxWM working on the STM3240G-EVAL
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4710 42af7a65-404d-4744-a932-0658087f49c3
2012-05-07 18:19:17 +00:00
patacongo
4e9d0ebfea NxWidgets: Fix a potential deadlock that can occur waiting for toolbard geometry data
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4709 42af7a65-404d-4744-a932-0658087f49c3
2012-05-07 15:05:07 +00:00
patacongo
9eaedaec1e Fix uninitialized pointer in CNxTKWindow
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4706 42af7a65-404d-4744-a932-0658087f49c3
2012-05-07 02:37:24 +00:00
patacongo
c27e15cfc6 Beginning of an SMTPE11 touchscreen/IO expander driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4700 42af7a65-404d-4744-a932-0658087f49c3
2012-05-05 17:27:03 +00:00
patacongo
3f530a5bb5 Updated NxWM widgets, several NX, NxWidgets, and NxWM bug fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4699 42af7a65-404d-4744-a932-0658087f49c3
2012-05-04 20:48:52 +00:00
patacongo
ad5146fbef Update NxWM colors; remove NxWidgets shelving
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4698 42af7a65-404d-4744-a932-0658087f49c3
2012-05-04 02:56:02 +00:00
patacongo
f1a16490fc NxWM: Cleaned up a couple of icon images
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4697 42af7a65-404d-4744-a932-0658087f49c3
2012-05-04 00:55:52 +00:00
patacongo
c7868d0bbf Fix a positioning problem in CRlePaletteBitmap
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4694 42af7a65-404d-4744-a932-0658087f49c3
2012-05-03 23:06:37 +00:00
patacongo
6a69813e35 Fix an NxWidgets bug; Update NxWM (it kind of works now)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4693 42af7a65-404d-4744-a932-0658087f49c3
2012-05-03 22:31:48 +00:00
patacongo
48e54a14ae Upated NxWM comments
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4692 42af7a65-404d-4744-a932-0658087f49c3
2012-05-03 19:46:37 +00:00
patacongo
953e890837 Minor task bar fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4691 42af7a65-404d-4744-a932-0658087f49c3
2012-05-03 13:29:07 +00:00