Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
b494b2d8
Commit
b494b2d8
authored
Jan 10, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MacOSX/VLC_app/VLCBrowsableVideoView.m: Don't draw the gradient if a vout is present.
parent
f13a8acf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
extras/MacOSX/VLC_app/Sources/VLCBrowsableVideoView.m
extras/MacOSX/VLC_app/Sources/VLCBrowsableVideoView.m
+7
-1
No files found.
extras/MacOSX/VLC_app/Sources/VLCBrowsableVideoView.m
View file @
b494b2d8
...
...
@@ -184,7 +184,13 @@
}
-
(
void
)
drawRect
:(
NSRect
)
rect
{
{
if
(
[[[
self
layer
]
sublayers
]
count
]
)
{
/* Don't draw the empty view if we have a video output on screen */
[
super
drawRect
:
rect
];
return
;
}
NSColor
*
bottomGradient
=
[
NSColor
colorWithCalibratedWhite
:
0
.
10
alpha
:
1
.
0
];
NSColor
*
topGradient
=
[
NSColor
colorWithCalibratedWhite
:
0
.
45
alpha
:
1
.
0
];
NSGradient
*
gradient
=
[[
NSGradient
alloc
]
initWithStartingColor
:
bottomGradient
endingColor
:
topGradient
];
...
...
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