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.
This commit is contained in:
Gavin MacGregor
2024-12-01 17:44:58 +00:00
parent 26b5974421
commit 48a2b48964
5 changed files with 110 additions and 74 deletions

View File

@@ -65,8 +65,8 @@ public slots:
void subPageSelected();
void refreshPage();
void setReveal(bool reveal);
void setMix(bool mix);
void setShowControlCodes(bool showControlCodes);
void setRenderMode(TeletextPageRender::RenderMode renderMode);
void updateFlashTimer(int newFlashTimer);
void pauseFlash(bool pauseNow);
@@ -120,7 +120,7 @@ public:
public slots:
void updateCursor();
void updateSelection();
void setMix(bool mix);
void setRenderMode(TeletextPageRender::RenderMode renderMode);
void toggleGrid(bool gridOn);
void hideGUIElements(bool hidden);
void setFullScreenColour(const QColor &newColor);