1 /*****************************************************************************
3 *****************************************************************************
4 * Copyright (C) 2017 VLC authors and VideoLAN
7 * Authors: Marvin Scholz <epirat07 at gmail dot com>
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
22 *****************************************************************************/
24 #import <Cocoa/Cocoa.h>
25 #import <QuartzCore/QuartzCore.h>
27 @interface VLCSliderCell
: NSSliderCell
30 @property NSColor
*gradientColor
;
31 @property NSColor
*gradientColor2
;
32 @property NSColor
*trackStrokeColor
;
33 @property NSColor
*filledTrackColor
;
34 @property NSColor
*knobFillColor
;
35 @property NSColor
*activeKnobFillColor
;
36 @property NSColor
*shadowColor
;
37 @property NSColor
*knobStrokeColor
;
38 @property NSColor
*highlightBackground
;
41 @property NSGradient
*trackGradient
;
42 @property NSGradient
*highlightGradient
;
45 @property NSShadow
*knobShadow
;
48 @property NSInteger animationWidth
;
50 @
property (nonatomic
, setter
=setIndefinite
:) BOOL indefinite
;
51 @
property (nonatomic
, setter
=setKnobHidden
:) BOOL isKnobHidden
;
53 - (void)setSliderStyleLight
;
54 - (void)setSliderStyleDark
;