OSDN Git Service

艦隊の合計制空値を表示するようにした
authormasakih <masakih@users.sourceforge.jp>
Mon, 15 Dec 2014 15:36:22 +0000 (00:36 +0900)
committermasakih <masakih@users.sourceforge.jp>
Mon, 15 Dec 2014 15:36:22 +0000 (00:36 +0900)
KCD/HMDeckViewController.m
KCD/ja.lproj/HMDeckViewController.xib

index a4c4c8f..847abb2 100644 (file)
 {
        return [NSSet setWithObject:@"fleetInfo.totalSakuteki"];
 }
-
++ (NSSet *)keyPathsForValuesAffectingTotalSeiku
+{
+       return [NSSet setWithObject:@"fleetInfo.totalSeiku"];
+}
 - (NSNumber *)totalSakuteki
 {
        return self.fleetInfo.totalSakuteki;
 }
+- (NSNumber *)totalSeiku
+{
+       return self.fleetInfo.totalSeiku;
+}
 - (void)setSelectedDeck:(NSInteger)selectedDeck
 {
        if(selectedDeck == _selectedDeck) return;
index 81d08ff..ada6599 100644 (file)
                     </connections>
                 </matrix>
                 <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" id="Tek-2X-Nz2">
-                    <rect key="frame" x="764" y="20" width="38" height="17"/>
+                    <rect key="frame" x="764" y="34" width="38" height="17"/>
                     <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
                     <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Label" id="YR1-Zf-z2o">
                         <font key="font" metaFont="system"/>
                     </connections>
                 </textField>
                 <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" id="M1a-LI-gu8">
-                    <rect key="frame" x="708" y="20" width="56" height="17"/>
+                    <rect key="frame" x="708" y="34" width="56" height="17"/>
                     <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
                     <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="索敵値:" id="8vd-Ce-2wt">
                         <font key="font" size="13" name="AquaKana"/>
                     <rect key="frame" x="611" y="11" width="31" height="13"/>
                     <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
                 </customView>
+                <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" id="cTt-4n-W3p">
+                    <rect key="frame" x="764" y="9" width="38" height="17"/>
+                    <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
+                    <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Label" id="Yci-02-wdB">
+                        <font key="font" metaFont="system"/>
+                        <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
+                        <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
+                    </textFieldCell>
+                    <connections>
+                        <binding destination="-2" name="value" keyPath="totalSeiku" id="8cZ-nQ-cKa"/>
+                    </connections>
+                </textField>
+                <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" id="BWI-Rq-wLq">
+                    <rect key="frame" x="708" y="9" width="56" height="17"/>
+                    <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
+                    <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="制空値:" id="dHl-dE-zAZ">
+                        <font key="font" size="13" name="AquaKana"/>
+                        <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
+                        <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
+                    </textFieldCell>
+                </textField>
             </subviews>
         </customView>
     </objects>