Stefano Pigozzi
369e88c99b
cocoa: remove dead code
...
This became dead code in commit 3f594c2e
.
2014-01-21 23:32:07 +01:00
Nyx0uf
0f8558a723
cocoa: allow to drag and drop URLs
...
This commit also improves the visual feedback to the user by showing a plus
icon in the mouse cursor when dragging supported types.
Fixes #469
2014-01-10 10:48:54 +01:00
Stefano Pigozzi
1e988c595b
cocoa: handle files drag and drop on the player video view
2014-01-04 17:29:53 +01:00
11rcombs
ad92c893a0
Fix OSX build; remove all remaining mpvcore references
2013-12-17 08:44:21 +01:00
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