macosx: Use VLCVolumeSlider
authorMarvin Scholz <epirat07@gmail.com>
Mon, 31 Jul 2017 16:09:56 +0000 (18:09 +0200)
committerMarvin Scholz <epirat07@gmail.com>
Mon, 31 Jul 2017 16:10:27 +0000 (18:10 +0200)
modules/gui/macosx/UI/MainWindow.xib
modules/gui/macosx/VLCDefaultValueSlider.h
modules/gui/macosx/VLCDefaultValueSlider.m
modules/gui/macosx/VLCMainWindowControlsBar.h

index 5bc6939..d30d2f5 100644 (file)
@@ -1,10 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="10117" systemVersion="16F73" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
+<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="12121" systemVersion="16G24b" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
     <dependencies>
         <deployment version="1070" identifier="macosx"/>
-        <development version="7000" identifier="xcode"/>
-        <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="10117"/>
+        <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="12121"/>
         <capability name="box content view" minToolsVersion="7.0"/>
+        <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
     </dependencies>
     <objects>
         <customObject id="-2" userLabel="File's Owner" customClass="NSWindowController">
                                             <action selector="volumeAction:" target="5339" id="5361"/>
                                         </connections>
                                     </button>
-                                    <slider verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="3649" customClass="VLCDefaultValueSlider">
+                                    <slider verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="3649" customClass="VLCVolumeSlider">
                                         <rect key="frame" x="578" y="11" width="48" height="13"/>
                                         <constraints>
                                             <constraint firstAttribute="width" constant="48" id="XRa-UG-wuM"/>
index 6b94615..ebb22f0 100644 (file)
@@ -53,6 +53,4 @@
  */
 - (double)defaultValue;
 
-- (void)setUsesBrightArtwork:(BOOL)brightArtwork;
-
 @end
index 1aec1d3..16e689a 100644 (file)
@@ -78,9 +78,4 @@
     return [(VLCDefaultValueSliderCell *)self.cell defaultValue];
 }
 
-- (void)setUsesBrightArtwork:(BOOL)brightArtwork
-{
-    // TODO!
-}
-
 @end
index 7a16c16..279a469 100644 (file)
@@ -25,7 +25,7 @@
 #import <Cocoa/Cocoa.h>
 #import "misc.h"
 #import "VLCControlsBarCommon.h"
-#import "VLCDefaultValueSlider.h"
+#import "VLCVolumeSlider.h"
 
 /*****************************************************************************
  * VLCMainWindowControlsBar
@@ -49,7 +49,7 @@
 @property (readwrite, strong) IBOutlet NSButton *shuffleButton;
 @property (readwrite, strong) IBOutlet NSLayoutConstraint *shuffleButtonWidthConstraint;
 
-@property (readwrite, strong) IBOutlet VLCDefaultValueSlider *volumeSlider;
+@property (readwrite, strong) IBOutlet VLCVolumeSlider *volumeSlider;
 @property (readwrite, strong) IBOutlet NSButton *volumeDownButton;
 @property (readwrite, strong) IBOutlet NSButton *volumeUpButton;