26 Commits

Author SHA1 Message Date
Damiano Galassi
7b2677a1b7
MacGui: cleanup preview generation code 2024-12-11 18:19:38 +01:00
Damiano Galassi
fbfb089cf2
MacGui: add a way to generate and display CVPixelBuffers
It's faster to display yuv420 pixel buffer, avoids a software conversion to rgb.
2024-12-05 09:35:01 +01:00
Damiano Galassi
8b6cfc5c8b
MacGui: show titlebar separator in the Activity widnow, and set clipsToBounds to YES in the preview view. 2024-04-11 08:25:48 +02:00
Damiano Galassi
9d0d52685f
MacGui: remove an outdated comment. 2020-06-12 18:27:47 +02:00
Damiano Galassi
20cb33eb66
MacGui: call [super layout] in the preview view layout. It's required and not calling it breaks the layout on 10.11. 2020-05-16 12:17:18 +02:00
Nomis101
20fe4b6ebd Gardening: Clean up trailing whitespace
Remove trailing whitespace in "*.c",  "*.m",  "*.h" and "*.cpp" files.
2019-11-04 22:41:20 +00:00
Damiano Galassi
4238775818
Improve preview window sizing. 2019-10-05 19:00:30 +02:00
Damiano Galassi
7ce503096d
MacGui: simplify the preview image layout code. 2019-09-26 15:27:48 +02:00
Damiano Galassi
4a710ddbff
MacGui: fix an exception when reading an HBJob from disk; do not store previews image when scanning the title in the queue; set the log level immediately; improve progress info when the pass number is not set yet. 2019-08-14 07:21:48 +02:00
Damiano Galassi
c5a4d181eb
MacGui: enable and fix more warnings. Review nullability annotations. 2019-08-12 10:19:00 +02:00
Nomis101
38c3ba1835 Fix some typos (#2202)
Fix some typos
2019-07-31 07:27:27 +02:00
Damiano Galassi
f990512a1c
MacGui: improve the preview border alignment on retina screens. 2018-08-31 18:23:12 +02:00
Damiano Galassi
f6a000f1c9
MacGui: remove a bunch of unneeded compatibility code. 2018-07-10 20:06:09 +02:00
Damiano Galassi
235f656bba
MacGui: add a few more comments. 2018-06-09 11:12:21 +02:00
Damiano Galassi
041d228b23
MacGui: improve NSLocalizedString comments. 2018-06-09 10:06:52 +02:00
Damiano Galassi
cb4dc4ec0a
MacGui: fix build on 10.12 sdk. 2017-12-25 09:05:58 +01:00
Damiano Galassi
138c0d6dbb
MacGui: fix a typo and the progress bar that was already hidden after the last VoiceOver improvements. 2017-12-20 22:34:30 +01:00
Damiano Galassi
42932cb0dd
MacGui: improve VoiceOver navigation. 2017-12-19 14:20:45 +01:00
Damiano Galassi
573b5ab5dc
MacGui: fix preview window scale factor on retina displays. 2017-12-16 08:35:06 +01:00
Damiano Galassi
17a4bb75f9
MacGui: short job description in the summary tab. 2017-11-13 14:01:19 +01:00
Damiano Galassi
2ce11e0c32
MacGui: show a preview image in the summary tab. 2017-11-12 12:41:42 +01:00
Damiano Galassi
47334f46a3 MacGui: mark some preview's layers as opaque. 2017-07-26 16:05:34 +02:00
Damiano Galassi
fd32646995 MacGui: do not update the preview window layer if the image is nil or the size is 0. 2016-04-07 11:12:49 +02:00
Damiano Galassi
e190b46dc6 MacGui: rename 'layout' in HBPreviewView so it doesn't override NSView layout method. 2016-04-07 11:02:14 +02:00
Damiano Galassi
6160d599a8 MacGui: fix build on Xcode 6.4 2015-10-07 09:45:18 +02:00
Damiano Galassi
b4a0e952b3 MacGui: move some code out of HBPreviewController.m. Remember the windows size when going back from the Scale To Screen mode 2015-10-06 19:52:42 +02:00