diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-07-10 19:56:07 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-07-10 19:56:07 +0000 |
commit | bc4b6fcb861a7f143ddcc4aeef828cbab4006b51 (patch) | |
tree | c7331d2b5261e74a586d99c78ba5f64392a81d82 /apps/examples/nxtext/nxtext_bkgd.c | |
parent | 33d6714215d70933d95c82a8396ceafde0c20ffe (diff) | |
download | nuttx-bc4b6fcb861a7f143ddcc4aeef828cbab4006b51.tar.gz nuttx-bc4b6fcb861a7f143ddcc4aeef828cbab4006b51.tar.bz2 nuttx-bc4b6fcb861a7f143ddcc4aeef828cbab4006b51.zip |
Fix NXTEST strings
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3767 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/examples/nxtext/nxtext_bkgd.c')
-rw-r--r-- | apps/examples/nxtext/nxtext_bkgd.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/apps/examples/nxtext/nxtext_bkgd.c b/apps/examples/nxtext/nxtext_bkgd.c index a2feefd24..ca8451a92 100644 --- a/apps/examples/nxtext/nxtext_bkgd.c +++ b/apps/examples/nxtext/nxtext_bkgd.c @@ -45,8 +45,8 @@ #include <stdlib.h> #include <string.h> #include <semaphore.h> -#include <debug.h> #include <errno.h> +#include <debug.h> #include <nuttx/nx.h> #include <nuttx/nxfonts.h> @@ -122,9 +122,9 @@ NXHANDLE g_bgwnd; static void nxbg_redraw(NXWINDOW hwnd, FAR const struct nxgl_rect_s *rect, bool more, FAR void *arg) { - message("nxbg_redraw: hwnd=%p rect={(%d,%d),(%d,%d)} more=%s\n", - hwnd, rect->pt1.x, rect->pt1.y, rect->pt2.x, rect->pt2.y, - more ? "true" : "false"); + gvdbg("hwnd=%p rect={(%d,%d),(%d,%d)} more=%s\n", + hwnd, rect->pt1.x, rect->pt1.y, rect->pt2.x, rect->pt2.y, + more ? "true" : "false"); nxbg_redrawrect(hwnd, rect); } @@ -142,9 +142,9 @@ static void nxbg_position(NXWINDOW hwnd, FAR const struct nxgl_size_s *size, /* Report the position */ - message("nxbg_position: hwnd=%p size=(%d,%d) pos=(%d,%d) bounds={(%d,%d),(%d,%d)}\n", - hwnd, size->w, size->h, pos->x, pos->y, - bounds->pt1.x, bounds->pt1.y, bounds->pt2.x, bounds->pt2.y); + gvdbg("hwnd=%p size=(%d,%d) pos=(%d,%d) bounds={(%d,%d),(%d,%d)}\n", + hwnd, size->w, size->h, pos->x, pos->y, + bounds->pt1.x, bounds->pt1.y, bounds->pt2.x, bounds->pt2.y); /* Have we picked off the window bounds yet? */ @@ -166,7 +166,7 @@ static void nxbg_position(NXWINDOW hwnd, FAR const struct nxgl_size_s *size, b_haveresolution = true; sem_post(&g_semevent); - message("nxbg_position: Have xres=%d yres=%d\n", g_xres, g_yres); + gvdbg("Have xres=%d yres=%d\n", g_xres, g_yres); } } @@ -191,7 +191,7 @@ static void nxbg_mousein(NXWINDOW hwnd, FAR const struct nxgl_point_s *pos, static void nxbg_kbdin(NXWINDOW hwnd, uint8_t nch, FAR const uint8_t *ch, FAR void *arg) { - message("nxbg_kbdin: hwnd=%p nch=%d\n", hwnd, nch); + gvdbg("hwnd=%p nch=%d\n", hwnd, nch); nxbg_write(hwnd, ch, nch); } #endif |