Commit bedf95c1 authored by Felix Paul Kühne's avatar Felix Paul Kühne
Browse files

status label: use a more transparent background color to better fit the...

status label: use a more transparent background color to better fit the playback view appearance (closes #15125)
parent a6d16b57
......@@ -2,7 +2,7 @@
* UIColor+Presets.m
* VLC for iOS
*****************************************************************************
* Copyright (c) 2014 VideoLAN. All rights reserved.
* Copyright (c) 2014-2015 VideoLAN. All rights reserved.
* $Id$
*
* Authors: Felix Paul Kühne <fkuehne # videolan org>
......@@ -15,6 +15,7 @@
@interface UIColor (Presets)
+ (UIColor *)VLCDarkBackgroundColor;
+ (UIColor *)VLCTransparentDarkBackgroundColor;
+ (UIColor *)VLCLightTextColor;
+ (UIColor *)VLCDarkTextShadowColor;
+ (UIColor *)VLCOrangeTintColor;
......
......@@ -2,7 +2,7 @@
* UIColor+Presets.m
* VLC for iOS
*****************************************************************************
* Copyright (c) 2014 VideoLAN. All rights reserved.
* Copyright (c) 2014-2015 VideoLAN. All rights reserved.
* $Id$
*
* Authors: Felix Paul Kühne <fkuehne # videolan org>
......@@ -19,6 +19,11 @@
return [UIColor colorWithWhite:.122 alpha:1.];
}
+ (UIColor *)VLCTransparentDarkBackgroundColor
{
return [UIColor colorWithWhite:.122 alpha:0.75];
}
+ (UIColor *)VLCLightTextColor
{
return [UIColor colorWithWhite:.72 alpha:1.];
......
......@@ -2,7 +2,7 @@
* VLCStatusLabel.m
* VLC for iOS
*****************************************************************************
* Copyright (c) 2013 VideoLAN. All rights reserved.
* Copyright (c) 2013-2015 VideoLAN. All rights reserved.
* $Id$
*
* Authors: Felix Paul Kühne <fkuehne # videolan.org>
......@@ -112,7 +112,7 @@
- (void)drawRect:(CGRect)rect
{
UIColor *drawingColor = [UIColor VLCDarkTextShadowColor];
UIColor *drawingColor = [UIColor VLCTransparentDarkBackgroundColor];
[drawingColor setFill];
UIBezierPath* bezierPath = [UIBezierPath bezierPathWithRoundedRect:rect cornerRadius:rect.size.height / 2];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment