Gregory Nutt
e5ebcddc23
apps/graphics/pdcurs34: Fix LCD display updates... The x and y offsets were being added twice.
2017-11-26 06:09:06 -06:00
Gregory Nutt
9246d03ebd
apps/graphics/pdcurses: Fix some display update calculations.
2017-11-25 18:05:07 -06:00
Gregory Nutt
f42031e65b
apps/examples/pdcurses: Add a very simple example that just shows the entire character set (7-bit only). It adapts to the size of the framebuffer and, hence, can be used with very tiny displays. In fact it looks really dumb on big displays.
2017-11-24 09:46:58 -06:00
Gregory Nutt
28f5176a0d
apps/graphics/pdcurs34: Fix a bad copy-paste error introduced in last commit.
2017-11-24 08:45:40 -06:00
Gregory Nutt
18a5e074e7
apps/graphics/pdcurs34: Fixes calculation of the final byte position of the case of BPP < 8.
2017-11-24 07:17:10 -06:00
Gregory Nutt
067c14ee05
apps/graphics/pdcurs34: When clearing screen, width calculation should round up for any fractional bytes. When pdcurses is closed, forgot to close the djoystick driver.
2017-11-24 05:45:06 -06:00
Gregory Nutt
a2ee61a124
apps/graphics/pdcurs34: Simply and combine some logic.
2017-11-23 16:31:37 -06:00
Gregory Nutt
421b3009e3
apps/graphics/pdcurs34: Correct logic that clears the screen. For the casee of BPP < 8, it was writing beyond the end of the framebuffer and clobbering things.
2017-11-23 09:30:14 -06:00
Gregory Nutt
611a0e4a79
apps/graphics/pdcurs34: Need to include errno.h in one file when PDC_DEBUG is enabled.
2017-11-23 08:42:03 -06:00
Gregory Nutt
0861f821fb
apps/graphics/pdcurs34: Monochrome/greylevel framebuffer support is now code complete, but untested. Also added support for Y2 and Y2 color formats.
2017-11-22 15:35:38 -06:00
Gregory Nutt
24dc1b42e4
apps/graphics/pdcurs34: Add support for greylevels vs. RGB.
2017-11-22 08:38:10 -06:00
Gregory Nutt
49dab79a30
apps/pdcur34: Define pdc_color_t based on pixel depth, not on specific color format.
2017-11-22 07:22:03 -06:00
Gregory Nutt
63e3af2d62
apps/graphics/pdcurs34: Fix or remove monst #warning's
2017-11-21 08:18:21 -06:00
Gregory Nutt
b346d1d6eb
apps/graphics/pdcurses: Add support for discrete joystick input. This is sufficient to get through all menuing tests that do not require text input.
2017-11-20 14:17:45 -06:00
Gregory Nutt
6eae5e0c4c
apps/graphics/pdcurs34: Clear the framebuffer when it is initialized.
2017-11-20 08:18:36 -06:00
Gregory Nutt
4eac495713
apps/pdcurses/: Fix a few more bugs found in testing; apps/examples/pdcurses: Brings in the remaining pdcurses demo programs.
2017-11-19 16:14:55 -06:00
Gregory Nutt
42bb5643bf
Squashed commit of the following:
...
apps/graphics/pdcur34: Various fixes from initial testing. Still does not work
apps/graphics/pdcurs34/nuttx: Completes first cut at framebuffer rendering logic.
2017-11-19 13:35:20 -06:00
Gregory Nutt
ad54b77f33
apps/graphics/pdcurs34: Add NuttX framebuffer color managment and beginning of some rendering logic.
2017-11-18 19:30:19 -06:00
Gregory Nutt
65555542e5
apps/graphics/pdcurs34/nuttx: Add framebuffer initialization logic.
2017-11-18 15:27:12 -06:00
Gregory Nutt
25e4f6b57b
apps/graphics/pdcurses: Add dummy files with placeholders for the logic that needs to be implemented to integrated pdcurses with NuttX.
2017-11-17 14:50:10 -06:00