10-19-2018, 10:45 AM
This is interactive graphics alternative to HP Prime terminal screen in order to show any text content on multiple pages from a program, with line breaking capability, coloring and different font sizes support.
Usage:
- Cursors to change pages
- Functional on screen menu
Esc : Exit from the view
Calling convention:
SZ_Show_Text(text, font, color_fg, color_bg)
- The text contains array of strings/lines.
- The size of the individual string can be much larger than screen width, in which case is wrapped automatically
- If the line contain only '.NP' it would force next page break. The font is HP Prime font value (0-7)
Example:
SZ_Show_Text({"Content1...", "Content2..."}, 2, #FF0000h, #000000h)};
Any comment, suggestion and bug report is appreciated.
EDIT 2018-10-23: New version v1.1. I have reported that latest Virtual Calculator (non-beta) require suffix 'h' for base defined numbers during call from Home/CAS and inside code, in order to avoid syntax error. Thanks.
Usage:
- Cursors to change pages
- Functional on screen menu
Esc : Exit from the view
Calling convention:
SZ_Show_Text(text, font, color_fg, color_bg)
- The text contains array of strings/lines.
- The size of the individual string can be much larger than screen width, in which case is wrapped automatically
- If the line contain only '.NP' it would force next page break. The font is HP Prime font value (0-7)
Example:
SZ_Show_Text({"Content1...", "Content2..."}, 2, #FF0000h, #000000h)};
Any comment, suggestion and bug report is appreciated.
EDIT 2018-10-23: New version v1.1. I have reported that latest Virtual Calculator (non-beta) require suffix 'h' for base defined numbers during call from Home/CAS and inside code, in order to avoid syntax error. Thanks.