Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
c673b2b9
Commit
c673b2b9
authored
May 18, 2002
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Fixed Mac OS X resizing.
parent
bdb82782
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
12 deletions
+21
-12
plugins/macosx/vout_macosx.m
plugins/macosx/vout_macosx.m
+9
-9
plugins/macosx/vout_qdview.m
plugins/macosx/vout_qdview.m
+2
-1
plugins/macosx/vout_vlc_wrapper.h
plugins/macosx/vout_vlc_wrapper.h
+2
-1
plugins/macosx/vout_vlc_wrapper.m
plugins/macosx/vout_vlc_wrapper.m
+8
-1
No files found.
plugins/macosx/vout_macosx.m
View file @
c673b2b9
...
...
@@ -316,15 +316,6 @@ static void vout_Destroy( vout_thread_t *p_vout )
*****************************************************************************/
static int vout_Manage( vout_thread_t *p_vout )
{
if( p_vout->i_changes
&
VOUT_SIZE_CHANGE )
{
QTScaleMatrix( p_vout );
SetDSequenceMatrix( p_vout->p_sys->i_seq,
p_vout->p_sys->p_matrix );
p_vout->i_changes
&
= ~VOUT_SIZE_CHANGE;
}
if( p_vout->i_changes
&
VOUT_FULLSCREEN_CHANGE )
{
if( CoToggleFullscreen( p_vout ) )
...
...
@@ -335,6 +326,15 @@ static int vout_Manage( vout_thread_t *p_vout )
p_vout->i_changes
&
= ~VOUT_FULLSCREEN_CHANGE;
}
if( p_vout->i_changes
&
VOUT_SIZE_CHANGE )
{
QTScaleMatrix( p_vout );
SetDSequenceMatrix( p_vout->p_sys->i_seq,
p_vout->p_sys->p_matrix );
p_vout->i_changes
&
= ~VOUT_SIZE_CHANGE;
}
/* hide/show mouse cursor */
if( p_vout->p_sys->b_mouse_moved ||
p_vout->p_sys->i_time_mouse_last_moved )
...
...
plugins/macosx/vout_qdview.m
View file @
c673b2b9
...
...
@@ -2,7 +2,7 @@
* vout_qdview.c: MacOS X plugin for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: vout_qdview.m,v 1.
2 2002/05/15 21:14:18
massiot Exp $
* $Id: vout_qdview.m,v 1.
3 2002/05/18 18:48:24
massiot Exp $
*
* Authors: Florian G. Pflug <fgp@phlo.org>
* Jon Lech Johansen <jon-vl@nanocrew.net>
...
...
@@ -50,6 +50,7 @@
[[
NSColor
blackColor
]
set
];
NSRectFill
(
rect
);
[
super
drawRect
:
rect
];
[
o_wrapper
voutDidResize
:
p_vout
];
}
@end
plugins/macosx/vout_vlc_wrapper.h
View file @
c673b2b9
...
...
@@ -2,7 +2,7 @@
* vout_vlc_wrapper.h: MacOS X plugin for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: vout_vlc_wrapper.h,v 1.
3 2002/05/12 20:56:3
4 massiot Exp $
* $Id: vout_vlc_wrapper.h,v 1.
4 2002/05/18 18:48:2
4 massiot Exp $
*
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
*
...
...
@@ -37,6 +37,7 @@
-
(
void
)
mouseEvent
:(
unsigned
int
)
ui_status
forVout
:(
void
*
)
_p_vout
;
-
(
BOOL
)
keyDown
:(
NSEvent
*
)
o_event
forVout
:(
void
*
)
_p_vout
;
-
(
void
)
voutDidResize
:(
void
*
)
_p_vout
;
@end
...
...
plugins/macosx/vout_vlc_wrapper.m
View file @
c673b2b9
...
...
@@ -2,7 +2,7 @@
* vout_vlc_wrapper.c: MacOS X plugin for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: vout_vlc_wrapper.m,v 1.
1 2002/05/12 20:56:3
4 massiot Exp $
* $Id: vout_vlc_wrapper.m,v 1.
2 2002/05/18 18:48:2
4 massiot Exp $
*
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
*
...
...
@@ -128,6 +128,13 @@ static Vout_VLCWrapper *o_vout = nil;
return
(
YES
);
}
-
(
void
)
voutDidResize
:(
void
*
)
_p_vout
{
vout_thread_t
*
p_vout
=
(
vout_thread_t
*
)
_p_vout
;
p_vout
->
i_changes
|=
VOUT_SIZE_CHANGE
;
}
@end
@implementation
Vout_VLCWrapper
(
Internal
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment