diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-07-10 22:35:35 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-07-10 22:35:35 +0000 |
commit | fcb3f0be7cf755c09970aef69d46c183779dc6f7 (patch) | |
tree | 7ab8ce071ef612193405dd334ff4af66bf98eaa9 /apps/examples/nxtext/nxtext_main.c | |
parent | bc4b6fcb861a7f143ddcc4aeef828cbab4006b51 (diff) | |
download | nuttx-fcb3f0be7cf755c09970aef69d46c183779dc6f7.tar.gz nuttx-fcb3f0be7cf755c09970aef69d46c183779dc6f7.tar.bz2 nuttx-fcb3f0be7cf755c09970aef69d46c183779dc6f7.zip |
Fix more NXTEXT bugs -- seems to be working now
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3768 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/examples/nxtext/nxtext_main.c')
-rw-r--r-- | apps/examples/nxtext/nxtext_main.c | 51 |
1 files changed, 26 insertions, 25 deletions
diff --git a/apps/examples/nxtext/nxtext_main.c b/apps/examples/nxtext/nxtext_main.c index 9f8f674a5..a3027165d 100644 --- a/apps/examples/nxtext/nxtext_main.c +++ b/apps/examples/nxtext/nxtext_main.c @@ -99,30 +99,30 @@ static const uint8_t g_pumsg[] = "Pop-Up!"; static const char *g_bgmsg[BGMSG_LINES] = { - "\nJULIET\n", - "Wilt thou be gone?\n", - " It is not yet near day:\n", - "It was the nightingale,\n", - " and not the lark,\n", - "That pierced the fearful hollow\n", - " of thine ear;\n", - "Nightly she sings\n", - " on yon pomegranate-tree:\n", - "Believe me, love,\n", - " it was the nightingale.\n", - "\nROMEO\n", - "It was the lark,\n", - " the herald of the morn,\n", - "No nightingale:\n", - " look, love, what envious streaks\n", - "Do lace the severing clouds\n", - " in yonder east:\n", - "Night's candles are burnt out,\n", - " and jocund day\n", - "Stands tiptoe\n", - " on the misty mountain tops.\n", - "I must be gone and live,\n", - " or stay and die.\n" + "\nJULIET\n", /* Line 1 */ + "Wilt thou be gone?\n", /* Line 2 */ + " It is not yet near day:\n", /* Line 3 */ + "It was the nightingale,\n", /* Line 4 */ + " and not the lark,\n", /* Line 5 */ + "That pierced the fearful hollow\n", /* Line 6 */ + " of thine ear;\n", /* Line 7 */ + "Nightly she sings\n", /* Line 8 */ + " on yon pomegranate-tree:\n", /* Line 9 */ + "Believe me, love,\n", /* Line 10 */ + " it was the nightingale.\n", /* Line 11 */ + "\nROMEO\n", /* Line 12 */ + "It was the lark,\n", /* Line 13 */ + " the herald of the morn,\n", /* Line 14 */ + "No nightingale:\n", /* Line 15 */ + " look, love, what envious streaks\n", /* Line 16 */ + "Do lace the severing clouds\n", /* Line 17 */ + " in yonder east:\n", /* Line 18 */ + "Night's candles are burnt out,\n", /* Line 19 */ + " and jocund day\n", /* Line 20 */ + "Stands tiptoe\n", /* Line 21 */ + " on the misty mountain tops.\n", /* Line 22 */ + "I must be gone and live,\n", /* Line 23 */ + " or stay and die.\n" /* Line 24 */ }; #endif @@ -440,7 +440,8 @@ int user_start(int argc, char *argv[]) } /* Give another line of text to the background window. Force this - * text to go the background by calling the kbdin method directly. + * text to go the background by calling the background window interfaces + * directly. */ nxbg_write(g_bgwnd, (FAR const uint8_t *)g_bgmsg[bkgndx], strlen(g_bgmsg[bkgndx])); |