From 622a6cc576f1e5b97abcb78441ed04674217bfe6 Mon Sep 17 00:00:00 2001 From: patacongo Date: Wed, 20 Jul 2011 02:13:08 +0000 Subject: Use a handle instead of an ID in each font lookup; this saves doing the font set lookup each time git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3802 42af7a65-404d-4744-a932-0658087f49c3 --- apps/examples/nxhello/nxhello.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'apps/examples/nxhello/nxhello.h') diff --git a/apps/examples/nxhello/nxhello.h b/apps/examples/nxhello/nxhello.h index d5d5c724b..b7343a054 100644 --- a/apps/examples/nxhello/nxhello.h +++ b/apps/examples/nxhello/nxhello.h @@ -120,6 +120,7 @@ enum exitcode_e NXEXIT_LCDINITIALIZE, NXEXIT_LCDGETDEV, NXEXIT_NXOPEN, + NXEXIT_FONTOPEN, NXEXIT_NXREQUESTBKGD, NXEXIT_NXSETBGCOLOR }; @@ -147,10 +148,11 @@ struct nxhello_bitmap_s struct nxhello_data_s { - /* The NX handle */ + /* The NX handles */ NXHANDLE hnx; NXHANDLE hbkgd; + NXHANDLE hfont; /* The screen resolution */ -- cgit v1.2.3