Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
VideoLAN
VLC-iOS
Commits
1e79d63f
Commit
1e79d63f
authored
Oct 26, 2013
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playback: cosmetics
parent
df5b119b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
AspenProject/VLCMovieViewController.m
AspenProject/VLCMovieViewController.m
+3
-3
No files found.
AspenProject/VLCMovieViewController.m
View file @
1e79d63f
...
...
@@ -914,11 +914,11 @@
}
else
if
([
panType
isEqual
:
@"Brightness"
])
{
CGFloat
brightness
=
[
UIScreen
mainScreen
].
brightness
;
if
(
panDirectionY
>
0
)
[[
UIScreen
mainScreen
]
setBrightness
:(
brightness
-
0
.
01
)];
[[
UIScreen
mainScreen
]
setBrightness
:(
brightness
-
0
.
01
)];
else
[[
UIScreen
mainScreen
]
setBrightness
:(
brightness
+
0
.
01
)];
[[
UIScreen
mainScreen
]
setBrightness
:(
brightness
+
0
.
01
)];
NSString
*
brightnessHUD
=
[
NSString
stringWithFormat
:
@"%@: %@ %%"
,
NSLocalizedString
(
@"VFILTER_BRIGHTNESS"
,
@""
),
[[[
NSString
stringWithFormat
:
@"%f"
,(
brightness
*
100
)]
componentsSeparatedByString
:
@"."
]
objectAtIndex
:
0
]];
NSString
*
brightnessHUD
=
[
NSString
stringWithFormat
:
@"%@: %@ %%"
,
NSLocalizedString
(
@"VFILTER_BRIGHTNESS"
,
@""
),
[[[
NSString
stringWithFormat
:
@"%f"
,(
brightness
*
100
)]
componentsSeparatedByString
:
@"."
]
objectAtIndex
:
0
]];
[
self
.
statusLabel
showStatusMessage
:
brightnessHUD
];
}
...
...
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