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
68660d8a
Commit
68660d8a
authored
Dec 20, 2011
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: improve drawing of the 'fancy gradient effect for time slider' (fixes #5568)
parent
4c718f0e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
8 deletions
+9
-8
extras/package/macosx/Resources/English.lproj/MainMenu.xib
extras/package/macosx/Resources/English.lproj/MainMenu.xib
+8
-7
modules/gui/macosx/MainWindow.m
modules/gui/macosx/MainWindow.m
+1
-1
No files found.
extras/package/macosx/Resources/English.lproj/MainMenu.xib
View file @
68660d8a
...
...
@@ -21,14 +21,14 @@
</object>
<object
class=
"NSMutableArray"
key=
"IBDocument.EditedObjectIDs"
>
<bool
key=
"EncodedWithXMLCoder"
>
YES
</bool>
<integer
value=
"915"
/>
<integer
value=
"283"
/>
<integer
value=
"4722"
/>
<integer
value=
"283"
/>
<integer
value=
"2730"
/>
<integer
value=
"915"
/>
<integer
value=
"1617"
/>
<integer
value=
"4681"
/>
<integer
value=
"235"
/>
<integer
value=
"2730"
/>
<integer
value=
"4596"
/>
<integer
value=
"21"
/>
</object>
<object
class=
"NSArray"
key=
"IBDocument.PluginDependencies"
>
<bool
key=
"EncodedWithXMLCoder"
>
YES
</bool>
...
...
@@ -676,6 +676,7 @@
<string
key=
"NSFrame"
>
{{222, 12}, {61, 11}}
</string>
<reference
key=
"NSSuperview"
ref=
"429932428"
/>
<int
key=
"NSViewLayerContentsRedrawPolicy"
>
2
</int>
<bool
key=
"NSViewCanDrawConcurrently"
>
YES
</bool>
<string
key=
"NSClassName"
>
VLCProgressBarGradientEffect
</string>
</object>
<object
class=
"NSSplitView"
id=
"302568132"
>
...
...
@@ -10904,7 +10905,7 @@ LCAuLi4</string>
<boolean
value=
"YES"
/>
<string>
com.apple.InterfaceBuilder.CocoaPlugin
</string>
<boolean
value=
"YES"
/>
<string>
{{4
28
, 299}, {222, 363}}
</string>
<string>
{{4
73
, 299}, {222, 363}}
</string>
<string>
com.apple.InterfaceBuilder.CocoaPlugin
</string>
<boolean
value=
"YES"
/>
<string>
com.apple.InterfaceBuilder.CocoaPlugin
</string>
...
...
@@ -11071,7 +11072,7 @@ LCAuLi4</string>
<boolean
value=
"YES"
/>
<string>
com.apple.InterfaceBuilder.CocoaPlugin
</string>
<boolean
value=
"YES"
/>
<string>
{{
284
, 662}, {468, 20}}
</string>
<string>
{{
329
, 662}, {468, 20}}
</string>
<string>
com.apple.InterfaceBuilder.CocoaPlugin
</string>
<boolean
value=
"YES"
/>
<string>
com.apple.InterfaceBuilder.CocoaPlugin
</string>
...
...
@@ -11088,7 +11089,7 @@ LCAuLi4</string>
<boolean
value=
"YES"
/>
<string>
com.apple.InterfaceBuilder.CocoaPlugin
</string>
<object
class=
"NSAffineTransform"
>
<bytes
key=
"NSTransformStruct"
>
P4AAAL+AAABD
ZgAAwe
AAAA
</bytes>
<bytes
key=
"NSTransformStruct"
>
P4AAAL+AAABD
lYAAwd
AAAA
</bytes>
</object>
<boolean
value=
"YES"
/>
<string>
com.apple.InterfaceBuilder.CocoaPlugin
</string>
...
...
modules/gui/macosx/MainWindow.m
View file @
68660d8a
...
...
@@ -827,7 +827,7 @@ static VLCMainWindow *_o_sharedInstance = nil;
-
(
void
)
drawFancyGradientEffectForTimeSlider
{
NSAutoreleasePool
*
o_pool
=
[[
NSAutoreleasePool
alloc
]
init
];
float
f_value
=
([
o_time_sld_middle_view
frame
].
size
.
width
-
5
)
*
([
o_time_sld
intValue
]
/
[
o_time_sld
maxValue
]);
float
f_value
=
[
o_time_sld_middle_view
frame
].
size
.
width
*
([
o_time_sld
intValue
]
/
[
o_time_sld
maxValue
]);
if
(
f_value
>
5
.
0
)
{
if
(
f_value
!=
[
o_time_sld_fancygradient_view
frame
].
size
.
width
)
...
...
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