summaryrefslogtreecommitdiff
path: root/nuttx/examples
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-12-04 23:32:06 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-12-04 23:32:06 +0000
commit7c99a11c0ea500f64221b3ea63eae96ff0e4a03b (patch)
treec8c84628ce005d98529f8202dbe926387ed8ff29 /nuttx/examples
parent6ebc1f9f8b9ebc7f53ef00599e10be30bbb7bdc9 (diff)
downloadpx4-nuttx-7c99a11c0ea500f64221b3ea63eae96ff0e4a03b.tar.gz
px4-nuttx-7c99a11c0ea500f64221b3ea63eae96ff0e4a03b.tar.bz2
px4-nuttx-7c99a11c0ea500f64221b3ea63eae96ff0e4a03b.zip
Fonts are integated
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1416 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/examples')
-rw-r--r--nuttx/examples/nx/nx_events.c2
-rw-r--r--nuttx/examples/nx/nx_kbdin.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/nuttx/examples/nx/nx_events.c b/nuttx/examples/nx/nx_events.c
index 464c8eafd..7d5dc399c 100644
--- a/nuttx/examples/nx/nx_events.c
+++ b/nuttx/examples/nx/nx_events.c
@@ -145,10 +145,10 @@ static inline void nxeg_fillwindow(NXEGWINDOW hwnd,
{
message("nxeg_fillwindow: nxtk_fillwindow failed: %d\n", errno);
}
+#endif
#ifdef CONFIG_NX_KBD
nxeg_filltext(hwnd, rect, st);
#endif
-#endif
}
/****************************************************************************
diff --git a/nuttx/examples/nx/nx_kbdin.c b/nuttx/examples/nx/nx_kbdin.c
index 3c5b3fb33..ae89acfe8 100644
--- a/nuttx/examples/nx/nx_kbdin.c
+++ b/nuttx/examples/nx/nx_kbdin.c
@@ -316,7 +316,6 @@ void nxeg_tbkbdin(NXWINDOW hwnd, ubyte nch, const ubyte *ch, FAR void *arg)
FAR struct nxeg_state_s *st = (FAR struct nxeg_state_s *)arg;
message("nxeg_tbkbdin: ERROR -- toolbar should not received keyboard input\n");
message("nxeg_tbkbdin%d: hwnd=%p nch=%d\n", st->wnum, hwnd, nch);
- nxeg_kbdinfo(nch, ch);
}
#endif