Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
9185c515
Commit
9185c515
authored
Jan 24, 2003
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* made a quick hack to create a resize bar. not sure if we should keep this.
parent
5eb9bd3a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
4 deletions
+19
-4
modules/gui/macosx/vout.m
modules/gui/macosx/vout.m
+19
-4
No files found.
modules/gui/macosx/vout.m
View file @
9185c515
...
...
@@ -2,7 +2,7 @@
* vout.m: MacOS X video output plugin
*****************************************************************************
* Copyright (C) 2001-2003 VideoLAN
* $Id: vout.m,v 1.1
6 2003/01/23 23:51:13 massiot
Exp $
* $Id: vout.m,v 1.1
7 2003/01/24 00:17:20 hartman
Exp $
*
* Authors: Colin Delacroix <colin@zoy.org>
* Florian G. Pflug <fgp@phlo.org>
...
...
@@ -602,6 +602,11 @@ static void QTScaleMatrix( vout_thread_t *p_vout )
i_offset_y
=
(
i_height
-
i_adj_height
)
/
2
;
}
/* the following is for the resize bar. Dirty hack (hartman) */
if
(
!
p_vout
->
b_fullscreen
)
{
i_offset_y
=
i_offset_y
-
12
;
}
SetIdentityMatrix
(
p_vout
->
p_sys
->
p_matrix
);
...
...
@@ -864,9 +869,12 @@ static void QTFreePicture( vout_thread_t *p_vout, picture_t *p_pic )
vout_thread_t
*
p_vout
;
id
o_window
=
[
self
window
];
p_vout
=
(
vout_thread_t
*
)[
o_window
getVout
];
[[
NSColor
blackColor
]
set
];
NSRectFill
(
rect
);
if
(
p_vout
->
b_fullscreen
)
{
[[
NSColor
blackColor
]
set
];
NSRectFill
(
rect
);
}
[
super
drawRect
:
rect
];
p_vout
->
i_changes
|=
VOUT_SIZE_CHANGE
;
...
...
@@ -1028,6 +1036,9 @@ static void QTFreePicture( vout_thread_t *p_vout, picture_t *p_pic )
NSClosableWindowMask
|
NSResizableWindowMask
|
NSTexturedBackgroundWindowMask
;
/* the following is for the resize bar. Dirty hack (hartman) */
p_vout
->
p_sys
->
s_rect
.
size
.
height
=
p_vout
->
p_sys
->
s_rect
.
size
.
height
+
24
;
if
(
p_vout
->
p_sys
->
p_fullscreen_state
!=
NULL
)
EndFullScreen
(
p_vout
->
p_sys
->
p_fullscreen_state
,
NULL
);
...
...
@@ -1098,6 +1109,10 @@ static void QTFreePicture( vout_thread_t *p_vout, picture_t *p_pic )
p_vout
->
p_sys
->
b_pos_saved
=
1
;
}
else
/* the following is for the resize bar. Dirty hack (hartman) */
{
p_vout
->
p_sys
->
s_rect
.
size
.
height
=
p_vout
->
p_sys
->
s_rect
.
size
.
height
-
24
;
}
p_vout
->
p_sys
->
p_qdport
=
nil
;
[
p_vout
->
p_sys
->
o_window
close
];
...
...
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