Commit Graph

18 Commits

Author SHA1 Message Date
G.K.MacGregor
bd49ba9e47 Update copyright notices to 2024 2024-01-01 00:12:17 +00: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
d38bfcf902 Update copyright notices to 2021 2020-12-31 22:08:52 +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
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
e205846f97 Add enum representing page Control Bits 2020-11-22 12:19:48 +00:00
G.K.MacGregor
9a57ae5469 Move page function and packet coding to document 2020-11-17 17:46:31 +00:00
G.K.MacGregor
c1f5445465 No need to keep page number within every subpage 2020-11-15 11:34:15 +00:00
G.K.MacGregor
5d7175f75f Fix un-nulled packets when copying page, wrt #1 2020-10-16 21:45:25 +01:00
G.K.MacGregor
4cd080ab0e Store page numbers in Page classes
Although the document class keeps the page number, the sub pages may
need to know the page number as well. For example X/27 packets
contain relative magazine numbers which need the current page number
to calculate the actual page numbers referenced.
2020-09-18 17:37:16 +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
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