diff options
author | Franklin Wei <git@fwei.tk> | 2018-03-17 22:54:07 -0400 |
---|---|---|
committer | Franklin Wei <git@fwei.tk> | 2018-03-17 22:54:21 -0400 |
commit | 77641d59a7ece60554da6cc1337d885786e5fc3f (patch) | |
tree | 5ce575a78224ba993c9f31ba94734a8ebc56203f /apps/plugins/puzzles/help.h | |
parent | 6039eb05ba6d82ef56f2868c96654c552d117bf9 (diff) | |
download | rockbox-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.h | 13 |
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 | ||
3 | extern const char help_text[], quick_help_text[]; | 5 | /* defined in help/ */ |
4 | extern const unsigned short help_text_len, quick_help_text_len; | 6 | extern const char help_text[]; |
7 | #ifdef ROCKBOX | ||
8 | extern const char quick_help_text[]; | ||
9 | extern const struct style_text help_text_style[]; | ||
10 | extern const unsigned short help_text_len, quick_help_text_len, help_text_words; | ||
11 | #endif | ||