Commit Graph

7 Commits

Author SHA1 Message Date
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