summaryrefslogtreecommitdiff
path: root/nuttx/examples/nx/nx_internal.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-12-04 23:03:33 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-12-04 23:03:33 +0000
commit6ebc1f9f8b9ebc7f53ef00599e10be30bbb7bdc9 (patch)
tree9938edc737b494616cd8d16946950fd205c183f2 /nuttx/examples/nx/nx_internal.h
parentffeebe323d5310bc88b7db0da55a8a97d1d36968 (diff)
downloadpx4-nuttx-6ebc1f9f8b9ebc7f53ef00599e10be30bbb7bdc9.tar.gz
px4-nuttx-6ebc1f9f8b9ebc7f53ef00599e10be30bbb7bdc9.tar.bz2
px4-nuttx-6ebc1f9f8b9ebc7f53ef00599e10be30bbb7bdc9.zip
Integrating font capabilities; debug bitmap logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1415 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/examples/nx/nx_internal.h')
-rw-r--r--nuttx/examples/nx/nx_internal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/examples/nx/nx_internal.h b/nuttx/examples/nx/nx_internal.h
index 5c98e9af1..af3f34ba3 100644
--- a/nuttx/examples/nx/nx_internal.h
+++ b/nuttx/examples/nx/nx_internal.h
@@ -228,7 +228,7 @@ struct nxeg_state_s
ubyte wnum; /* Window number */
nxgl_mxpixel_t color[CONFIG_NX_NPLANES]; /* Window color */
-#if !defined(CONFIG_EXAMPLES_NX_RAWWINDOWS) && defined(CONFIG_NX_KBD)
+#ifdef CONFIG_NX_KBD
ubyte height; /* Max height of a font in pixels */
ubyte width; /* Max width of a font in pixels */
@@ -287,9 +287,9 @@ extern FAR void *nx_listenerthread(FAR void *arg);
extern void nxeg_kbdin(NXWINDOW hwnd, ubyte nch, const ubyte *ch, FAR void *arg);
#ifndef CONFIG_EXAMPLES_NX_RAWWINDOWS
extern void nxeg_tbkbdin(NXWINDOW hwnd, ubyte nch, const ubyte *ch, FAR void *arg);
+#endif
extern void nxeg_filltext(NXWINDOW hwnd, FAR const struct nxgl_rect_s *rect,
FAR struct nxeg_state_s *st);
#endif
-#endif
#endif /* __EXAMPLES_NX_NX_INTERNAL_H */