Commit Graph

1380 Commits

Author SHA1 Message Date
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
6bf0e7f97b Can't use signal handler for nx_eventhandler()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1387 42af7a65-404d-4744-a932-0658087f49c3
2008-12-01 23:40:44 +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
ff7b212533 Missing prototype for nx_filltrapezoid
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1383 42af7a65-404d-4744-a932-0658087f49c3
2008-12-01 18:53:59 +00:00
patacongo
553d881ee6 Fix vectsubtract name
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1382 42af7a65-404d-4744-a932-0658087f49c3
2008-12-01 18:53:27 +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
522a84c782 Enable mouse input
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1378 42af7a65-404d-4744-a932-0658087f49c3
2008-12-01 18:49:47 +00:00
patacongo
3ce9a202ca Add more NX name space fixups
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1377 42af7a65-404d-4744-a932-0658087f49c3
2008-12-01 18:49:33 +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
403b6abb77 Fixed dependency problem. nutt.rel must always be rebuilt
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1372 42af7a65-404d-4744-a932-0658087f49c3
2008-12-01 16:21:43 +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
38ea9f14b7 Fix passed window number
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1369 42af7a65-404d-4744-a932-0658087f49c3
2008-12-01 15:13:12 +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
2dcc77a557 X reports 24 bpp depth, but wants 32 bpp size pixels
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1363 42af7a65-404d-4744-a932-0658087f49c3
2008-11-30 20:09:14 +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