Commit Graph

310 Commits

Author SHA1 Message Date
Gavin MacGregor f96b973ff3 Warn when Active Position differs between Levels 2024-12-01 21:51:32 +00:00
Gavin MacGregor 1d889ab724 Update MXE notes 2024-12-01 18:07:43 +00:00
Gavin MacGregor 48a2b48964 Add monochrome rendering modes
These modes can be used to see the inner workings of colourful artworks that
frequently use "foreground colour, new background, foreground colour",
particularly to show exactly which colours are represented by set or clear
sixels.

One mode renders all characters in white on a black background and the other
mode renders black characters on a white background. The latter could be used
to save ink if the resulting image is printed.

Flash is suppressed in these mono modes, this may or may not change.
2024-12-01 17:44:58 +00:00
Gavin MacGregor 26b5974421 Remove duplicate row from template 2024-11-26 18:05:00 +00:00
G.K.MacGregor 4743b26400 Remove duplicate widget disabling 2024-08-28 13:40:43 +01:00
G.K.MacGregor 40fc1e38d8 Port to CMake from qmake, and split decoder into subdirectory
Qt 5 has had to be dropped as CMakeLists.txt uses qt_* specific commands
which are implemented in Qt 6 onwards.

cmake --install is only working on Linux at the moment; it installs the
executable and the bundled example tti files into /usr/local/share/doc

The teletext decoder with its document storage has been moved to a
subdirectory with the intention of making it possible to use in other
projects, but some further separation of editing stuff will be needed.
2024-08-11 15:35:49 +01:00
G.K.MacGregor cf6c4855ce Disable triplet editing widgets when X/26 list is changed 2024-08-08 22:13:02 +01:00
G.K.MacGregor 343fd2cf26 Tag version 0.6.4-beta 0.6.4-beta 2024-07-14 16:09:55 +01:00
G.K.MacGregor d184c50246 Implement mosaic shifting
When a selection box is dragged, holding Ctrl while pressing the arrow
keys will shift the mosaics one sixel at a time.

If a shifting sixel encounters a non-mosaic cell it will pass through to
the other side of it.
2024-07-10 21:13:54 +01:00
G.K.MacGregor 9045160d3a Convert storeCharacters to a function 2024-07-09 22:16:58 +01:00
G.K.MacGregor 98071d823c Split out X28 commands 2024-07-09 18:01:17 +01:00
G.K.MacGregor eb0dd7266b Remove secret F6 refresh key
Not needed as all non-refresh bugs seem to be squashed now.
2024-07-08 21:32:39 +01:00
G.K.MacGregor c32876600b Tweaks to mosaic character editing 2024-07-07 19:41:39 +01:00
G.K.MacGregor fbdde54fe4 Allow monochrome images to be cut and pasted as mosaic sixels
For cut and copy sixels are converted to a monochrome image; unset sixels
are black and set sixels are white. Alphanumerics and control codes are
ignored. Held mosaics are not considered.

For paste a clipboard with only an image is converted to black and white
for unset and set sixels. This only works reliably with fully-black and
fully-white pixels.
2024-07-07 13:20:47 +01:00
G.K.MacGregor 54bdf1783a Don't paste plain text at column 0 unless selection is active 2024-07-02 16:33:49 +01:00
G.K.MacGregor 23a0d3c47e Add QIcon to font encapsulation 2024-07-02 15:52:44 +01:00
G.K.MacGregor 9b4ee66e1c Revert "Convert font image straight to QIcons"
This reverts commit 7cd632b4e2.

The commit would cause the font icons to be inverted sometimes. This
reversion is altered to return the font bitmaps as a QPixmap instead of a
QBitmap to be compatible with Qt6.
2024-06-25 18:49:38 +01:00
G.K.MacGregor 7cd632b4e2 Convert font image straight to QIcons
Fixes a compile error with recent Qt6 versions
2024-06-17 22:11:38 +01:00
G.K.MacGregor a0dd98144a Show blast-through alphanumerics in G1 character selection 2024-06-09 22:13:24 +01:00
G.K.MacGregor 80a450e0de Implement object invoke context menu 2024-06-09 21:57:55 +01:00
G.K.MacGregor f90ea6ca9c Add an easy way to get list of object definitions 2024-06-04 18:13:59 +01:00
G.K.MacGregor dfff4c5e17 Implement font style context menu 2024-05-26 19:27:48 +01:00
G.K.MacGregor e9855ceba3 Implement display attributes context menu 2024-05-26 18:24:21 +01:00
G.K.MacGregor 238515006d Implement flash functions context menu 2024-05-26 17:39:21 +01:00
G.K.MacGregor 771bc66b89 Add insert options to context menu 2024-05-22 17:28:43 +01:00
G.K.MacGregor 5b688d47ea Present same context menu in all table columns 2024-05-07 21:58:45 +01:00
G.K.MacGregor 05cf313b63 Implement CLUT context menu 2024-04-30 21:12:35 +01:00
G.K.MacGregor 12649e3adf Implement character context menu 2024-04-28 18:46:31 +01:00
G.K.MacGregor 539c6c9b32 Make the model return character set numbers 2024-04-24 19:51:06 +01:00
G.K.MacGregor 5d0241ad43 Implement right-click to change triplet mode 2024-04-24 17:57:01 +01:00
G.K.MacGregor 9e64033d7c Break out triplet mode menu 2024-04-22 22:15:10 +01:00
G.K.MacGregor ecefa03559 Encapsulate the font bitmap 2024-04-17 22:15:01 +01:00
G.K.MacGregor 3db1815772 Add zoom slider to status bar 2024-04-09 21:33:17 +01:00
G.K.MacGregor ebb389b6d7 Tag version 0.6.3-beta 0.6.3-beta 2024-02-05 18:02:30 +00:00
G.K.MacGregor 55814f1d6d Add some examples 2024-02-05 17:37:31 +00:00
G.K.MacGregor 7dc192e59b Say that it compiles with Qt 6 2024-02-05 17:29:16 +00:00
G.K.MacGregor 37f7be7db1 Render the page with QImage instead of QPixmap 2024-02-05 17:02:36 +00:00
G.K.MacGregor 680130f26e Remove a couple of spurious includes 2024-02-05 17:01:55 +00:00
G.K.MacGregor cbe0ad14e5 Try to make status bar smaller 2024-02-02 20:49:16 +00:00
G.K.MacGregor e3a8f43b52 Split text block saving into intermediate class 2024-02-02 18:00:43 +00:00
G.K.MacGregor baa20d69b7 Really simplify refresh signalling
Amendment to a468032, where refresh signal was not taken out of row loops.
2024-02-02 16:34:34 +00:00
G.K.MacGregor bd49ba9e47 Update copyright notices to 2024 2024-01-01 00:12:17 +00:00
G.K.MacGregor 16f6d353ed Revert "Make cycle time optional"
This reverts commit 3048e4dbc6.
Without a CT line vbit2 defaults to 1 cycle which could be too fast on
magazines with very few pages.
2023-11-30 22:05:14 +00:00
G.K.MacGregor 42d19b6e4b Properly set 2nd region combobox to unneeded 2023-11-29 22:10:58 +00:00
G.K.MacGregor 9759321566 Update URL of the ETS 300 706 teletext specification 2023-10-21 19:16:54 +01:00
G.K.MacGregor 426052f573 Port away from GNU case range extension
Hopefully this should now compile with MSVC and other compilers
2023-09-12 16:45:55 +01:00
G.K.MacGregor 3048e4dbc6 Make cycle time optional 2023-09-12 14:58:22 +01:00
G.K.MacGregor a4680326f0 Simplify refresh signalling 2023-09-12 13:50:00 +01:00
G.K.MacGregor a28e56797b Fix missing bottom half of double size text in passive objects 2023-09-05 20:25:08 +01:00
G.K.MacGregor e56fc40f8f Put parameter names into header files too 2023-08-27 14:25:16 +01:00