]> granicus.if.org Git - handbrake/commit
MacGUI: Reworked a bit of HBPreviewController, the main differences are:
authorritsuka <damiog@gmail.com>
Fri, 1 Feb 2013 16:58:48 +0000 (16:58 +0000)
committerritsuka <damiog@gmail.com>
Fri, 1 Feb 2013 16:58:48 +0000 (16:58 +0000)
commita47fd8fc599f9abf4e53bafe8cec33b1de466f0c
tree51ebe93e160bc8429e7b0b9a6ab01d45538b456c
parentbbc2c49dbabc8478395bdb1bedf665261ea3adda
MacGUI: Reworked a bit of HBPreviewController, the main differences are:
- CALayer instead of NSImageView, we don't need to center the layer manually, plus a lot of free animations.
- Reworked the scale to screen code, now it resize the window to the max size and then resize the picture layer, a bit simpler then before but the previous code had a weird issue were the window increased in size each time the slider changed until the control box was outside the window.
- Fixed an issue where the preview window would be unusable if it was closed while it was encoding a preview.
- Added a fEncodeState int to keep track of the encoding status like in HBController.
- Removed some unused code and variables.
- The preview images are no longer 4px smaller than the said size.
- Added some nice image to the player controller.
- keyboard controls for the movie player.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5230 b64f7644-9d1e-0410-96f1-a4d463321fa5
macosx/English.lproj/PicturePreview.xib
macosx/HBPreviewController.h
macosx/HBPreviewController.m
macosx/HandBrake.xcodeproj/project.pbxproj
macosx/icons/next-p.pdf [new file with mode: 0644]
macosx/icons/pause-p.pdf [new file with mode: 0644]
macosx/icons/play-p.pdf [new file with mode: 0644]
macosx/icons/prev-p.pdf [new file with mode: 0644]