summaryrefslogtreecommitdiffstats
path: root/macosx/HBPlayerHUDController.xib
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2016-05-03 18:47:14 +0200
committerDamiano Galassi <[email protected]>2016-05-03 18:47:14 +0200
commite53308f9342d911a9d3e8f4d1eeba6e53fabc0ab (patch)
treef65f5390d9174276022790a308660e17d7a3601f /macosx/HBPlayerHUDController.xib
parent4ab21a0ca630dc4bac79149a6eec598921899fe5 (diff)
MacGui: use AVFoundation as the first option for the preview playback. Add volume and tracks controls to the player hud.
Diffstat (limited to 'macosx/HBPlayerHUDController.xib')
-rw-r--r--macosx/HBPlayerHUDController.xib152
1 files changed, 152 insertions, 0 deletions
diff --git a/macosx/HBPlayerHUDController.xib b/macosx/HBPlayerHUDController.xib
new file mode 100644
index 000000000..812c83c90
--- /dev/null
+++ b/macosx/HBPlayerHUDController.xib
@@ -0,0 +1,152 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="10117" systemVersion="15F28b" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
+ <dependencies>
+ <deployment identifier="macosx"/>
+ <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="10117"/>
+ </dependencies>
+ <objects>
+ <customObject id="-2" userLabel="File's Owner" customClass="HBPlayerHUDController">
+ <connections>
+ <outlet property="currentTimeLabel" destination="uYx-2C-8et" id="8fD-0Q-308"/>
+ <outlet property="playButton" destination="mLA-ei-4sK" id="Eag-8h-xCG"/>
+ <outlet property="remaingTimeLabel" destination="PVD-pq-1ZG" id="CFb-is-Tcd"/>
+ <outlet property="slider" destination="lBp-JT-ehn" id="cNv-P0-agY"/>
+ <outlet property="tracksSelection" destination="Vj1-Za-AUV" id="8Se-0H-ILD"/>
+ <outlet property="view" destination="xT7-Bx-eCV" id="GXR-ZH-hT6"/>
+ <outlet property="volumeSlider" destination="gzA-no-jdv" id="Yba-8g-L1Z"/>
+ </connections>
+ </customObject>
+ <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
+ <customObject id="-3" userLabel="Application" customClass="NSObject"/>
+ <customView hidden="YES" id="xT7-Bx-eCV" userLabel="Playback Controls" customClass="HBHUDView">
+ <rect key="frame" x="0.0" y="0.0" width="460" height="100"/>
+ <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMaxY="YES"/>
+ <subviews>
+ <slider verticalHuggingPriority="750" id="lBp-JT-ehn">
+ <rect key="frame" x="69" y="18" width="322" height="17"/>
+ <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
+ <sliderCell key="cell" controlSize="small" continuous="YES" alignment="left" maxValue="100" tickMarkPosition="above" sliderType="linear" id="mMk-re-3u5"/>
+ <connections>
+ <action selector="sliderChanged:" target="-2" id="YM4-mh-fr5"/>
+ </connections>
+ </slider>
+ <button toolTip="Toggle Play/Pause" id="mLA-ei-4sK">
+ <rect key="frame" x="212" y="46" width="36" height="36"/>
+ <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMinY="YES"/>
+ <buttonCell key="cell" type="square" bezelStyle="shadowlessSquare" image="PlayTemplate" imagePosition="overlaps" alignment="center" imageScaling="proportionallyDown" id="jG9-2O-OES">
+ <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
+ <font key="font" metaFont="system"/>
+ </buttonCell>
+ <connections>
+ <action selector="playPauseToggle:" target="-2" id="LLB-0k-P6K"/>
+ </connections>
+ </button>
+ <button toolTip="Go To Beginning" id="WuP-9l-8AN">
+ <rect key="frame" x="170" y="51" width="32" height="26"/>
+ <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMinY="YES"/>
+ <buttonCell key="cell" type="square" bezelStyle="shadowlessSquare" image="PrevTemplate" imagePosition="overlaps" alignment="center" imageScaling="proportionallyDown" id="IBZ-MN-bJO">
+ <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
+ <font key="font" metaFont="system"/>
+ </buttonCell>
+ <connections>
+ <action selector="goToBeginning:" target="-2" id="m24-WZ-vGD"/>
+ </connections>
+ </button>
+ <button toolTip="Go To End" id="CQ0-pk-SFk">
+ <rect key="frame" x="258" y="51" width="32" height="26"/>
+ <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMinY="YES"/>
+ <buttonCell key="cell" type="square" bezelStyle="shadowlessSquare" image="NextTemplate" imagePosition="only" alignment="center" controlSize="mini" imageScaling="proportionallyDown" id="LUb-dY-8hG">
+ <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
+ <font key="font" metaFont="miniSystem"/>
+ </buttonCell>
+ <connections>
+ <action selector="goToEnd:" target="-2" id="Rp0-53-4gw"/>
+ </connections>
+ </button>
+ <textField verticalHuggingPriority="750" id="PVD-pq-1ZG">
+ <rect key="frame" x="395" y="20" width="55" height="14"/>
+ <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxY="YES"/>
+ <textFieldCell key="cell" controlSize="small" sendsActionOnEndEditing="YES" alignment="right" title="00:00:00" id="6A0-9h-5UY">
+ <font key="font" metaFont="smallSystem"/>
+ <color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/>
+ <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
+ </textFieldCell>
+ </textField>
+ <textField verticalHuggingPriority="750" id="uYx-2C-8et">
+ <rect key="frame" x="10" y="20" width="55" height="14"/>
+ <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
+ <textFieldCell key="cell" controlSize="small" sendsActionOnEndEditing="YES" alignment="left" title="00:00:00" id="dGi-LK-P1E">
+ <font key="font" metaFont="smallSystem"/>
+ <color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/>
+ <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
+ </textFieldCell>
+ </textField>
+ <slider verticalHuggingPriority="750" id="gzA-no-jdv">
+ <rect key="frame" x="34" y="55" width="65" height="17"/>
+ <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
+ <sliderCell key="cell" controlSize="small" continuous="YES" state="on" alignment="left" maxValue="1" doubleValue="1" tickMarkPosition="above" sliderType="linear" id="aQz-j6-bQi"/>
+ <connections>
+ <action selector="volumeSliderChanged:" target="-2" id="rLr-Ug-i8q"/>
+ </connections>
+ </slider>
+ <button toolTip="Return to still previews" id="84p-08-fGK" userLabel="Stop Button">
+ <rect key="frame" x="424" y="55" width="16" height="16"/>
+ <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMinY="YES"/>
+ <buttonCell key="cell" type="square" bezelStyle="shadowlessSquare" image="NSStopProgressFreestandingTemplate" imagePosition="overlaps" alignment="center" imageScaling="proportionallyDown" id="hWC-BU-ynp">
+ <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
+ <font key="font" metaFont="system"/>
+ </buttonCell>
+ <connections>
+ <action selector="showPicturesPreview:" target="-2" id="kCs-UI-Epb"/>
+ </connections>
+ </button>
+ <button toolTip="Go To Beginning" id="euL-Tg-dmT">
+ <rect key="frame" x="12" y="55" width="18" height="18"/>
+ <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMinY="YES"/>
+ <buttonCell key="cell" type="square" bezelStyle="shadowlessSquare" image="volLowTemplate" imagePosition="overlaps" alignment="center" imageScaling="proportionallyDown" id="njB-22-thn">
+ <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
+ <font key="font" metaFont="system"/>
+ </buttonCell>
+ <connections>
+ <action selector="mute:" target="-2" id="CIm-ce-Lnf"/>
+ </connections>
+ </button>
+ <button id="Kiv-cL-wYI">
+ <rect key="frame" x="103" y="55" width="18" height="18"/>
+ <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMinY="YES"/>
+ <buttonCell key="cell" type="square" bezelStyle="shadowlessSquare" image="volHighTemplate" imagePosition="overlaps" alignment="center" imageScaling="proportionallyDown" id="rgx-mB-Rva">
+ <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
+ <font key="font" metaFont="system"/>
+ </buttonCell>
+ <connections>
+ <action selector="maxVolume:" target="-2" id="89B-BN-U8S"/>
+ </connections>
+ </button>
+ <popUpButton id="Vj1-Za-AUV">
+ <rect key="frame" x="336" y="47" width="73" height="30"/>
+ <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMinY="YES"/>
+ <popUpButtonCell key="cell" type="push" title="Tracks" bezelStyle="rounded" alignment="left" controlSize="small" lineBreakMode="truncatingTail" state="on" borderStyle="border" tag="1" imageScaling="proportionallyDown" inset="2" pullsDown="YES" autoenablesItems="NO" altersStateOfSelectedItem="NO" id="uwd-kr-YUM">
+ <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
+ <font key="font" metaFont="smallSystem"/>
+ <menu key="menu" autoenablesItems="NO" id="J1o-jV-bDZ">
+ <items>
+ <menuItem title="Tracks" state="on" tag="1" hidden="YES" id="6BQ-wU-p2C">
+ <modifierMask key="keyEquivalentModifierMask" shift="YES"/>
+ </menuItem>
+ </items>
+ </menu>
+ </popUpButtonCell>
+ </popUpButton>
+ </subviews>
+ <point key="canvasLocation" x="466" y="429"/>
+ </customView>
+ </objects>
+ <resources>
+ <image name="NSStopProgressFreestandingTemplate" width="14" height="14"/>
+ <image name="NextTemplate" width="48" height="48"/>
+ <image name="PlayTemplate" width="48" height="48"/>
+ <image name="PrevTemplate" width="48" height="48"/>
+ <image name="volHighTemplate" width="48" height="48"/>
+ <image name="volLowTemplate" width="48" height="48"/>
+ </resources>
+</document>