OSDN Git Service

スクリーンショットリストウインドウの位置を記憶するようにいた
authormasakih <masakih@users.sourceforge.jp>
Tue, 25 Nov 2014 15:47:38 +0000 (00:47 +0900)
committermasakih <masakih@users.sourceforge.jp>
Tue, 25 Nov 2014 15:47:38 +0000 (00:47 +0900)
スクリーンショットリストウインドウをフルスクリーン対応にした

KCD/HMScreenshotListWindowController.m
KCD/ja.lproj/HMScreenshotListWindowController.xib

index d3d3e4e..5fb69d6 100644 (file)
 }
 
 
-#pragma mark-## IKImageBrowserDelegate
+#pragma mark - IKImageBrowserDelegate
 - (void) imageBrowser:(IKImageBrowserView *) aBrowser cellWasRightClickedAtIndex:(NSUInteger) index withEvent:(NSEvent *) event
 {
        [NSMenu popUpContextMenu:self.contextMenu withEvent:event forView:aBrowser];
 }
 
 
-#pragma mark-## NSSharingServiceDelegate NSSharingServicePickerDelegate
+#pragma mark - NSSharingServiceDelegate NSSharingServicePickerDelegate
 - (id <NSSharingServiceDelegate>)sharingServicePicker:(NSSharingServicePicker *)sharingServicePicker delegateForSharingService:(NSSharingService *)sharingService
 {
        return self;
index 61576dc..a855758 100644 (file)
@@ -18,8 +18,9 @@
         </customObject>
         <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
         <customObject id="-3" userLabel="Application" customClass="NSObject"/>
-        <window title="Screenshot List" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" oneShot="NO" releasedWhenClosed="NO" visibleAtLaunch="NO" animationBehavior="default" id="F0z-JX-Cv5">
+        <window title="スクリーンショットリスト" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" oneShot="NO" releasedWhenClosed="NO" visibleAtLaunch="NO" frameAutosaveName="screenshotlist" animationBehavior="default" id="F0z-JX-Cv5">
             <windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" resizable="YES"/>
+            <windowCollectionBehavior key="collectionBehavior" fullScreenPrimary="YES"/>
             <windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
             <rect key="contentRect" x="196" y="240" width="853" height="430"/>
             <rect key="screenRect" x="0.0" y="0.0" width="1440" height="900"/>
                             <rect key="frame" x="1" y="1" width="166" height="79"/>
                             <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                             <subviews>
-                                <ikImageBrowserView autoresizesSubviews="NO" zoomValue="0.55661112070083618" allowsMultipleSelection="NO" id="FPI-Ma-X6H">
-                                    <rect key="frame" x="0.0" y="0.0" width="1269" height="781"/>
+                                <ikImageBrowserView autoresizesSubviews="NO" zoomValue="0.98920553922653198" allowsMultipleSelection="NO" id="FPI-Ma-X6H">
+                                    <rect key="frame" x="0.0" y="0.0" width="9677" height="1481"/>
                                     <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxX="YES" flexibleMinY="YES" heightSizable="YES"/>
                                     <ikCellsStyle key="cellsStyleMask" none="YES" shadowed="YES" titled="YES" subtitled="YES"/>
                                     <autoresizingMask key="contentResizingMask" heightSizable="YES"/>
-                                    <size key="cellSize" width="145" height="145"/>
+                                    <size key="cellSize" width="363" height="363"/>
                                     <connections>
                                         <binding destination="mrq-7Y-mHG" name="content" keyPath="arrangedObjects" id="G0M-vZ-Pyi"/>
                                         <binding destination="-2" name="selectionIndexes" keyPath="selectedIndexes" previousBinding="G0M-vZ-Pyi" id="hZm-cJ-NmG"/>
                 </subviews>
             </view>
             <connections>
-                <outlet property="delegate" destination="-2" id="0bl-1N-AYu"/>
+                <outlet property="delegate" destination="-2" id="v6c-eq-I3d"/>
             </connections>
-            <point key="canvasLocation" x="339.5" y="296"/>
+            <point key="canvasLocation" x="339.5" y="294"/>
         </window>
         <arrayController objectClassName="HMScreenshotInformation" automaticallyRearrangesObjects="YES" id="mrq-7Y-mHG">
             <connections>