Stefano Pigozzi
3f594c2e84
cocoa: use window-scale to support video scaling functionality
...
In the cocoa backend you can use cmd+0/1/2 to scale the window. This commit
makes it use the new window-scale functionality.
2013-11-22 08:43:02 +01:00
Stefano Pigozzi
e4d23dd01d
cocoa: apply the more invasive constraining only with cmd+1/2/3
...
Regression from bc49957
Fixes #321
2013-10-28 09:08:08 +01:00
Stefano Pigozzi
bc49957458
cocoa: constraint the window position a little more
...
The intention of this is to not make the window go outside the screen when
changing dimensions from 2x to .5x.
2013-10-25 20:01:32 +02:00
Stefano Pigozzi
57c3fca7a8
cocoa: refactor precise scrolling to a separate method
2013-10-12 16:26:53 +02:00
Mad Fish
42189ada97
cocoa: fix mouse wheel scrolling
2013-10-12 16:26:24 +02:00
Stefano Pigozzi
177c89d948
cocoa_common: check if the screen has a menubar in a more generic way
...
Fixes #274
2013-10-09 09:27:41 +02:00
Stefano Pigozzi
89fced63b8
cocoa_common: add OS X 10.7 compatibility hacks includes
...
I forgot these when I split the code. They will hopefully fix compilation on
10.7.
2013-10-05 14:40:48 +02:00
Stefano Pigozzi
67d87d36d5
cocoa_common: report pixels instead of points during mouse movement
...
This fixes the position reporting on retina displays. Doesn't make any
difference on normal displays where 1px = 1pt.
Fixes : #260
2013-09-28 11:20:00 +02:00
Stefano Pigozzi
0ab9634eb3
cocoa_common: split the code, refactoring and cleanups
...
Split the code to several files. The GUI elements now each have they own files
and private state. The original code was a mess to respect the retarded mplayer
convention of having everything in a single file.
This commit also seems to fix the long running bug of artifacts showing
randomly when going fullscreen using nVidia GPUs.
2013-09-28 11:20:00 +02:00