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.
This commit is contained in:
G.K.MacGregor
2024-07-10 21:13:54 +01:00
parent 9045160d3a
commit d184c50246
4 changed files with 245 additions and 4 deletions

View File

@@ -102,6 +102,7 @@ private:
int m_flashTiming, m_flashPhase;
void timerEvent(QTimerEvent *event) override;
void shiftMosaics(int key);
void selectionToClipboard();
QPair<int, int> mouseToRowAndColumn(const QPoint &mousePosition);