16 Commits

Author SHA1 Message Date
Cameron Cawley 8a01c2a0b0 GUI: Use Common::SharedPtr for reusing surfaces 2026-04-14 18:46:14 +03:00
tunnelsociety 13a0004c30 GUI: Update print preview on dialog resize 2026-03-16 14:30:34 +01:00
Simon Delamarre 4dc4b07ecf GUI: Add "fit to page" and "center" options in print dialog
The preview is automatically updated when setting these options,
as well as when changing the printer or the page orientation.
2026-02-25 18:10:36 +01:00
Simon Delamarre 0ec635288a COMMON, WIN32: doPrint() can now specify a move/stretch on the page 2026-02-25 18:10:36 +01:00
Eugene Sandulenko edc82c907f COMMON: GUI: The final attempt to resolve circular dependency
Now, we call a GUI method for priting images, which instantiates
the print dialog. Since we always want to show the dialog, this
goes even better conceptually.
2026-02-16 19:31:01 +01:00
Eugene Sandulenko 9f3ec07fa7 COMMON: Move default PrintingManager implementation to common/
This should resolve the circular dependency.

Also, reverting hack to Makefile.common introduced in 9d8dada525
2026-02-16 19:02:04 +01:00
Eugene Sandulenko c49c86929c GUI: Render whole page canvas with imge centered on it in print dialog 2026-02-15 14:37:27 +01:00
Eugene Sandulenko 3d4c810ef6 GUI: Scale print preview image to fit in the widget 2026-02-15 14:37:27 +01:00
Eugene Sandulenko 2c11bb0cce GUI: Added preview to print dialog 2026-02-15 14:37:27 +01:00
Eugene Sandulenko 5a5abd78a4 GUI: Remove redundant namespace references 2026-02-15 14:37:27 +01:00
Eugene Sandulenko a304f852ce ALL: Remove USE_PRINTING and implement no-op default print manager
WIN32-specific printing is behind --enable-system-printing configure option
2026-02-15 14:37:26 +01:00
Alikhan Balpykov efa71e3c26 GUI: Add pop descriptions and cancel button to PrintingDialog 2026-02-15 14:37:26 +01:00
Alikhan Balpykov e632479fa8 GUI: Add option to choose layout type in PrintingDialog 2026-02-15 14:37:26 +01:00
Alikhan Balpykov e97ed7f9f1 GUI: Add option to choose printer name 2026-02-15 14:37:26 +01:00
Alikhan Balpykov d734138a35 COMMON: Add PrintingManager::saveAsImage() method 2026-02-15 14:37:26 +01:00
Alikhan Balpykov bfd946611e GUI: Add PrintingDialog class 2026-02-15 14:37:26 +01:00