mirror of https://code.videolan.org/videolan/vlc
macOS: Autosave log window state and make it a panel
This commit is contained in:
parent
9821a006ef
commit
add6f3a869
|
@ -2,8 +2,8 @@
|
|||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="11762" systemVersion="16C67" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
|
||||
<dependencies>
|
||||
<deployment identifier="macosx"/>
|
||||
<development version="7000" identifier="xcode"/>
|
||||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="11762"/>
|
||||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
||||
</dependencies>
|
||||
<objects>
|
||||
<customObject id="-2" userLabel="File's Owner" customClass="VLCDebugMessageWindowController">
|
||||
|
@ -19,8 +19,9 @@
|
|||
</customObject>
|
||||
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
|
||||
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
|
||||
<window title="Window" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" hidesOnDeactivate="YES" releasedWhenClosed="NO" visibleAtLaunch="NO" animationBehavior="default" id="QvC-M9-y7g">
|
||||
<window title="Window" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" releasedWhenClosed="NO" visibleAtLaunch="NO" animationBehavior="utilityWindow" frameAutosaveName="LogWindow" id="QvC-M9-y7g" customClass="NSPanel">
|
||||
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" resizable="YES"/>
|
||||
<windowCollectionBehavior key="collectionBehavior" fullScreenAuxiliary="YES"/>
|
||||
<windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
|
||||
<rect key="contentRect" x="196" y="240" width="480" height="330"/>
|
||||
<rect key="screenRect" x="0.0" y="0.0" width="1280" height="777"/>
|
||||
|
@ -28,7 +29,7 @@
|
|||
<rect key="frame" x="0.0" y="0.0" width="480" height="330"/>
|
||||
<autoresizingMask key="autoresizingMask"/>
|
||||
<subviews>
|
||||
<splitView arrangesAllSubviews="NO" dividerStyle="thin" translatesAutoresizingMaskIntoConstraints="NO" id="5ZT-Oc-K6D">
|
||||
<splitView arrangesAllSubviews="NO" autosaveName="LogWindowSplitView" dividerStyle="thin" translatesAutoresizingMaskIntoConstraints="NO" id="5ZT-Oc-K6D">
|
||||
<rect key="frame" x="0.0" y="0.0" width="480" height="330"/>
|
||||
<subviews>
|
||||
<customView id="dx0-3n-J3G">
|
||||
|
|
|
@ -105,6 +105,7 @@ static void MsgCallback(void *data, int type, const vlc_log_t *item, const char
|
|||
[self.window setExcludedFromWindowsMenu:YES];
|
||||
[self.window setDelegate:self];
|
||||
[self.window setTitle:_NS("Messages")];
|
||||
[self.window setLevel:NSModalPanelWindowLevel];
|
||||
|
||||
#define setupButton(target, title, desc) \
|
||||
[target accessibilitySetOverrideValue:title \
|
||||
|
|
Loading…
Reference in New Issue