Commit Graph

33 Commits

Author SHA1 Message Date
G.K.MacGregor
c8f61d4d2c Fix default palette detection of CLUTs 1:7 and 3:7 2023-06-20 18:42:01 +01:00
G.K.MacGregor
c64be6a4c9 Update copyright notices to 2023 2022-12-31 21:19:15 +00:00
G.K.MacGregor
536c231941 Fix detect-on-load of Level 3.5 objects and DRCS mode 2022-10-23 12:30:50 +01:00
G.K.MacGregor
50582a95a4 Fix typo in comment 2022-05-02 22:22:58 +01:00
G.K.MacGregor
1eeeafb51e Show CLUT 1:0 as transparent in widgets 2022-02-08 17:31:34 +00:00
G.K.MacGregor
406ab6c6ed Update copyright notices to 2022 2021-12-31 21:40:36 +00:00
G.K.MacGregor
3e9f728cda Fix incorrect bit shuffling on X/27/0 page links 2021-09-05 17:42:00 +01:00
G.K.MacGregor
2c16e541d5 Fix too long X/27/0 packet being returned 2021-09-05 16:49:21 +01: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
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
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