summaryrefslogtreecommitdiff
path: root/apps/plugins/puzzles/help.h
diff options
context:
space:
mode:
authorFranklin Wei <git@fwei.tk>2018-03-17 22:54:07 -0400
committerFranklin Wei <git@fwei.tk>2018-03-17 22:54:21 -0400
commit77641d59a7ece60554da6cc1337d885786e5fc3f (patch)
tree5ce575a78224ba993c9f31ba94734a8ebc56203f /apps/plugins/puzzles/help.h
parent6039eb05ba6d82ef56f2868c96654c552d117bf9 (diff)
downloadrockbox-77641d59a7ece60554da6cc1337d885786e5fc3f.tar.gz
rockbox-77641d59a7ece60554da6cc1337d885786e5fc3f.zip
puzzles: add formatting to help viewer
The help text is now processed to generate a style array to pass to the display_text library in addition to the text itself. The help text is still compressed using LZ4, and still fits on the c200v2. Change-Id: I7a3a664f90f67a1a018956c72d2b62d92b8ffd17
Diffstat (limited to 'apps/plugins/puzzles/help.h')
-rw-r--r--apps/plugins/puzzles/help.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/apps/plugins/puzzles/help.h b/apps/plugins/puzzles/help.h
index e9580ad69a..a5d2cdaa80 100644
--- a/apps/plugins/puzzles/help.h
+++ b/apps/plugins/puzzles/help.h
@@ -1,4 +1,11 @@
1/* defined in help/ */ 1#ifdef ROCKBOX
2#include "lib/display_text.h"
3#endif
2 4
3extern const char help_text[], quick_help_text[]; 5/* defined in help/ */
4extern const unsigned short help_text_len, quick_help_text_len; 6extern const char help_text[];
7#ifdef ROCKBOX
8extern const char quick_help_text[];
9extern const struct style_text help_text_style[];
10extern const unsigned short help_text_len, quick_help_text_len, help_text_words;
11#endif