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
a96776fc
Commit
a96776fc
authored
Apr 10, 2011
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: cosmetics
decode URL for the Info panel, fixed potential redraw issue in the open panel
parent
9d841bf2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
8 deletions
+9
-8
modules/gui/macosx/fspanel.m
modules/gui/macosx/fspanel.m
+1
-1
modules/gui/macosx/open.m
modules/gui/macosx/open.m
+6
-5
modules/gui/macosx/playlistinfo.m
modules/gui/macosx/playlistinfo.m
+2
-2
No files found.
modules/gui/macosx/fspanel.m
View file @
a96776fc
...
...
@@ -467,7 +467,7 @@
s_rc
.
origin
.
x
=
481
;
s_rc
.
origin
.
y
=
64
;
s_rc
.
size
.
width
=
55
;
addTextfield
(
VLCTime
f
ield
,
o_streamPosition_txt
,
NSRightTextAlignment
,
systemFontOfSize
,
whiteColor
,
0
);
addTextfield
(
VLCTime
F
ield
,
o_streamPosition_txt
,
NSRightTextAlignment
,
systemFontOfSize
,
whiteColor
,
0
);
return
view
;
}
...
...
modules/gui/macosx/open.m
View file @
a96776fc
/*****************************************************************************
* open.m: Open dialogues for VLC's MacOS X port
*****************************************************************************
* Copyright (C) 2002-20
09
the VideoLAN team
* Copyright (C) 2002-20
11
the VideoLAN team
* $Id$
*
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
...
...
@@ -479,23 +479,24 @@ static VLCOpen *_o_sharedMainInstance = nil;
o_win_rect
.
origin
.
y
=
(
o_win_rect
.
origin
.
y
+
o_view_rect
.
size
.
height
)
-
o_view_rect
.
size
.
height
;
/* remove the MRL view */
[
o_mrl_view
removeFromSuperview
WithoutNeedingDisplay
];
[
o_mrl_view
removeFromSuperview
];
}
else
{
/* we need to expand */
[
o_mrl_view
setFrame
:
NSMakeRect
(
0
,
[
o_mrl_btn
frame
].
origin
.
y
,
o_view_rect
.
size
.
width
,
o_view_rect
.
size
.
height
)];
[
o_mrl_view
setNeedsDisplay
:
YES
];
[
o_mrl_view
setNeedsDisplay
:
NO
];
[
o_mrl_view
setAutoresizesSubviews
:
YES
];
/* add the MRL view */
[[
o_panel
contentView
]
addSubview
:
o_mrl_view
];
/* enlarge panel size for MRL view */
o_win_rect
.
size
.
height
=
o_win_rect
.
size
.
height
+
o_view_rect
.
size
.
height
;
}
[
o_panel
setFrame
:
o_win_rect
display
:
YES
animate
:
YES
];
[
o_panel
displayIfNeeded
];
if
(
[
o_mrl_btn
state
]
==
NSOnState
)
[[
o_panel
contentView
]
addSubview
:
o_mrl_view
];
}
-
(
IBAction
)
inputSlaveAction
:(
id
)
sender
...
...
modules/gui/macosx/playlistinfo.m
View file @
a96776fc
...
...
@@ -256,8 +256,8 @@ static VLCInfo *_o_sharedInstance = nil;
}
/* fill uri info */
char
*
psz_url
=
input_item_GetURI
(
p_item
);
[
o_uri_txt
setStringValue
:
[
NSString
stringWithUTF8String
:
psz_url
?
psz_url
:
""
]];
char
*
psz_url
=
decode_URI
(
input_item_GetURI
(
p_item
)
);
[
o_uri_txt
setStringValue
:
[
NSString
stringWithUTF8String
:
psz_url
?
psz_url
:
""
]];
free
(
psz_url
);
/* fill title info */
...
...
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