mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-04-21 17:08:36 +03:00

Fixes #1052 This implements the about window as a custom window with a view controller. This lets us implement the proper responder chain so that our custom close window IBActions do the right thing. This has an additional benefit that we can easily customize this window going forward.
32 lines
2.1 KiB
XML
32 lines
2.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="22505" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
|
|
<dependencies>
|
|
<deployment identifier="macosx"/>
|
|
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22505"/>
|
|
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
|
</dependencies>
|
|
<objects>
|
|
<customObject id="-2" userLabel="File's Owner" customClass="TerminalController" customModule="Ghostty" customModuleProvider="target">
|
|
<connections>
|
|
<outlet property="window" destination="QvC-M9-y7g" id="cg9-Ep-qHg"/>
|
|
</connections>
|
|
</customObject>
|
|
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
|
|
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
|
|
<window title="👻 Ghostty" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" releasedWhenClosed="NO" visibleAtLaunch="NO" animationBehavior="default" id="QvC-M9-y7g" customClass="TerminalWindow" customModule="Ghostty" customModuleProvider="target">
|
|
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" resizable="YES"/>
|
|
<windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
|
|
<rect key="contentRect" x="0.0" y="0.0" width="800" height="600"/>
|
|
<rect key="screenRect" x="0.0" y="0.0" width="3008" height="1667"/>
|
|
<view key="contentView" wantsLayer="YES" id="EiT-Mj-1SZ">
|
|
<rect key="frame" x="0.0" y="0.0" width="800" height="600"/>
|
|
<autoresizingMask key="autoresizingMask"/>
|
|
</view>
|
|
<connections>
|
|
<outlet property="delegate" destination="-2" id="tG2-b7-nb8"/>
|
|
</connections>
|
|
<point key="canvasLocation" x="132" y="-82"/>
|
|
</window>
|
|
</objects>
|
|
</document>
|