SZ_Show_Text - graphics alternative to terminal screen
|
10-19-2018, 10:45 AM
(This post was last modified: 10-23-2018 06:57 AM by sasa.)
Post: #1
|
|||
|
|||
SZ_Show_Text - graphics alternative to terminal screen
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. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
SZ_Show_Text - graphics alternative to terminal screen - sasa - 10-19-2018 10:45 AM
RE: SZ_Show_Text - graphics alternative to terminal screen - Ukras - 09-03-2022, 03:09 AM
|
User(s) browsing this thread: 1 Guest(s)