Skip to content
Snippets Groups Projects
Commit 7272ecae authored by Samuel Bassaly's avatar Samuel Bassaly Committed by Jean-Baptiste Kempf
Browse files

macosx: Add missing colors to NSColor extension

parent 41197239
No related branches found
No related tags found
1 merge request!537macosx: Implement the new gui for release 4.0
......@@ -36,6 +36,11 @@ NS_ASSUME_NONNULL_BEGIN
+ (instancetype)VLClibrarySeparatorDarkColor;
+ (instancetype)VLClibraryProgressIndicatorBackgroundColor;
+ (instancetype)VLClibraryProgressIndicatorForegroundColor;
+ (instancetype)VLClibraryItemBorderLightColor;
+ (instancetype)VLClibraryItemBorderDarkColor;
+ (instancetype)VLClibraryCollectionViewItemBackgroundLightColor;
+ (instancetype)VLClibraryCollectionViewItemBackgroundDarkColor;
+ (instancetype)VLCSliderFillColor;
@end
......
......@@ -74,4 +74,29 @@
return [NSColor colorWithRed:246./255. green:127./255. blue:0. alpha:1.];
}
+ (instancetype)VLClibraryItemBorderLightColor
{
return [NSColor colorWithRed:0.89 green:0.89 blue:0.91 alpha:1.];
}
+ (instancetype)VLClibraryItemBorderDarkColor
{
return [NSColor colorWithRed:0.48 green:0.48 blue:0.48 alpha:1.];
}
+ (instancetype)VLClibraryCollectionViewItemBackgroundLightColor
{
return [NSColor colorWithRed:0.23 green:0.23 blue:0.23 alpha:1.];
}
+ (instancetype)VLClibraryCollectionViewItemBackgroundDarkColor
{
return [NSColor colorWithRed:0.23 green:0.23 blue:0.23 alpha:1.];
}
+ (instancetype)VLCSliderFillColor
{
return [NSColor colorWithRed:1. green:0.38039 blue:0.03921 alpha:1.];
}
@end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment