Skip to content

Commit 03c5bea

Browse files
authoredJun 11, 2018
Merge pull request #462 from zwaldowski/window-rounding
Optimize rounding of the welcome window
2 parents 34b71bb + aa2e5bd commit 03c5bea

File tree

2 files changed

+143
-151
lines changed

2 files changed

+143
-151
lines changed
 

‎GitUp/Application/AppDelegate.m

+6-24
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@
3535

3636
#define kPreferencePaneIdentifier_General @"general"
3737

38-
#define kWelcomeWindowCornerRadius 10
39-
4038
#define kInstallerName @"install.sh"
4139
#define kToolName @"gitup"
4240
#define kToolInstallPath @"/usr/local/bin/" kToolName
@@ -45,33 +43,21 @@ @interface NSSavePanel (OSX_10_9)
4543
- (void)setShowsTagField:(BOOL)flag;
4644
@end
4745

48-
@interface WelcomeView : NSView
49-
@end
50-
5146
@interface AppDelegate () <NSUserNotificationCenterDelegate, SUUpdaterDelegate>
5247
- (IBAction)closeWelcomeWindow:(id)sender;
5348
@end
5449

55-
@implementation WelcomeView
56-
57-
- (void)drawRect:(NSRect)dirtyRect {
58-
NSRect bounds = self.bounds;
59-
CGContextRef context = [[NSGraphicsContext currentContext] graphicsPort];
60-
61-
CGContextClearRect(context, dirtyRect);
62-
63-
CGContextSetRGBFillColor(context, 0.9, 0.9, 0.9, 1.0);
64-
GICGContextAddRoundedRect(context, bounds, kWelcomeWindowCornerRadius);
65-
CGContextFillPath(context);
66-
}
67-
68-
@end
69-
7050
@interface WelcomeWindow : NSWindow
7151
@end
7252

7353
@implementation WelcomeWindow
7454

55+
- (void)awakeFromNib {
56+
self.opaque = NO;
57+
self.backgroundColor = [NSColor clearColor];
58+
self.movableByWindowBackground = YES;
59+
}
60+
7561
- (BOOL)validateMenuItem:(NSMenuItem*)menuItem {
7662
return menuItem.action == @selector(performClose:) ? YES : [super validateMenuItem:menuItem];
7763
}
@@ -267,10 +253,6 @@ - (void)awakeFromNib {
267253

268254
_allowWelcome = -1;
269255

270-
_welcomeWindow.alphaValue = 1.0;
271-
_welcomeWindow.opaque = NO;
272-
_welcomeWindow.movableByWindowBackground = YES;
273-
274256
_twitterButton.textAlignment = NSLeftTextAlignment;
275257
_twitterButton.textFont = [NSFont boldSystemFontOfSize:11];
276258
_forumsButton.textAlignment = NSLeftTextAlignment;

‎GitUp/Application/en.lproj/MainMenu.xib

+137-127
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="13771" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" customObjectInstantitationMethod="direct">
2+
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="14269.12" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" customObjectInstantitationMethod="direct">
33
<dependencies>
44
<deployment identifier="macosx"/>
5-
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="13771"/>
6-
<capability name="box content view" minToolsVersion="7.0"/>
5+
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="14269.12"/>
76
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
87
</dependencies>
98
<objects>
@@ -14,7 +13,7 @@
1413
</customObject>
1514
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
1615
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
17-
<window title="GitUp Preferences" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" restorable="NO" oneShot="NO" releasedWhenClosed="NO" showsToolbarButton="NO" visibleAtLaunch="NO" frameAutosaveName="preferences" animationBehavior="default" id="3qV-q4-a6k">
16+
<window title="GitUp Preferences" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" restorable="NO" releasedWhenClosed="NO" visibleAtLaunch="NO" frameAutosaveName="preferences" animationBehavior="default" id="3qV-q4-a6k">
1817
<windowStyleMask key="styleMask" titled="YES" closable="YES"/>
1918
<rect key="contentRect" x="940" y="240" width="500" height="400"/>
2019
<rect key="screenRect" x="0.0" y="0.0" width="2560" height="1417"/>
@@ -853,7 +852,7 @@ You must close and reopen any opened repositories in GitUp after changing this s
853852
</menuItem>
854853
</items>
855854
</menu>
856-
<window title="Clone Repository" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" restorable="NO" oneShot="NO" releasedWhenClosed="NO" showsToolbarButton="NO" visibleAtLaunch="NO" animationBehavior="default" id="6SP-eN-0Kv">
855+
<window title="Clone Repository" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" restorable="NO" releasedWhenClosed="NO" visibleAtLaunch="NO" animationBehavior="default" id="6SP-eN-0Kv">
857856
<windowStyleMask key="styleMask" titled="YES"/>
858857
<rect key="contentRect" x="131" y="158" width="502" height="167"/>
859858
<rect key="screenRect" x="0.0" y="0.0" width="1440" height="877"/>
@@ -866,7 +865,7 @@ You must close and reopen any opened repositories in GitUp after changing this s
866865
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
867866
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" placeholderString="Required" drawsBackground="YES" id="QXH-ou-KWa">
868867
<font key="font" metaFont="system"/>
869-
<color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/>
868+
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
870869
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
871870
</textFieldCell>
872871
</textField>
@@ -928,12 +927,12 @@ Gw
928927
</view>
929928
<point key="canvasLocation" x="-716" y="966.5"/>
930929
</window>
931-
<window title="Authentication Required" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" restorable="NO" oneShot="NO" releasedWhenClosed="NO" showsToolbarButton="NO" visibleAtLaunch="NO" animationBehavior="default" id="mcM-YD-UN9">
930+
<window title="Authentication Required" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" restorable="NO" releasedWhenClosed="NO" visibleAtLaunch="NO" animationBehavior="default" id="mcM-YD-UN9">
932931
<windowStyleMask key="styleMask" titled="YES"/>
933932
<rect key="contentRect" x="131" y="158" width="428" height="217"/>
934933
<rect key="screenRect" x="0.0" y="0.0" width="1440" height="877"/>
935934
<view key="contentView" id="kmS-EA-B5p">
936-
<rect key="frame" x="0.0" y="5" width="428" height="217"/>
935+
<rect key="frame" x="0.0" y="0.0" width="428" height="217"/>
937936
<autoresizingMask key="autoresizingMask"/>
938937
<subviews>
939938
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" id="ThD-Fn-TeP">
@@ -970,7 +969,7 @@ Gw
970969
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
971970
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" drawsBackground="YES" id="y3C-g4-ftz">
972971
<font key="font" metaFont="system"/>
973-
<color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/>
972+
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
974973
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
975974
</textFieldCell>
976975
</textField>
@@ -988,7 +987,7 @@ Gw
988987
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
989988
<secureTextFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" borderStyle="bezel" drawsBackground="YES" usesSingleLineMode="YES" id="LyY-DF-jhs">
990989
<font key="font" metaFont="system"/>
991-
<color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/>
990+
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
992991
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
993992
<allowedInputSourceLocales>
994993
<string>NSAllRomanInputSourcesLocaleIdentifier</string>
@@ -1037,7 +1036,7 @@ Gw
10371036
</view>
10381037
<point key="canvasLocation" x="-709" y="619.5"/>
10391038
</window>
1040-
<window title="About GitUp" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" restorable="NO" oneShot="NO" releasedWhenClosed="NO" showsToolbarButton="NO" visibleAtLaunch="NO" frameAutosaveName="about" animationBehavior="default" id="sHg-NM-pfN" userLabel="About" customClass="NSPanel">
1039+
<window title="About GitUp" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" restorable="NO" releasedWhenClosed="NO" visibleAtLaunch="NO" frameAutosaveName="about" animationBehavior="default" id="sHg-NM-pfN" userLabel="About" customClass="NSPanel">
10411040
<windowStyleMask key="styleMask" titled="YES" closable="YES"/>
10421041
<rect key="contentRect" x="612" y="242" width="276" height="363"/>
10431042
<rect key="screenRect" x="0.0" y="0.0" width="1440" height="877"/>
@@ -1101,144 +1100,155 @@ UI design by Wayne Fan</string>
11011100
</view>
11021101
<point key="canvasLocation" x="114" y="441.5"/>
11031102
</window>
1104-
<window allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" restorable="NO" oneShot="NO" releasedWhenClosed="NO" showsToolbarButton="NO" visibleAtLaunch="NO" frameAutosaveName="" animationBehavior="default" id="mjY-As-hbN" userLabel="Welcome" customClass="WelcomeWindow">
1103+
<window allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" restorable="NO" releasedWhenClosed="NO" visibleAtLaunch="NO" frameAutosaveName="" animationBehavior="default" id="mjY-As-hbN" userLabel="Welcome" customClass="WelcomeWindow">
11051104
<rect key="contentRect" x="131" y="158" width="280" height="349"/>
11061105
<rect key="screenRect" x="0.0" y="0.0" width="2560" height="1417"/>
1107-
<view key="contentView" id="36m-6r-JT2" customClass="WelcomeView">
1106+
<view key="contentView" id="36m-6r-JT2">
11081107
<rect key="frame" x="0.0" y="0.0" width="280" height="349"/>
11091108
<autoresizingMask key="autoresizingMask"/>
11101109
<subviews>
1111-
<button id="Fwx-IU-wXQ">
1112-
<rect key="frame" x="9" y="327" width="12" height="15"/>
1113-
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
1114-
<buttonCell key="cell" type="bevel" bezelStyle="regularSquare" image="icon_nav_closetip_dark" imagePosition="overlaps" alignment="center" alternateImage="icon_nav_closetip_dark_pressed" inset="2" id="9ia-bK-Ohr">
1115-
<behavior key="behavior" lightByContents="YES"/>
1116-
<font key="font" metaFont="system"/>
1117-
</buttonCell>
1118-
<connections>
1119-
<action selector="closeWelcomeWindow:" target="Voe-Tx-rLC" id="xWF-ok-YMZ"/>
1120-
</connections>
1121-
</button>
1122-
<imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" id="Apd-kA-Fr2">
1123-
<rect key="frame" x="76" y="180" width="128" height="128"/>
1124-
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
1125-
<imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" image="NSApplicationIcon" id="hqR-yy-x5J"/>
1126-
</imageView>
1127-
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" id="jwH-EW-hhE">
1128-
<rect key="frame" x="58" y="145" width="164" height="17"/>
1129-
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
1130-
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" allowsUndo="NO" sendsActionOnEndEditing="YES" alignment="center" title="Welcome to GitUp" id="mWe-61-l7s">
1131-
<font key="font" metaFont="systemBold"/>
1132-
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
1133-
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
1134-
</textFieldCell>
1135-
</textField>
1136-
<box verticalHuggingPriority="750" boxType="separator" id="zd1-ko-kkJ">
1137-
<rect key="frame" x="0.0" y="121" width="280" height="5"/>
1138-
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
1139-
</box>
1140-
<box autoresizesSubviews="NO" boxType="custom" borderType="none" title="Box" titlePosition="noTitle" id="Yk1-Lc-GjF">
1141-
<rect key="frame" x="0.0" y="88" width="280" height="35"/>
1142-
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
1143-
<view key="contentView" id="e59-at-kYh">
1144-
<rect key="frame" x="0.0" y="0.0" width="280" height="35"/>
1110+
<box misplaced="YES" boxType="custom" borderType="none" borderWidth="0.0" cornerRadius="10" title="Box" titlePosition="noTitle" id="UoN-n1-xSr">
1111+
<rect key="frame" x="0.0" y="0.0" width="280" height="349"/>
1112+
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
1113+
<view key="contentView" appearanceType="aqua" id="UVs-2r-EAT">
1114+
<rect key="frame" x="0.0" y="0.0" width="280" height="349"/>
11451115
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
11461116
<subviews>
1147-
<customView id="edN-Xy-LJd" customClass="GILinkButton">
1148-
<rect key="frame" x="50" y="7" width="180" height="20"/>
1117+
<button misplaced="YES" id="Fwx-IU-wXQ">
1118+
<rect key="frame" x="9" y="327" width="12" height="15"/>
1119+
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
1120+
<buttonCell key="cell" type="bevel" bezelStyle="regularSquare" image="icon_nav_closetip_dark" imagePosition="overlaps" alignment="center" alternateImage="icon_nav_closetip_dark_pressed" inset="2" id="9ia-bK-Ohr">
1121+
<behavior key="behavior" lightByContents="YES"/>
1122+
<font key="font" metaFont="system"/>
1123+
</buttonCell>
1124+
<connections>
1125+
<action selector="closeWelcomeWindow:" target="Voe-Tx-rLC" id="xWF-ok-YMZ"/>
1126+
</connections>
1127+
</button>
1128+
<imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" misplaced="YES" id="Apd-kA-Fr2">
1129+
<rect key="frame" x="76" y="180" width="128" height="128"/>
1130+
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
1131+
<imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" image="NSApplicationIcon" id="hqR-yy-x5J"/>
1132+
</imageView>
1133+
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" misplaced="YES" id="jwH-EW-hhE">
1134+
<rect key="frame" x="58" y="145" width="164" height="17"/>
1135+
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
1136+
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" allowsUndo="NO" sendsActionOnEndEditing="YES" alignment="center" title="Welcome to GitUp" id="mWe-61-l7s">
1137+
<font key="font" metaFont="systemBold"/>
1138+
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
1139+
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
1140+
</textFieldCell>
1141+
</textField>
1142+
<box verticalHuggingPriority="750" misplaced="YES" boxType="separator" id="zd1-ko-kkJ">
1143+
<rect key="frame" x="0.0" y="121" width="280" height="5"/>
11491144
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
1145+
</box>
1146+
<box autoresizesSubviews="NO" misplaced="YES" boxType="custom" borderType="none" title="Box" titlePosition="noTitle" id="Yk1-Lc-GjF">
1147+
<rect key="frame" x="0.0" y="88" width="280" height="35"/>
1148+
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
1149+
<view key="contentView" id="e59-at-kYh">
1150+
<rect key="frame" x="0.0" y="0.0" width="280" height="35"/>
1151+
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
1152+
<subviews>
1153+
<customView id="edN-Xy-LJd" customClass="GILinkButton">
1154+
<rect key="frame" x="50" y="7" width="180" height="20"/>
1155+
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
1156+
<userDefinedRuntimeAttributes>
1157+
<userDefinedRuntimeAttribute type="color" keyPath="linkColor">
1158+
<color key="value" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
1159+
</userDefinedRuntimeAttribute>
1160+
<userDefinedRuntimeAttribute type="color" keyPath="alternateLinkColor">
1161+
<color key="value" red="0.0" green="0.0" blue="0.0" alpha="0.5" colorSpace="calibratedRGB"/>
1162+
</userDefinedRuntimeAttribute>
1163+
<userDefinedRuntimeAttribute type="string" keyPath="link" value="Open a Git Repository…"/>
1164+
</userDefinedRuntimeAttributes>
1165+
<connections>
1166+
<action selector="openDocument:" target="-1" id="PnG-74-JXS"/>
1167+
</connections>
1168+
</customView>
1169+
</subviews>
1170+
</view>
1171+
<color key="fillColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
1172+
</box>
1173+
<box verticalHuggingPriority="750" misplaced="YES" boxType="separator" id="FXE-km-lcD">
1174+
<rect key="frame" x="0.0" y="85" width="280" height="5"/>
1175+
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
1176+
</box>
1177+
<box autoresizesSubviews="NO" misplaced="YES" boxType="custom" borderType="none" title="Box" titlePosition="noTitle" id="ll1-UT-nBS">
1178+
<rect key="frame" x="0.0" y="52" width="280" height="35"/>
1179+
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
1180+
<view key="contentView" id="qq4-a6-dvv">
1181+
<rect key="frame" x="0.0" y="0.0" width="280" height="35"/>
1182+
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
1183+
<subviews>
1184+
<popUpButton id="rck-lm-gsz">
1185+
<rect key="frame" x="65" y="7" width="150" height="21"/>
1186+
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
1187+
<popUpButtonCell key="cell" type="bevel" title="Recently Opened…" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" state="on" imageScaling="proportionallyDown" inset="2" pullsDown="YES" autoenablesItems="NO" altersStateOfSelectedItem="NO" selectedItem="BnD-OX-t50" id="TkZ-yA-jfp">
1188+
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
1189+
<font key="font" metaFont="menu"/>
1190+
<string key="keyEquivalent"></string>
1191+
<menu key="menu" autoenablesItems="NO" id="SuZ-b2-YNW">
1192+
<items>
1193+
<menuItem title="Recently Opened…" state="on" hidden="YES" id="BnD-OX-t50"/>
1194+
</items>
1195+
</menu>
1196+
</popUpButtonCell>
1197+
</popUpButton>
1198+
</subviews>
1199+
</view>
1200+
<color key="fillColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
1201+
</box>
1202+
<box verticalHuggingPriority="750" misplaced="YES" boxType="separator" id="3Ya-QW-NlZ">
1203+
<rect key="frame" x="0.0" y="49" width="280" height="5"/>
1204+
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
1205+
</box>
1206+
<imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" misplaced="YES" id="TgX-Ty-AUa">
1207+
<rect key="frame" x="45" y="20" width="12" height="12"/>
1208+
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
1209+
<imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" image="icon_twitter" id="4p0-VD-kVJ"/>
1210+
</imageView>
1211+
<customView misplaced="YES" id="5ht-7L-7AO" customClass="GILinkButton">
1212+
<rect key="frame" x="60" y="13" width="75" height="20"/>
1213+
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
11501214
<userDefinedRuntimeAttributes>
11511215
<userDefinedRuntimeAttribute type="color" keyPath="linkColor">
11521216
<color key="value" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
11531217
</userDefinedRuntimeAttribute>
11541218
<userDefinedRuntimeAttribute type="color" keyPath="alternateLinkColor">
11551219
<color key="value" red="0.0" green="0.0" blue="0.0" alpha="0.5" colorSpace="calibratedRGB"/>
11561220
</userDefinedRuntimeAttribute>
1157-
<userDefinedRuntimeAttribute type="string" keyPath="link" value="Open a Git Repository…"/>
1221+
<userDefinedRuntimeAttribute type="string" keyPath="link" value="@gitupapp"/>
11581222
</userDefinedRuntimeAttributes>
11591223
<connections>
1160-
<action selector="openDocument:" target="-1" id="PnG-74-JXS"/>
1224+
<action selector="openTwitter:" target="Voe-Tx-rLC" id="CcB-Tp-tMx"/>
1225+
</connections>
1226+
</customView>
1227+
<imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" misplaced="YES" id="3gN-gU-6Rk">
1228+
<rect key="frame" x="154" y="20" width="12" height="12"/>
1229+
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
1230+
<imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" image="icon_forum" id="3Om-2j-ETN"/>
1231+
</imageView>
1232+
<customView misplaced="YES" id="ozw-os-Nc4" customClass="GILinkButton">
1233+
<rect key="frame" x="169" y="13" width="75" height="20"/>
1234+
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
1235+
<userDefinedRuntimeAttributes>
1236+
<userDefinedRuntimeAttribute type="color" keyPath="linkColor">
1237+
<color key="value" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
1238+
</userDefinedRuntimeAttribute>
1239+
<userDefinedRuntimeAttribute type="color" keyPath="alternateLinkColor">
1240+
<color key="value" red="0.0" green="0.0" blue="0.0" alpha="0.5" colorSpace="calibratedRGB"/>
1241+
</userDefinedRuntimeAttribute>
1242+
<userDefinedRuntimeAttribute type="string" keyPath="link" value="Feedback"/>
1243+
</userDefinedRuntimeAttributes>
1244+
<connections>
1245+
<action selector="viewIssues:" target="Voe-Tx-rLC" id="C7T-gw-NmH"/>
11611246
</connections>
11621247
</customView>
11631248
</subviews>
11641249
</view>
1165-
<color key="fillColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
1166-
</box>
1167-
<box verticalHuggingPriority="750" boxType="separator" id="FXE-km-lcD">
1168-
<rect key="frame" x="0.0" y="85" width="280" height="5"/>
1169-
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
1170-
</box>
1171-
<box autoresizesSubviews="NO" boxType="custom" borderType="none" title="Box" titlePosition="noTitle" id="ll1-UT-nBS">
1172-
<rect key="frame" x="0.0" y="52" width="280" height="35"/>
1173-
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
1174-
<view key="contentView" id="qq4-a6-dvv">
1175-
<rect key="frame" x="0.0" y="0.0" width="280" height="35"/>
1176-
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
1177-
<subviews>
1178-
<popUpButton id="rck-lm-gsz">
1179-
<rect key="frame" x="65" y="7" width="150" height="21"/>
1180-
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
1181-
<popUpButtonCell key="cell" type="bevel" title="Recently Opened…" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" state="on" imageScaling="proportionallyDown" inset="2" pullsDown="YES" autoenablesItems="NO" altersStateOfSelectedItem="NO" selectedItem="BnD-OX-t50" id="TkZ-yA-jfp">
1182-
<behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
1183-
<font key="font" metaFont="menu"/>
1184-
<string key="keyEquivalent"></string>
1185-
<menu key="menu" autoenablesItems="NO" id="SuZ-b2-YNW">
1186-
<items>
1187-
<menuItem title="Recently Opened…" state="on" hidden="YES" id="BnD-OX-t50"/>
1188-
</items>
1189-
</menu>
1190-
</popUpButtonCell>
1191-
</popUpButton>
1192-
</subviews>
1193-
</view>
1194-
<color key="fillColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
1195-
</box>
1196-
<box verticalHuggingPriority="750" boxType="separator" id="3Ya-QW-NlZ">
1197-
<rect key="frame" x="0.0" y="49" width="280" height="5"/>
1198-
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
1250+
<color key="fillColor" red="0.90000000000000002" green="0.90000000000000002" blue="0.90000000000000002" alpha="1" colorSpace="calibratedRGB"/>
11991251
</box>
1200-
<imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" id="TgX-Ty-AUa">
1201-
<rect key="frame" x="45" y="20" width="12" height="12"/>
1202-
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
1203-
<imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" image="icon_twitter" id="4p0-VD-kVJ"/>
1204-
</imageView>
1205-
<customView id="5ht-7L-7AO" customClass="GILinkButton">
1206-
<rect key="frame" x="60" y="13" width="75" height="20"/>
1207-
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
1208-
<userDefinedRuntimeAttributes>
1209-
<userDefinedRuntimeAttribute type="color" keyPath="linkColor">
1210-
<color key="value" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
1211-
</userDefinedRuntimeAttribute>
1212-
<userDefinedRuntimeAttribute type="color" keyPath="alternateLinkColor">
1213-
<color key="value" red="0.0" green="0.0" blue="0.0" alpha="0.5" colorSpace="calibratedRGB"/>
1214-
</userDefinedRuntimeAttribute>
1215-
<userDefinedRuntimeAttribute type="string" keyPath="link" value="@gitupapp"/>
1216-
</userDefinedRuntimeAttributes>
1217-
<connections>
1218-
<action selector="openTwitter:" target="Voe-Tx-rLC" id="CcB-Tp-tMx"/>
1219-
</connections>
1220-
</customView>
1221-
<imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" id="3gN-gU-6Rk">
1222-
<rect key="frame" x="154" y="20" width="12" height="12"/>
1223-
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
1224-
<imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" image="icon_forum" id="3Om-2j-ETN"/>
1225-
</imageView>
1226-
<customView id="ozw-os-Nc4" customClass="GILinkButton">
1227-
<rect key="frame" x="169" y="13" width="75" height="20"/>
1228-
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
1229-
<userDefinedRuntimeAttributes>
1230-
<userDefinedRuntimeAttribute type="color" keyPath="linkColor">
1231-
<color key="value" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
1232-
</userDefinedRuntimeAttribute>
1233-
<userDefinedRuntimeAttribute type="color" keyPath="alternateLinkColor">
1234-
<color key="value" red="0.0" green="0.0" blue="0.0" alpha="0.5" colorSpace="calibratedRGB"/>
1235-
</userDefinedRuntimeAttribute>
1236-
<userDefinedRuntimeAttribute type="string" keyPath="link" value="Feedback"/>
1237-
</userDefinedRuntimeAttributes>
1238-
<connections>
1239-
<action selector="viewIssues:" target="Voe-Tx-rLC" id="C7T-gw-NmH"/>
1240-
</connections>
1241-
</customView>
12421252
</subviews>
12431253
</view>
12441254
<point key="canvasLocation" x="-252" y="578.5"/>

0 commit comments

Comments
 (0)
Please sign in to comment.