 import MarqueeLabel
 import BCColor
 import NapySlider
+
+public struct AGAudioPlayerColors {
+    let main: UIColor
+    let accent: UIColor
+    let accentWeak: UIColor
+    
+    let barNothing: UIColor
+    let barDownloads: UIColor
+    let barPlaybackElapsed: UIColor
+    let scrubberHandle: UIColor
+    
+    public init() {
+        let main = UIColor(red:0.149, green:0.608, blue:0.737, alpha:1)
+        let accent = UIColor.white
+
+        self.init(main: main, accent: accent)
+    }
+    
+    public init(main: UIColor, accent: UIColor) {
+        self.main = main
+        self.accent = accent
+        
+        accentWeak = accent.withAlphaComponent(0.7)
+        
+        barNothing = accent.withAlphaComponent(0.3)
+        barDownloads = accent.withAlphaComponent(0.4)
+        barPlaybackElapsed = accent
+        scrubberHandle = accent
+    }
+}
 
 @objc public class AGAudioPlayerViewController: UIViewController {
 


extension AGAudioPlayerViewController {
    func setupColors() {
        view.backgroundColor = ColorMain
        uiHeaderView.backgroundColor = ColorMain
        uiFooterView.backgroundColor = ColorMain
        
        uiLabelTitle.textColor = ColorAccent
        uiLabelSubtitle.textColor = ColorAccent
        
        uiLabelElapsed.textColor = ColorAccentWeak
        uiLabelDuration.textColor = ColorAccentWeak
        
        uiProgressDownload.backgroundColor = ColorBarNothing
        uiProgressDownloadCompleted.backgroundColor = ColorBarDownloads
        uiScrubber.elapsedColor = ColorBarPlaybackElapsed
        uiScrubber.dragIndicatorColor = ColorScrubberHandle
        
        uiWrapperEq.isHidden = true
        uiWrapperEq.backgroundColor = ColorMain.darkenByPercentage(0.05)
    
        uiSliderVolume.tintColor = ColorAccent
        
        /*
        view.layer.masksToBounds = true
        view.layer.cornerRadius = 4
        */
        
        uiSliderEqBass.tintColor = ColorBarPlaybackElapsed
        uiSliderEqBass.sliderUnselectedColor = ColorBarDownloads
        // uiSliderEqBass.
    }
    
    public override var preferredStatusBarStyle: UIStatusBarStyle {

    var openInteractor: OpenInteractor = OpenInteractor()
    
    // colors
    var colors = AGAudioPlayerColors()
    
    // constants
    let SectionQueue = 0
