Commit Graph

28 Commits

Author SHA1 Message Date
G.K.MacGregor
3048e4dbc6 Make cycle time optional 2023-09-12 14:58:22 +01:00
G.K.MacGregor
e56fc40f8f Put parameter names into header files too 2023-08-27 14:25:16 +01:00
G.K.MacGregor
c64be6a4c9 Update copyright notices to 2023 2022-12-31 21:19:15 +00:00
G.K.MacGregor
406ab6c6ed Update copyright notices to 2022 2021-12-31 21:40:36 +00:00
G.K.MacGregor
f256e4ed28 Rename packetNeeded to packetExists 2021-06-22 13:22:35 +01:00
G.K.MacGregor
4584ba668d Enforce 16 packet limit in Local Enhancement list 2021-04-25 18:51:59 +01:00
G.K.MacGregor
42c0552600 Promote enhancements-list access function 2021-01-24 19:36:53 +00:00
G.K.MacGregor
a16c10ab46 Move CLUTtoQColor to inside levelonepage class 2021-01-19 18:27:30 +00:00
G.K.MacGregor
d38bfcf902 Update copyright notices to 2021 2020-12-31 22:08:52 +00:00
G.K.MacGregor
aa25a27e17 Split X/26 packet handling into intermediate class
pagex26base holds methods for converting between the enhancements
QList and teletext packets. A future page subclass for POP pages will
re-use those same methods.
2020-12-26 15:34:23 +00:00
G.K.MacGregor
035c2c5a31 Hide enhancement QList behind access function 2020-12-25 18:06:00 +00:00
G.K.MacGregor
377470da47 Auto-select level when loading 2020-12-20 19:38:23 +00:00
G.K.MacGregor
df22fda290 Add function to check for default colours 2020-12-18 22:07:27 +00:00
G.K.MacGregor
269500aeef Remove unused function 2020-12-15 21:00:00 +00:00
G.K.MacGregor
61ac3574df Rework page classes 2020-12-15 19:44:39 +00:00
G.K.MacGregor
f9ce912e79 Get "empty document detection" working 2020-12-06 17:57:05 +00:00
G.K.MacGregor
1855d8dacb Untangle loading TTI files into loadsave 2020-11-29 15:41:26 +00:00
G.K.MacGregor
492afba8b1 Untangle hashstring exporting into loadsave 2020-11-29 11:48:08 +00:00
G.K.MacGregor
1bb11ab20c Fix polymorphism across pagebase and levelonepage 2020-11-27 20:57:21 +00:00
G.K.MacGregor
4ce1b027b0 Untangle saving TTI files into new file
The saving code is an attempt to be page function and page coding
agnostic so the same code can save (G)POP, (G)DRCS and MOT pages in
the future.

loadsave will be the home of page loading, URL exporting and also for
importing and exporting of other teletext file formats.
2020-11-24 19:01:25 +00:00
G.K.MacGregor
3ebfbff369 Moved FastText links from document to subpages
This paves the way for different FastText links per subpage.
Will also be some help when we come to splitting out document loading
and saving.
2020-10-29 21:31:23 +00:00
G.K.MacGregor
0a24aff1fa Add X/27/4 and X/27/5 compositional link editing 2020-09-19 19:34:41 +01:00
G.K.MacGregor
02d8fba193 Add copy constructors to page classes 2020-09-16 20:49:52 +01:00
G.K.MacGregor
959822bd95 Move page status bits to PageBase superclass 2020-09-16 12:47:46 +01:00
G.K.MacGregor
0f864c7787 Rename TeletextPage class to LevelOnePage 2020-09-16 11:15:46 +01:00
G.K.MacGregor
a1e0986e5c Port saving pages to packet handling framework
Any unhandled packets within pages are now loaded and saved intact
albeit with no way to edit them.

File handling is now two separate processes: parsing TTI files into
packets, and then interpreting the packets into how pages are
displayed. This will allow us to import other file formats, and to deal
with page functions other than Level 1 Teletext pages.
2020-09-15 22:37:50 +01:00
G.K.MacGregor
c99525abd4 Port loading pages to packet handling framework 2020-09-12 19:34:08 +01:00
G.K.MacGregor
fcc9280391 Begin refactoring of page class 2020-09-11 12:06:06 +01:00