Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
e701a933
Commit
e701a933
authored
Aug 27, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: Revert to the old texture window look.
Too much workaround to use it.
parent
f4ad7994
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
26 deletions
+0
-26
modules/gui/macosx/embeddedwindow.m
modules/gui/macosx/embeddedwindow.m
+0
-26
No files found.
modules/gui/macosx/embeddedwindow.m
View file @
e701a933
...
...
@@ -41,32 +41,6 @@
@implementation
VLCEmbeddedWindow
-
(
id
)
initWithContentRect
:(
NSRect
)
contentRect
styleMask
:(
unsigned
int
)
windowStyle
backing
:(
NSBackingStoreType
)
bufferingType
defer
:(
BOOL
)
deferCreation
{
if
(
MACOS_VERSION
<
10
.
5
f
)
{
self
=
[
super
initWithContentRect
:
contentRect
styleMask
:
windowStyle
backing
:
bufferingType
defer
:
deferCreation
];
}
else
{
SEL
theSelector
;
NSMethodSignature
*
aSignature
;
NSInvocation
*
anInvocation
;
float
f_value
=
32
.
0
f
;
NSRectEdge
ouredge
=
NSMinYEdge
;
windowStyle
^=
NSTexturedBackgroundWindowMask
;
self
=
[
super
initWithContentRect
:
contentRect
styleMask
:
windowStyle
backing
:
bufferingType
defer
:
deferCreation
];
theSelector
=
@selector
(
setContentBorderThickness
:
forEdge
:
);
aSignature
=
[
VLCEmbeddedWindow
instanceMethodSignatureForSelector
:
theSelector
];
anInvocation
=
[
NSInvocation
invocationWithMethodSignature
:
aSignature
];
[
anInvocation
setSelector
:
theSelector
];
[
anInvocation
setTarget
:
self
];
[
anInvocation
setArgument
:
&
f_value
atIndex
:
2
];
/* FIXME it's actually CGFLoat */
[
anInvocation
setArgument
:
&
ouredge
atIndex
:
3
];
}
return
self
;
}
-
(
void
)
awakeFromNib
{
[
self
setDelegate
:
self
];
...
...
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