tft: picture, crop, progress bar, checkbox, radio; page RAM header fix; README sub-goals
- five more Basic types in tft_types (default variants; others refused) - the page RAM image starts with 4 x FF + one FF per component (padded to 4) - README: .tft status split into sub-goals with a stated basis each - sample generator: display direction and gradient pictures; regression test walks sub-folders (84 Editor samples reproduced) Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
1 parent
a8622e7462
commit
0287cf21e4
8 files changed
+101
-10
No files matched your search
@@ -221,3 +221,14 @@ The generated scripts are ordinary Nextion script compiled by the same compiler
|
||||
attributes written as literals and RAM attributes as record references. `nxhmi.tft_types`
|
||||
therefore describes a type as: visible attributes, record kinds, RAM order, script templates.
|
||||
The RAM order and the unnamed drawing commands still have to be read from samples per type.
|
||||
|
||||
State on 2026-11-17 (paused by the owner mid-way): 13 Basic types compile, 84 samples reproduced.
|
||||
Page RAM image starts with 4 x FF plus one FF per component padded to 4 (found when a page
|
||||
with five components failed). Read from samples but not yet in the builder: vertical progress
|
||||
bar (`sys05_4=val*h/100`, fill from `endy+1-sys05_4`), text with border / crop / picture
|
||||
background (same `_back` / `_border` rules as number, but `sta`, `style`, `borderc`, `borderw`,
|
||||
`spax`, `spay` are constants there and are written into the script as literals).
|
||||
Samples waiting to be compiled: `g3.json` in the session scratchpad (directions 0/180/270,
|
||||
`>=`, mixed `&&`/`||`, string attributes, negative globals, more variants) -- regenerate with
|
||||
`tools/make_tft_samples.py` (`direction` and `gradient` keys) if the scratchpad is gone.
|
||||
New sample pairs live in `D:\Claude\nextion-tft-samples\2026-11-17` (outside the repo).
|
||||
Reference in new issue
Block a user