Felix Paul Kühne
864b5584f6
macosx: fix potential null pointer dereference
8 years ago
David Fuhrmann
034259aab3
macosx: Remove VLCColor view, draw video view in black
Video view is drawn black in case first frame is not shown
instantly. NSWindow background color cannot be used anymore, as
it draws the title bar in a grey tone as well, which is not
desired.
9 years ago
Thomas Guillem
c0d287e72f
core: rename vlc_keys.h to vlc_actions.h
Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
9 years ago
Felix Paul Kühne
03e2e63828
macosx: make the vout window mouse-moveable again ( closes #18263 )
9 years ago
David Fuhrmann
76f12cba4c
macosx: Limit fullscreen panel to video content area
Limit dragging / moving of fullscreen panel to video content area.
This forbids dragging the fspanel outside of fullscreen. Also make
sure that the fs panel stays inside the video view if dragged, in
case the video view is smaller then the complete screen (this can
happen with macOS split screen feature).
10 years ago
David Fuhrmann
64a447df3f
macosx: Fix compilation with older SDKs
10 years ago
David Fuhrmann
a3005d3db8
macosx: Reset scrolling direction with timer, decrease timeout
Reset the fixed scrolling direction with a timer and decrease
timeout to 0.4 seconds. This makes switching between horizontal
scrolling and vertical scrolling a bit easier.
10 years ago
David Fuhrmann
3eb0885f61
macosx: Refine scroll wheel event forwarding
Starting with Sierra, the platform emits more fine granular
scrolling events than before. Now, the deltas from each event
are accumulated and forwarded after they reach a certain threshold.
close #17349
10 years ago
Felix Paul Kühne
e0dfd83141
macosx: rename VLCMain source file and split out VLCApplication class
10 years ago
David Fuhrmann
4e2ba724a4
macosx: rename to VLCVoutView
10 years ago
David Fuhrmann
0daa49d2a7
macosx: rename to VLCCoreInteraction
10 years ago
David Fuhrmann
6939841f64
macosx: rename to VLCMainMenu
10 years ago
Rémi Denis-Courmont
c240692f0b
Common structure for VLC common object members, document
10 years ago
David Fuhrmann
fabe8243fe
macosx: Replace VLCIntf by getIntf()
The old VLCIntf macro is deprecated, getIntf() should be used
instead.
11 years ago
David Fuhrmann
f82f77baff
macosx: cosmetics
11 years ago
Felix Paul Kühne
371695c615
macosx: added support for the CAOpenGLLayer vout
Note that this won't work if the video output is embedded in the main window
This is done mainly for debug purposes for now
11 years ago
David Fuhrmann
c500901b0f
macosx: remove VLCMainWindow singleton
11 years ago
Felix Paul Kühne
f450457875
macosx: refactor main class object life management and main menu
11 years ago
Felix Paul Kühne
d21e2440ea
macosx: remove support for OS X 10.6 Snow Leopard
11 years ago
Felix Paul Kühne
0b9b7eab08
macosx: privatise instance variables and resolve class dependencies on internal implementation details
11 years ago
Felix Paul Kühne
bb15c81583
macosx: switch to automated reference counting (refs #2813 )
11 years ago
David Fuhrmann
c877b35396
macosx: do not handle triple clicks explicitely
refs #11061
13 years ago
David Fuhrmann
827b8e61eb
macosx: fix some static code analysis warnings
Most of them are memleaks, uninitialized values, unused code
and type mismatches (float / int vs. CGFloat, uint vs. int)
13 years ago
Felix Paul Kühne
0975876372
macosx: fix recursive inclusion of the compatibility header
13 years ago
Felix Paul Kühne
706da72a53
macosx: fix compilation on 10.6 with clang 3.0
13 years ago
Felix Paul Kühne
7033729747
macosx: upgrade read-only array initializations to the modern ObjC syntax
No functional changes
13 years ago
David Fuhrmann
f95c2c87f9
macosx: handle space key by core, used as default setting for play / pause
14 years ago
David Fuhrmann
cf04d7a8a5
fix play / pause and rename method for better clarity
14 years ago
David Fuhrmann
7b621263ee
macosx: update copyright headers for some recently changed files
14 years ago
David Fuhrmann
b04f1e544e
macosx: only show fspanel when needed, additional fixed for lion fullscreen behavior
14 years ago
Felix Paul Kühne
9322e135d7
macosx: simplify ea98fcfc
thanks to David for the feedback
14 years ago
Felix Paul Kühne
ea98fcfc60
macosx: fixed subtitle rendering resolution when using the native fullscreen mode ( close #7946 )
bug was triggered only when using controls provided by the OS like NSWindow's fullscreen button
14 years ago
David Fuhrmann
b7165d6053
macosx: implement vout actions handling for multiple vout windows
Now, everything from the video menu and the basic stuff like fullscreen
should work. If it does'nt (e.g. fullscreen and resize with video-splitter module enabled)
please blame the core first. ;-)
TODO: There might be some getVout()-calls left which should be investigated.
close #6814
14 years ago
David Fuhrmann
92b48ad487
macosx: add own video view for each window
Note that this commit will break some stuff for non-embedded cases, for now.
refs #6814
14 years ago
David Fuhrmann
b9dc892290
macosx: remove old and dead code from VideoView.m
14 years ago
David Fuhrmann
80c8053955
macosx: cleanup generic scrollwheel implementation
14 years ago
Felix Paul Kühne
c33e5f1920
macosx: unify and modernize coding style
14 years ago
Felix Paul Kühne
a16d7de0cf
macosx/MainWindow: modernize getter
14 years ago
Felix Paul Kühne
c97faddc52
macosx: fixed NSRangeException when triggering modifier keys without characters as enabled by some international keyboards ( close #7268 )
14 years ago
David Fuhrmann
18dee68f3a
macosx: remove outdated and unused isFullscreen methods
14 years ago
Felix Paul Kühne
69da2065f6
macosx: vlc object handling improvements (refs #6883 )
This should solve a few problems on termination.
14 years ago
David Fuhrmann
d31d2c2108
macosx: don't use a private api for standard magnification threshold
14 years ago
David Fuhrmann
ea90ac95c6
macosx: implement magnification gesture as an additional fullscreen toggle
close #6926
14 years ago
Felix Paul Kühne
267137066a
macosx: fixed white spacing errors
Found by the GTM Xcode plugin, which was finally updated for Xcode4
14 years ago
David Fuhrmann
1536ed21be
macosx: several fixes and improvements for hotkey handling
- volume and mute hotkeys are handled by core now, providing a proper osd screen
- some fixes in detection if key combo is valid hotkey
- fix for mem leak
14 years ago
David Fuhrmann
deb8ae9265
macosx: remove unneeded headers from videoview.m
14 years ago
David Fuhrmann
da65be4390
macosx: only show fullscreen when mouse moves inside window
14 years ago
David Fuhrmann
3b3a892477
macosx vout: public getter for vd should not be needed anymore
14 years ago
David Fuhrmann
a2347e5728
macosx: remove unneeded p_vouts in videoview
14 years ago
David Fuhrmann
729e509f11
macosx: move mouse vout event code to vout module
Now it should be usable within own libvlc applications
14 years ago