Orbi-Fax: simpler controls, key hints in the margin, smoother reading and drawing
After the first downstairs trial (Paul: "a lil confused with controls"; hints "on the side if they aren't for navigation"): - Up/Down move a highlight between the page's links, OK opens it. - Left/Right turn sub-pages, then pages. - Go to page (and the blue key) opens the digit picker in one press. - Back always returns to the TV or the guide. - Key hints sit in the right-hand margin. - Records are read on one low-priority thread a channel at a time, now and next first. - Only the clock row is redrawn each second. - Each page shown is logged for measuring. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -10,14 +10,12 @@ This is Orbit's own teletext, entirely offline. Paul approved it on 8 November 2
|
||||
- Dial **000** on the channel number entry while watching. Back returns to the channel you were on.
|
||||
- Or choose **Text** at the end of the TV guide's category row. Back returns to the guide.
|
||||
- **The screen:** a 40 x 25 teletext page in the eight teletext colours, with 2x3 mosaics and double-height titles. The 4:3 page sits in the middle, with Orbit Classic margins either side. It follows the concept previews in `design/orbi-fax/`.
|
||||
- **Remote:**
|
||||
- **0–9** keys a page. The third digit goes there.
|
||||
- **Up / Down** moves to the next or previous page. Page 999 is skipped: it has to be keyed.
|
||||
- **Left / Right** turns sub-pages.
|
||||
- **OK** focuses the Fastext row. Left and Right move along it, and OK follows a link.
|
||||
- The **Page** box at the end of the row opens a digit picker for remotes with no number keys. Up and Down dial a digit, Left and Right move between digits, and OK goes.
|
||||
- The **red, green, yellow and blue** keys follow the Fastext links where the remote has them. Channel and page up/down keys step through pages.
|
||||
- **Back** closes the picker or the row. With nothing open, it returns to the TV.
|
||||
- **Remote** (simpler controls after the first downstairs trial, 8 November 2026; the key hints sit in the right-hand margin, not on the page):
|
||||
- **Up / Down** moves the yellow highlight between the links on the page: the sections on page 100, then the coloured links and **Go to page** along the bottom.
|
||||
- **OK** opens the highlighted link. **Go to page** opens a three-digit picker: Up/Down sets a digit, Left/Right moves between digits, OK goes and Back cancels.
|
||||
- **Left / Right** turns sub-pages while there are some, then moves to the next or previous page. Page 999 is never turned to: it has to be keyed.
|
||||
- **Number keys** key a page directly. The **red, green and yellow** keys follow the coloured links and the **blue** key opens Go to page.
|
||||
- **Back** always returns to the TV or the guide.
|
||||
- **Pages:**
|
||||
|
||||
| Page | What it shows | Source (all on the box) |
|
||||
@@ -57,6 +55,8 @@ Any other number shows a short "no page" message, or "coming later" for 101, 300
|
||||
- `GuideGrid.kt`: the optional `onText` parameter and the Text chip
|
||||
- **Memory:** fixed and made once per visit. The page is five arrays of 1,000 cells, the dot buffer is a 240 x 250 `IntArray` (240 KB), and the bitmap is 240 x 250 ARGB (240 KB). Drawing a frame allocates nothing. The pages are rebuilt (small allocations) only when the page, sub-page or minute changes. The header is redrawn once a second. The records are read again once a minute while Orbi-Fax is open. Lists are capped (18 programmes a channel, 64 arrivals, 4 Drive-In bills).
|
||||
- **Saved data:** nothing. Orbi-Fax saves no state, so there's nothing that needs an atomic write.
|
||||
- **Reading the records:** done on one low-priority thread of Orbi-Fax's own, a channel at a time with a short pause between. Now and next come first, the full listings 1.5 s later, then a refresh every minute. Each read is logged (`OrbiFax load`), and so is each page shown (`OrbiFax page=… sub=…`), so the TV's numbers can be split by page.
|
||||
- **Drawing:** the whole page is built and drawn only when it changes. Each second only the header row is redrawn, for the clock.
|
||||
- **Glyphs:** the original 5x9 dot-matrix set drawn for the concept, not Bedstead, which still needs Paul's OK. The page is drawn at 240 x 250 dots and scaled without smoothing.
|
||||
- **Not built:**
|
||||
- entering pages from the phone (the Companion)
|
||||
|
||||
Reference in New Issue
Block a user