Commit Graph

128 Commits

Author SHA1 Message Date
patacongo
6d88b5b00c Add font test
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1413 42af7a65-404d-4744-a932-0658087f49c3
2008-12-04 16:45:06 +00:00
patacongo
9db08181c2 Removed superfluous toolbar handle
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1412 42af7a65-404d-4744-a932-0658087f49c3
2008-12-04 12:57:22 +00:00
patacongo
af233cacc6 Enable keypad input
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1411 42af7a65-404d-4744-a932-0658087f49c3
2008-12-04 03:19:59 +00:00
patacongo
000ac55d04 Add logic for font rendering
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1410 42af7a65-404d-4744-a932-0658087f49c3
2008-12-04 01:11:21 +00:00
patacongo
f735008c65 Bitmap font support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1409 42af7a65-404d-4744-a932-0658087f49c3
2008-12-03 20:54:19 +00:00
patacongo
ffa067e1e9 Add support for bitmap fonts
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1408 42af7a65-404d-4744-a932-0658087f49c3
2008-12-03 20:53:23 +00:00
patacongo
c5872e332f Modify examples/nx to use NXTK; fix related bugs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1407 42af7a65-404d-4744-a932-0658087f49c3
2008-12-03 15:27:40 +00:00
patacongo
87426f56d7 typo in comments
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1406 42af7a65-404d-4744-a932-0658087f49c3
2008-12-03 13:27:44 +00:00
patacongo
e16ba8a5db Fix error in re-draw clipping
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1405 42af7a65-404d-4744-a932-0658087f49c3
2008-12-03 13:27:14 +00:00
patacongo
4917690c02 Need to be consistent: rectangle endpoints are within rectangle
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1404 42af7a65-404d-4744-a932-0658087f49c3
2008-12-03 01:50:30 +00:00
patacongo
ee55367915 Positioning depends on width of border
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1403 42af7a65-404d-4744-a932-0658087f49c3
2008-12-03 00:33:59 +00:00
patacongo
63dfdf17b9 Using uninitialized variable
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1402 42af7a65-404d-4744-a932-0658087f49c3
2008-12-03 00:30:59 +00:00
patacongo
dd4ade3867 Fix: height, not width
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1401 42af7a65-404d-4744-a932-0658087f49c3
2008-12-03 00:30:09 +00:00
patacongo
18a1f48fa0 cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1400 42af7a65-404d-4744-a932-0658087f49c3
2008-12-03 00:29:31 +00:00
patacongo
cdc766ed8e Add frame drawing logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1399 42af7a65-404d-4744-a932-0658087f49c3
2008-12-03 00:28:53 +00:00
patacongo
60c083385f For consistency, all close function return int
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1398 42af7a65-404d-4744-a932-0658087f49c3
2008-12-03 00:28:08 +00:00
patacongo
3a55acb834 Providing wrong size
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1397 42af7a65-404d-4744-a932-0658087f49c3
2008-12-03 00:25:15 +00:00
patacongo
7f8eb9eb1d Fix bad conditional compilation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1396 42af7a65-404d-4744-a932-0658087f49c3
2008-12-03 00:24:25 +00:00
patacongo
52ca6f16a6 Need to be consistent: rectangle endpoints are within rectangle
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1395 42af7a65-404d-4744-a932-0658087f49c3
2008-12-03 00:23:28 +00:00
patacongo
55e089f25e Need to report the new position before re-drawing
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1394 42af7a65-404d-4744-a932-0658087f49c3
2008-12-03 00:21:53 +00:00
patacongo
9414c64d0d Remove redundant origin value
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1393 42af7a65-404d-4744-a932-0658087f49c3
2008-12-02 20:57:45 +00:00
patacongo
c13aa8eb4d Don't keep sizes in rectangles
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1392 42af7a65-404d-4744-a932-0658087f49c3
2008-12-02 20:02:59 +00:00
patacongo
0b8d1166d4 More NXTK files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1391 42af7a65-404d-4744-a932-0658087f49c3
2008-12-02 19:08:19 +00:00
patacongo
6a27ade4af Revised/simplified toolkit concept
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1390 42af7a65-404d-4744-a932-0658087f49c3
2008-12-02 16:39:39 +00:00
patacongo
fcb0515526 filltrapezoid needs a clipping rectangle
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1389 42af7a65-404d-4744-a932-0658087f49c3
2008-12-02 16:38:35 +00:00
patacongo
981d2a73be Add support for low resolution rasterizers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1388 42af7a65-404d-4744-a932-0658087f49c3
2008-12-02 12:41:05 +00:00
patacongo
0c3926c145 Fixed for multi-user NX mode
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1386 42af7a65-404d-4744-a932-0658087f49c3
2008-12-01 22:13:03 +00:00
patacongo
c7b165ddd1 Fix some parameter passing
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1385 42af7a65-404d-4744-a932-0658087f49c3
2008-12-01 22:10:28 +00:00
patacongo
d1a0680f06 Integrated mouse support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1384 42af7a65-404d-4744-a932-0658087f49c3
2008-12-01 18:54:29 +00:00
patacongo
d68afa9783 Add rectinside(), vectsubtract(), visible()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1381 42af7a65-404d-4744-a932-0658087f49c3
2008-12-01 18:51:48 +00:00
patacongo
8dde7100b8 Add the beginning of NX toolkit
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1380 42af7a65-404d-4744-a932-0658087f49c3
2008-12-01 18:51:08 +00:00
patacongo
1df8e024de No C++
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1379 42af7a65-404d-4744-a932-0658087f49c3
2008-12-01 18:50:15 +00:00
patacongo
eda0693e8c NX toolkit
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1376 42af7a65-404d-4744-a932-0658087f49c3
2008-12-01 17:36:53 +00:00
patacongo
38c270622f Fix raise logic -- what was I thinking?
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1375 42af7a65-404d-4744-a932-0658087f49c3
2008-12-01 16:34:05 +00:00
patacongo
c16178c20d Only provide mouse input if mouse is in window
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1374 42af7a65-404d-4744-a932-0658087f49c3
2008-12-01 16:33:44 +00:00
patacongo
ab44f107d3 Must redraw larger of two sizes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1373 42af7a65-404d-4744-a932-0658087f49c3
2008-12-01 16:33:17 +00:00
patacongo
7322ee4547 Add vectsubtract() and rectinside()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1371 42af7a65-404d-4744-a932-0658087f49c3
2008-12-01 15:28:31 +00:00
patacongo
676c0e2798 Fix setposition redraw logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1370 42af7a65-404d-4744-a932-0658087f49c3
2008-12-01 15:13:33 +00:00
patacongo
deaa6ad5f2 Add nxgl_rectunion()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1368 42af7a65-404d-4744-a932-0658087f49c3
2008-12-01 15:12:31 +00:00
patacongo
538c321bfc Add nx_constructwindow
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1367 42af7a65-404d-4744-a932-0658087f49c3
2008-12-01 13:26:23 +00:00
patacongo
4f6ef2af8d Add argument to window callbacks
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1366 42af7a65-404d-4744-a932-0658087f49c3
2008-12-01 13:22:34 +00:00
patacongo
558ffa59d1 Lowered window was not being redrawn
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1365 42af7a65-404d-4744-a932-0658087f49c3
2008-12-01 03:07:36 +00:00
patacongo
cf462f739f Improperly initialized rectangle
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1364 42af7a65-404d-4744-a932-0658087f49c3
2008-12-01 02:30:53 +00:00
patacongo
0b22346cac Mentioned unimplemented directories
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1362 42af7a65-404d-4744-a932-0658087f49c3
2008-11-30 20:05:47 +00:00
patacongo
3925baf238 There is at least some X11 output now
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1361 42af7a65-404d-4744-a932-0658087f49c3
2008-11-30 18:52:14 +00:00
patacongo
743729a86a Fix typos in debug output strings
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1358 42af7a65-404d-4744-a932-0658087f49c3
2008-11-30 16:37:48 +00:00
patacongo
94c66e2480 Using wrong(invalid) callback structure
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1357 42af7a65-404d-4744-a932-0658087f49c3
2008-11-29 20:26:18 +00:00
patacongo
a2740a9c1e No longer waits for connection
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1356 42af7a65-404d-4744-a932-0658087f49c3
2008-11-29 20:25:28 +00:00
patacongo
083d790f0c Sending client message on wrong MQ
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1352 42af7a65-404d-4744-a932-0658087f49c3
2008-11-29 18:14:40 +00:00
patacongo
10a350ebce Fix message number
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1351 42af7a65-404d-4744-a932-0658087f49c3
2008-11-29 18:14:06 +00:00
patacongo
fccb66a0be Add nx_eventnotify.c
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1349 42af7a65-404d-4744-a932-0658087f49c3
2008-11-29 18:12:17 +00:00
patacongo
f48db4efac Fixes to MQ open logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1348 42af7a65-404d-4744-a932-0658087f49c3
2008-11-29 16:04:20 +00:00
patacongo
f69536cf6b update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1344 42af7a65-404d-4744-a932-0658087f49c3
2008-11-29 15:17:47 +00:00
patacongo
d3038a7a98 Add APIs to get access to background
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1343 42af7a65-404d-4744-a932-0658087f49c3
2008-11-29 14:59:02 +00:00
patacongo
63101c7916 Changes from initial NX debug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1341 42af7a65-404d-4744-a932-0658087f49c3
2008-11-28 23:04:54 +00:00
patacongo
e63ab4826d Missing initialization of background window
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1339 42af7a65-404d-4744-a932-0658087f49c3
2008-11-28 18:47:40 +00:00
patacongo
3bfb887033 Fix auto-generation of sources
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1338 42af7a65-404d-4744-a932-0658087f49c3
2008-11-28 18:27:10 +00:00
patacongo
eb0772e504 Fix bad pixel type
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1337 42af7a65-404d-4744-a932-0658087f49c3
2008-11-28 18:26:22 +00:00
patacongo
fada746d2d Add fill support for BPP < 8
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1335 42af7a65-404d-4744-a932-0658087f49c3
2008-11-28 18:01:10 +00:00
patacongo
d7db3259ee Fix conditional compilation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1334 42af7a65-404d-4744-a932-0658087f49c3
2008-11-28 17:59:59 +00:00
patacongo
622b04229c Add NX configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1329 42af7a65-404d-4744-a932-0658087f49c3
2008-11-28 16:07:54 +00:00
patacongo
9c618a0780 Add graphics front-end logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1327 42af7a65-404d-4744-a932-0658087f49c3
2008-11-28 14:45:15 +00:00
patacongo
ba236b0780 Single-user graphics front-end
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1326 42af7a65-404d-4744-a932-0658087f49c3
2008-11-28 14:43:22 +00:00
patacongo
43d77227a0 Multi-user graphics front-end
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1325 42af7a65-404d-4744-a932-0658087f49c3
2008-11-28 14:42:52 +00:00
patacongo
604c94dce8 Add more trapezoid support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1324 42af7a65-404d-4744-a932-0658087f49c3
2008-11-28 13:57:20 +00:00
patacongo
5638ac274f Add support for trapezoidal fills
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1323 42af7a65-404d-4744-a932-0658087f49c3
2008-11-28 13:20:36 +00:00
patacongo
7ae6a40baa minor refactoring
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1322 42af7a65-404d-4744-a932-0658087f49c3
2008-11-28 01:33:18 +00:00
patacongo
69adbecf5c More graphic support routines
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1321 42af7a65-404d-4744-a932-0658087f49c3
2008-11-27 23:31:37 +00:00
patacongo
3ba6819bb9 Graphics backend
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1320 42af7a65-404d-4744-a932-0658087f49c3
2008-11-27 22:56:45 +00:00
patacongo
528ffcbed0 Make prototypes of rasterizers same at all resolutions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1317 42af7a65-404d-4744-a932-0658087f49c3
2008-11-26 23:42:51 +00:00
patacongo
076808fec7 Add more rasterizers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1316 42af7a65-404d-4744-a932-0658087f49c3
2008-11-26 22:20:00 +00:00
patacongo
347bc09e47 Add another rasterizer
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1314 42af7a65-404d-4744-a932-0658087f49c3
2008-11-26 19:39:54 +00:00
patacongo
e77aa25163 First rasterizer builds OK
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1313 42af7a65-404d-4744-a932-0658087f49c3
2008-11-26 18:59:52 +00:00
patacongo
cd5534f178 Adding bitblit functions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1311 42af7a65-404d-4744-a932-0658087f49c3
2008-11-26 17:58:31 +00:00
patacongo
0a9c6e69a3 Added nxglib.h
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1309 42af7a65-404d-4744-a932-0658087f49c3
2008-11-26 15:48:48 +00:00
patacongo
1979ecdbc0 graphics dir now has its own makefile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1308 42af7a65-404d-4744-a932-0658087f49c3
2008-11-26 15:46:12 +00:00
patacongo
a9b1526a37 Beginning of a graphics library
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1305 42af7a65-404d-4744-a932-0658087f49c3
2008-11-25 21:58:35 +00:00
patacongo
3cf661f578 Directory for graphics addons
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1300 42af7a65-404d-4744-a932-0658087f49c3
2008-11-25 00:08:01 +00:00