apps/examples/ft80x: Add another co-processor demos.

This commit is contained in:
Gregory Nutt 2018-02-21 14:32:20 -06:00
parent 157da4f1ab
commit 3ee5bd15cf
3 changed files with 503 additions and 245 deletions

View File

@ -151,6 +151,7 @@ int ft80x_prim_rectangles(int fd, FAR struct ft80x_dlbuffer_s *buffer);
/* Co-processor display examples */
int ft80x_coproc_button(int fd, FAR struct ft80x_dlbuffer_s *buffer);
int ft80x_coproc_progressbar(int fd, FAR struct ft80x_dlbuffer_s *buffer);
int ft80x_coproc_scrollbar(int fd, FAR struct ft80x_dlbuffer_s *buffer);
int ft80x_coproc_slider(int fd, FAR struct ft80x_dlbuffer_s *buffer);

File diff suppressed because it is too large Load Diff

View File

@ -104,8 +104,7 @@ static const struct ft80x_exampleinfo_s g_primitives[] =
*
* FUNCTION CoProc CMD USED DESCRIPTION
* ------------------------ --------------- ----------------------------------
* --None-- CMD_TEXT Draw text
* --None-- CMD_BUTTON Draw a button
* ft80x_coproc_button CMD_BUTTON Draw a button
* --None-- CMD_CLOCK Draw an analog clock
* --None-- CMD_GAUGE Draw a gauge
* --None-- CMD_KEYS Draw a row of keys
@ -127,6 +126,7 @@ static const struct ft80x_exampleinfo_s g_primitives[] =
static const struct ft80x_exampleinfo_s g_coproc[] =
{
{ "Button", ft80x_coproc_button },
{ "Progress Bar", ft80x_coproc_progressbar },
{ "Scroll Bar", ft80x_coproc_scrollbar },
{ "Slider", ft80x_coproc_slider },