More STM3240G-EVAL LCD updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4665 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
d2582f78e4
commit
d3b6116038
@ -179,7 +179,7 @@ extern struct nxhello_data_s g_nxhello;
|
||||
|
||||
/* NX callback vtables */
|
||||
|
||||
extern const struct nx_callback_s g_bgcb;
|
||||
extern const struct nx_callback_s g_nxhellocb;
|
||||
|
||||
/****************************************************************************
|
||||
* Public Function Prototypes
|
||||
|
@ -116,7 +116,7 @@ static const char g_hello[] = "Hello, World!";
|
||||
|
||||
/* Background window call table */
|
||||
|
||||
const struct nx_callback_s g_bgcb =
|
||||
const struct nx_callback_s g_nxhellocb =
|
||||
{
|
||||
nxhello_redraw, /* redraw */
|
||||
nxhello_position /* position */
|
||||
|
@ -256,7 +256,7 @@ int MAIN_NAME(int argc, char *argv[])
|
||||
|
||||
/* Get the background window */
|
||||
|
||||
ret = nx_requestbkgd(g_nxhello.hnx, &g_bgcb, NULL);
|
||||
ret = nx_requestbkgd(g_nxhello.hnx, &g_nxhellocb, NULL);
|
||||
if (ret < 0)
|
||||
{
|
||||
message(MAIN_NAME_STRING ": nx_setbgcolor failed: %d\n", errno);
|
||||
|
@ -196,7 +196,7 @@ extern struct nximage_data_s g_nximage;
|
||||
|
||||
/* NX callback vtables */
|
||||
|
||||
extern const struct nx_callback_s g_bgcb;
|
||||
extern const struct nx_callback_s g_nximagecb;
|
||||
|
||||
/****************************************************************************
|
||||
* Public Function Prototypes
|
||||
|
@ -153,7 +153,7 @@ static struct nximage_run_t g_runs[NINPUT_ROWS];
|
||||
|
||||
/* Background window call table */
|
||||
|
||||
const struct nx_callback_s g_bgcb =
|
||||
const struct nx_callback_s g_nximagecb =
|
||||
{
|
||||
nximage_redraw, /* redraw */
|
||||
nximage_position /* position */
|
||||
|
@ -253,7 +253,7 @@ int MAIN_NAME(int argc, char *argv[])
|
||||
|
||||
/* Get the background window */
|
||||
|
||||
ret = nx_requestbkgd(g_nximage.hnx, &g_bgcb, NULL);
|
||||
ret = nx_requestbkgd(g_nximage.hnx, &g_nximagecb, NULL);
|
||||
if (ret < 0)
|
||||
{
|
||||
message(MAIN_NAME_STRING ": nx_setbgcolor failed: %d\n", errno);
|
||||
|
Loading…
Reference in New Issue
Block a user