Commit Graph

14 Commits

Author SHA1 Message Date
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
e205846f97 Add enum representing page Control Bits 2020-11-22 12:19:48 +00:00
G.K.MacGregor
6b168ef9ac Fix crash when loading too-short OL lines 2020-11-04 23:23:39 +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