Revision: 13344
http://sourceforge.net/p/skim-app/code/13344
Author: hofman
Date: 2023-03-06 15:24:08 +0000 (Mon, 06 Mar 2023)
Log Message:
-----------
Remove line style button from line inspector. Set line style in line inspector
based on dashPattern. Only two styles are supported, and they should always be
coupled to the dash pattern.
Modified Paths:
--------------
trunk/Base.lproj/LineInspector.xib
trunk/SKLineInspector.h
trunk/SKLineInspector.m
trunk/de.lproj/LineInspector.strings
trunk/de.lproj/Localizable.strings
trunk/en.lproj/LineInspector.strings
trunk/en.lproj/Localizable.strings
trunk/es.lproj/LineInspector.strings
trunk/es.lproj/Localizable.strings
trunk/fr.lproj/LineInspector.strings
trunk/fr.lproj/Localizable.strings
trunk/it.lproj/LineInspector.strings
trunk/it.lproj/Localizable.strings
trunk/ja.lproj/LineInspector.strings
trunk/ja.lproj/Localizable.strings
trunk/nl.lproj/LineInspector.strings
trunk/nl.lproj/Localizable.strings
trunk/pl.lproj/LineInspector.strings
trunk/pl.lproj/Localizable.strings
trunk/ru.lproj/LineInspector.strings
trunk/ru.lproj/Localizable.strings
trunk/zh_CN.lproj/LineInspector.strings
trunk/zh_CN.lproj/Localizable.strings
trunk/zh_TW.lproj/LineInspector.strings
trunk/zh_TW.lproj/Localizable.strings
Modified: trunk/Base.lproj/LineInspector.xib
===================================================================
--- trunk/Base.lproj/LineInspector.xib 2023-03-05 22:20:53 UTC (rev 13343)
+++ trunk/Base.lproj/LineInspector.xib 2023-03-06 15:24:08 UTC (rev 13344)
@@ -1,9 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
-<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0"
toolsVersion="17701" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none"
useAutolayout="YES">
+<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0"
toolsVersion="19529" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none"
useAutolayout="YES">
<dependencies>
<deployment identifier="macosx"/>
- <development version="8000" identifier="xcode"/>
- <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin"
version="17701"/>
+ <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin"
version="19529"/>
<capability name="documents saved in the Xcode 8 format"
minToolsVersion="8.0"/>
</dependencies>
<objects>
@@ -12,7 +11,6 @@
<outlet property="endLineStyleButton" destination="52"
id="62"/>
<outlet property="lineWell" destination="69" id="70"/>
<outlet property="startLineStyleButton" destination="13"
id="61"/>
- <outlet property="styleButton" destination="9" id="60"/>
<outlet property="window" destination="5" id="36"/>
</connections>
</customObject>
@@ -21,15 +19,14 @@
<window title="Lines" allowsToolTipsWhenApplicationIsInactive="NO"
autorecalculatesKeyViewLoop="NO" hidesOnDeactivate="YES"
releasedWhenClosed="NO" visibleAtLaunch="NO" animationBehavior="default" id="5"
userLabel="Panel" customClass="NSPanel">
<windowStyleMask key="styleMask" titled="YES" closable="YES"
utility="YES"/>
<windowPositionMask key="initialPositionMask" leftStrut="YES"
rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
- <rect key="contentRect" x="242" y="510" width="251" height="253"/>
+ <rect key="contentRect" x="242" y="510" width="251" height="228"/>
<rect key="screenRect" x="0.0" y="0.0" width="1280" height="775"/>
- <value key="minSize" type="size" width="213" height="253"/>
<view key="contentView" id="6">
- <rect key="frame" x="0.0" y="0.0" width="261" height="253"/>
+ <rect key="frame" x="0.0" y="0.0" width="261" height="228"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<textField horizontalHuggingPriority="750"
verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO"
id="7" userLabel="Line Width:">
- <rect key="frame" x="20" y="147" width="64"
height="14"/>
+ <rect key="frame" x="20" y="121" width="64"
height="14"/>
<textFieldCell key="cell" controlSize="small"
scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES"
alignment="right" title="Line Width:" id="78">
<font key="font" metaFont="smallSystem"/>
<color key="textColor" name="controlTextColor"
catalog="System" colorSpace="catalog"/>
@@ -50,27 +47,8 @@
<outlet property="nextKeyView" destination="13"
id="42"/>
</connections>
</textField>
- <segmentedControl verticalHuggingPriority="750"
translatesAutoresizingMaskIntoConstraints="NO" id="9" userLabel="Line Style
Segmented Control">
- <rect key="frame" x="88" y="117" width="165"
height="21"/>
- <segmentedCell key="cell" controlSize="small"
borderStyle="border" alignment="left" style="rounded" trackingMode="selectOne"
id="80">
- <font key="font" metaFont="smallSystem"/>
- <segments>
- <segment imageScaling="none" width="29"/>
- <segment imageScaling="none" width="29"
tag="1"/>
- <segment imageScaling="none" width="29"
tag="2"/>
- <segment imageScaling="none" width="29"
tag="3"/>
- <segment imageScaling="none" width="29"
tag="4"/>
- </segments>
- </segmentedCell>
- <connections>
- <accessibilityConnection property="link"
destination="8" id="100"/>
- <accessibilityConnection property="title"
destination="15" id="76"/>
- <binding destination="-2" name="selectedTag"
keyPath="style" id="47"/>
- <outlet property="nextKeyView" destination="8"
id="41"/>
- </connections>
- </segmentedControl>
<textField toolTip="Line width"
verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO"
id="10" userLabel="Line Width Text Field">
- <rect key="frame" x="229" y="145" width="22"
height="19"/>
+ <rect key="frame" x="229" y="119" width="22"
height="19"/>
<constraints>
<constraint firstAttribute="width" priority="1"
constant="22" id="lZh-uz-Vbz"/>
</constraints>
@@ -93,17 +71,15 @@
<integer key="NSContinuouslyUpdatesValue"
value="1"/>
</dictionary>
</binding>
- <outlet property="nextKeyView" destination="9"
id="40"/>
</connections>
</textField>
<slider toolTip="Line width" verticalHuggingPriority="750"
translatesAutoresizingMaskIntoConstraints="NO" id="12" userLabel="Line Width
Slider">
- <rect key="frame" x="88" y="144" width="135"
height="20"/>
+ <rect key="frame" x="88" y="118" width="135"
height="20"/>
<sliderCell key="cell" controlSize="small"
alignment="left" maxValue="10" doubleValue="1" tickMarkPosition="above"
numberOfTickMarks="11" allowsTickMarkValuesOnly="YES" sliderType="linear"
id="82">
<font key="font" size="12" name="Helvetica"/>
</sliderCell>
<connections>
<accessibilityConnection property="link"
destination="10" id="98"/>
- <accessibilityConnection property="link"
destination="9" id="99"/>
<accessibilityConnection property="title"
destination="7" id="71"/>
<binding destination="-2" name="value"
keyPath="lineWidth" id="45"/>
<outlet property="nextKeyView" destination="10"
id="39"/>
@@ -129,14 +105,6 @@
<outlet property="nextKeyView" destination="52"
id="53"/>
</connections>
</segmentedControl>
- <textField horizontalHuggingPriority="750"
verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO"
id="15" userLabel="Line Style:">
- <rect key="frame" x="25" y="121" width="59"
height="14"/>
- <textFieldCell key="cell" controlSize="small"
scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES"
alignment="right" title="Line Style:" id="84">
- <font key="font" metaFont="smallSystem"/>
- <color key="textColor" name="controlTextColor"
catalog="System" colorSpace="catalog"/>
- <color key="backgroundColor" name="controlColor"
catalog="System" colorSpace="catalog"/>
- </textFieldCell>
- </textField>
<textField horizontalHuggingPriority="750"
verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO"
id="16" userLabel="Dash Pattern:">
<rect key="frame" x="8" y="95" width="76" height="14"/>
<constraints>
@@ -165,7 +133,7 @@
</textFieldCell>
</textField>
<textField verticalHuggingPriority="750"
translatesAutoresizingMaskIntoConstraints="NO" id="31">
- <rect key="frame" x="8" y="172" width="124"
height="14"/>
+ <rect key="frame" x="8" y="146" width="124"
height="14"/>
<textFieldCell key="cell" controlSize="small"
scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES"
title="Line and Border Style" id="88">
<font key="font" metaFont="smallSystemBold"/>
<color key="textColor" name="controlTextColor"
catalog="System" colorSpace="catalog"/>
@@ -203,7 +171,10 @@
</connections>
</segmentedControl>
<customView translatesAutoresizingMaskIntoConstraints="NO"
id="69" customClass="SKLineWell">
- <rect key="frame" x="10" y="194" width="241"
height="49"/>
+ <rect key="frame" x="10" y="168" width="241"
height="50"/>
+ <constraints>
+ <constraint firstAttribute="height" constant="50"
id="49j-AS-jqT"/>
+ </constraints>
</customView>
</subviews>
<constraints>
@@ -211,37 +182,29 @@
<constraint firstItem="12" firstAttribute="leading"
secondItem="7" secondAttribute="trailing" constant="8" symbolic="YES"
id="1MF-wG-1Py"/>
<constraint firstItem="34" firstAttribute="top"
secondItem="16" secondAttribute="bottom" constant="10" id="3Qc-nV-SrB"/>
<constraint firstItem="32" firstAttribute="top"
secondItem="34" secondAttribute="bottom" constant="8" symbolic="YES"
id="4pK-31-oZk"/>
- <constraint firstItem="9" firstAttribute="trailing"
secondItem="8" secondAttribute="trailing" id="5qz-Ra-MbO"/>
<constraint firstItem="69" firstAttribute="trailing"
secondItem="10" secondAttribute="trailing" id="6sO-En-pEM"/>
<constraint firstAttribute="trailing" secondItem="34"
secondAttribute="trailing" constant="10" id="8cy-lj-ijm"/>
<constraint firstAttribute="trailing"
relation="greaterThanOrEqual" secondItem="32" secondAttribute="trailing"
constant="10" id="9Th-OM-yqC"/>
<constraint firstItem="7" firstAttribute="baseline"
secondItem="12" secondAttribute="baseline" id="BPQ-vA-Ds7"/>
- <constraint firstItem="8" firstAttribute="top"
secondItem="9" secondAttribute="bottom" constant="8" symbolic="YES"
id="BbS-TQ-h2J"/>
<constraint firstItem="52" firstAttribute="trailing"
secondItem="13" secondAttribute="trailing" id="CCS-IK-Ypy"/>
<constraint firstItem="13" firstAttribute="leading"
secondItem="17" secondAttribute="trailing" constant="8" symbolic="YES"
id="ED9-G6-wE7"/>
<constraint firstItem="18" firstAttribute="centerY"
secondItem="52" secondAttribute="centerY" id="Eyy-ee-l2G"/>
- <constraint firstItem="16" firstAttribute="trailing"
secondItem="15" secondAttribute="trailing" id="FPx-Kv-FgU"/>
<constraint firstItem="69" firstAttribute="leading"
secondItem="6" secondAttribute="leading" constant="10" id="FYg-4j-4gG"/>
<constraint firstItem="16" firstAttribute="centerY"
secondItem="8" secondAttribute="centerY" id="G2J-J6-Fk4"/>
- <constraint firstItem="10" firstAttribute="trailing"
secondItem="9" secondAttribute="trailing" id="G9h-Qy-aDd"/>
- <constraint firstItem="9" firstAttribute="leading"
secondItem="8" secondAttribute="leading" id="HYU-X6-w7b"/>
<constraint firstItem="17" firstAttribute="leading"
relation="greaterThanOrEqual" secondItem="6" secondAttribute="leading"
constant="10" id="IQz-ar-UAf"/>
<constraint firstItem="32" firstAttribute="leading"
secondItem="31" secondAttribute="leading" id="KpH-gn-YyD"/>
<constraint firstItem="8" firstAttribute="leading"
secondItem="13" secondAttribute="leading" id="LbB-IF-i5w"/>
- <constraint firstItem="15" firstAttribute="trailing"
secondItem="7" secondAttribute="trailing" id="R83-bI-kbf"/>
- <constraint firstItem="9" firstAttribute="leading"
secondItem="15" secondAttribute="trailing" constant="8" symbolic="YES"
id="SSb-m9-KoM"/>
+ <constraint firstItem="10" firstAttribute="trailing"
secondItem="8" secondAttribute="trailing" id="MhG-vX-QIw"/>
<constraint firstItem="16" firstAttribute="leading"
secondItem="6" secondAttribute="leading" priority="750" constant="10"
id="SYu-Fq-XqK"/>
- <constraint firstItem="15" firstAttribute="leading"
relation="greaterThanOrEqual" secondItem="6" secondAttribute="leading"
constant="10" id="Shz-vc-zyn"/>
<constraint firstItem="52" firstAttribute="top"
secondItem="13" secondAttribute="bottom" constant="8" symbolic="YES"
id="UXF-C3-4gq"/>
<constraint firstItem="31" firstAttribute="leading"
secondItem="6" secondAttribute="leading" constant="10" id="VPe-Mg-iRw"/>
<constraint firstAttribute="trailing"
relation="greaterThanOrEqual" secondItem="31" secondAttribute="trailing"
constant="10" id="Vzd-3V-bVy"/>
- <constraint firstItem="12" firstAttribute="leading"
secondItem="9" secondAttribute="leading" id="ZWa-Um-RGn"/>
- <constraint firstItem="9" firstAttribute="top"
secondItem="10" secondAttribute="bottom" constant="8" symbolic="YES"
id="ZWr-ws-VCe"/>
<constraint firstItem="34" firstAttribute="leading"
secondItem="6" secondAttribute="leading" constant="10" id="ZfN-8B-JSE"/>
<constraint firstItem="7" firstAttribute="leading"
relation="greaterThanOrEqual" secondItem="6" secondAttribute="leading"
constant="10" id="Zuq-JK-P7p"/>
<constraint firstItem="52" firstAttribute="leading"
secondItem="18" secondAttribute="trailing" constant="8" symbolic="YES"
id="a6P-VC-ZKy"/>
<constraint firstItem="13" firstAttribute="leading"
secondItem="52" secondAttribute="leading" id="bLI-nZ-aww"/>
<constraint firstAttribute="bottom" secondItem="52"
secondAttribute="bottom" constant="10" id="dCY-XG-ufG"/>
+ <constraint firstItem="8" firstAttribute="leading"
secondItem="12" secondAttribute="leading" id="dNW-gV-HFX"/>
<constraint firstItem="17" firstAttribute="centerY"
secondItem="13" secondAttribute="centerY" id="erO-gR-cUU"/>
<constraint firstAttribute="trailing" secondItem="69"
secondAttribute="trailing" constant="10" id="gem-FH-csW"/>
<constraint firstItem="34" firstAttribute="top"
secondItem="8" secondAttribute="bottom" constant="8" symbolic="YES"
id="gpf-IM-on0"/>
@@ -248,7 +211,7 @@
<constraint firstItem="13" firstAttribute="top"
secondItem="32" secondAttribute="bottom" constant="8" symbolic="YES"
id="htL-gm-Vrv"/>
<constraint firstItem="8" firstAttribute="leading"
secondItem="16" secondAttribute="trailing" constant="8" symbolic="YES"
id="j4A-vm-ySv"/>
<constraint firstItem="17" firstAttribute="trailing"
secondItem="16" secondAttribute="trailing" id="l7a-nN-TRn"/>
- <constraint firstItem="15" firstAttribute="centerY"
secondItem="9" secondAttribute="centerY" id="n6X-ZU-u4Q"/>
+ <constraint firstItem="8" firstAttribute="top"
secondItem="10" secondAttribute="bottom" constant="8" symbolic="YES"
id="mrp-dl-hFK"/>
<constraint firstItem="7" firstAttribute="baseline"
secondItem="10" secondAttribute="baseline" id="oTg-NM-GYC"/>
<constraint firstItem="31" firstAttribute="top"
secondItem="69" secondAttribute="bottom" constant="8" symbolic="YES"
id="por-iO-msq"/>
<constraint firstItem="13" firstAttribute="trailing"
secondItem="8" secondAttribute="trailing" id="qGL-bi-Z4C"/>
Modified: trunk/SKLineInspector.h
===================================================================
--- trunk/SKLineInspector.h 2023-03-05 22:20:53 UTC (rev 13343)
+++ trunk/SKLineInspector.h 2023-03-06 15:24:08 UTC (rev 13344)
@@ -53,7 +53,6 @@
@class SKLineWell;
@interface SKLineInspector : NSWindowController {
- NSSegmentedControl *styleButton;
NSSegmentedControl *startLineStyleButton;
NSSegmentedControl *endLineStyleButton;
SKLineWell *lineWell;
@@ -65,7 +64,7 @@
SKLineChangeAction currentLineChangeAction;
}
-@property (nonatomic, retain) IBOutlet NSSegmentedControl *styleButton,
*startLineStyleButton, *endLineStyleButton;
+@property (nonatomic, retain) IBOutlet NSSegmentedControl
*startLineStyleButton, *endLineStyleButton;
@property (nonatomic, retain) IBOutlet SKLineWell *lineWell;
@property (nonatomic) CGFloat lineWidth;
@property (nonatomic) PDFBorderStyle style;
Modified: trunk/SKLineInspector.m
===================================================================
--- trunk/SKLineInspector.m 2023-03-05 22:20:53 UTC (rev 13343)
+++ trunk/SKLineInspector.m 2023-03-06 15:24:08 UTC (rev 13344)
@@ -66,7 +66,7 @@
@implementation SKLineInspector
-@synthesize styleButton, startLineStyleButton, endLineStyleButton, lineWell,
lineWidth, style, dashPattern, startLineStyle, endLineStyle,
currentLineChangeAction;
+@synthesize startLineStyleButton, endLineStyleButton, lineWell, lineWidth,
style, dashPattern, startLineStyle, endLineStyle, currentLineChangeAction;
static SKLineInspector *sharedLineInspector = nil;
@@ -96,7 +96,6 @@
- (void)dealloc {
SKDESTROY(dashPattern);
- SKDESTROY(styleButton);
SKDESTROY(startLineStyleButton);
SKDESTROY(endLineStyleButton);
SKDESTROY(lineWell);
@@ -111,12 +110,6 @@
[lineWell bind:SKLineWellStartLineStyleKey toObject:self
withKeyPath:STARTLINESTYLE_KEY options:nil];
[lineWell bind:SKLineWellEndLineStyleKey toObject:self
withKeyPath:ENDLINESTYLE_KEY options:nil];
- [styleButton setHelp:NSLocalizedString(@"Solid line style", @"Tool tip
message") forSegment:kPDFBorderStyleSolid];
- [styleButton setHelp:NSLocalizedString(@"Dashed line style", @"Tool tip
message") forSegment:kPDFBorderStyleDashed];
- [styleButton setHelp:NSLocalizedString(@"Beveled line style", @"Tool tip
message") forSegment:kPDFBorderStyleBeveled];
- [styleButton setHelp:NSLocalizedString(@"Inset line style", @"Tool tip
message") forSegment:kPDFBorderStyleInset];
- [styleButton setHelp:NSLocalizedString(@"Underline line style", @"Tool tip
message") forSegment:kPDFBorderStyleUnderline];
-
[startLineStyleButton setHelp:NSLocalizedString(@"No start line style",
@"Tool tip message") forSegment:kPDFLineStyleNone];
[startLineStyleButton setHelp:NSLocalizedString(@"Square start line
style", @"Tool tip message") forSegment:kPDFLineStyleSquare];
[startLineStyleButton setHelp:NSLocalizedString(@"Circle start line
style", @"Tool tip message") forSegment:kPDFLineStyleCircle];
@@ -133,97 +126,8 @@
[self setWindowFrameAutosaveName:SKLineInspectorFrameAutosaveName];
- NSSize size = NSMakeSize(29.0, 12.0);
+ NSSize size = NSMakeSize(24.0, 12.0);
- MAKE_IMAGE(styleButton, kPDFBorderStyleSolid, size,
- NSBezierPath *path = [NSBezierPath bezierPathWithRect:NSMakeRect(6.0,
3.0, 17.0, 6.0)];
- [path setLineWidth:2.0];
- [[NSColor blackColor] setStroke];
- [path stroke];
- );
-
- MAKE_IMAGE(styleButton, kPDFBorderStyleDashed, size,
- NSBezierPath *path = [NSBezierPath bezierPath];
- [path moveToPoint:NSMakePoint(6.0, 5.0)];
- [path lineToPoint:NSMakePoint(6.0, 3.0)];
- [path lineToPoint:NSMakePoint(9.0, 3.0)];
- [path moveToPoint:NSMakePoint(12.0, 3.0)];
- [path lineToPoint:NSMakePoint(17.0, 3.0)];
- [path moveToPoint:NSMakePoint(20.0, 3.0)];
- [path lineToPoint:NSMakePoint(23.0, 3.0)];
- [path lineToPoint:NSMakePoint(23.0, 5.0)];
- [path moveToPoint:NSMakePoint(23.0, 7.0)];
- [path lineToPoint:NSMakePoint(23.0, 9.0)];
- [path lineToPoint:NSMakePoint(20.0, 9.0)];
- [path moveToPoint:NSMakePoint(17.0, 9.0)];
- [path lineToPoint:NSMakePoint(12.0, 9.0)];
- [path moveToPoint:NSMakePoint(9.0, 9.0)];
- [path lineToPoint:NSMakePoint(6.0, 9.0)];
- [path lineToPoint:NSMakePoint(6.0, 7.0)];
- [path setLineWidth:2.0];
- [[NSColor blackColor] setStroke];
- [path stroke];
- );
-
- MAKE_IMAGE(styleButton, kPDFBorderStyleBeveled, size,
- NSBezierPath *path = [NSBezierPath bezierPathWithRect:NSMakeRect(6.0,
3.0, 17.0, 6.0)];
- [path setLineWidth:2.0];
- [[NSColor colorWithGenericGamma22White:0.0 alpha:0.25] setStroke];
- [path stroke];
- path = [NSBezierPath bezierPath];
- [path moveToPoint:NSMakePoint(7.0, 3.0)];
- [path lineToPoint:NSMakePoint(23.0, 3.0)];
- [path lineToPoint:NSMakePoint(23.0, 8.0)];
- [path setLineWidth:2.0];
- [[NSColor colorWithGenericGamma22White:0.0 alpha:0.35] set];
- [path stroke];
- path = [NSBezierPath bezierPath];
- [path moveToPoint:NSMakePoint(5.0, 2.0)];
- [path lineToPoint:NSMakePoint(7.0, 4.0)];
- [path lineToPoint:NSMakePoint(7.0, 2.0)];
- [path closePath];
- [path moveToPoint:NSMakePoint(24.0, 10.0)];
- [path lineToPoint:NSMakePoint(22.0, 8.0)];
- [path lineToPoint:NSMakePoint(24.0, 8.0)];
- [path closePath];
- [path fill];
- );
-
- MAKE_IMAGE(styleButton, kPDFBorderStyleInset, size,
- NSBezierPath *path = [NSBezierPath bezierPathWithRect:NSMakeRect(6.0,
3.0, 17.0, 6.0)];
- [path setLineWidth:2.0];
- [[NSColor colorWithGenericGamma22White:0.0 alpha:0.25] setStroke];
- [path stroke];
- path = [NSBezierPath bezierPath];
- [path moveToPoint:NSMakePoint(6.0, 4.0)];
- [path lineToPoint:NSMakePoint(6.0, 9.0)];
- [path lineToPoint:NSMakePoint(22.0, 9.0)];
- [path setLineWidth:2.0];
- [[NSColor colorWithGenericGamma22White:0.0 alpha:0.35] set];
- [path stroke];
- path = [NSBezierPath bezierPath];
- [path moveToPoint:NSMakePoint(5.0, 2.0)];
- [path lineToPoint:NSMakePoint(7.0, 4.0)];
- [path lineToPoint:NSMakePoint(5.0, 4.0)];
- [path closePath];
- [path moveToPoint:NSMakePoint(24.0, 10.0)];
- [path lineToPoint:NSMakePoint(22.0, 8.0)];
- [path lineToPoint:NSMakePoint(22.0, 10.0)];
- [path closePath];
- [path fill];
- );
-
- MAKE_IMAGE(styleButton, kPDFBorderStyleUnderline, size,
- NSBezierPath *path = [NSBezierPath bezierPath];
- [path moveToPoint:NSMakePoint(6.0, 3.0)];
- [path lineToPoint:NSMakePoint(23.0, 3.0)];
- [path setLineWidth:2.0];
- [[NSColor colorWithGenericGamma22White:0.0 alpha:0.5] setStroke];
- [path stroke];
- );
-
- size = NSMakeSize(24.0, 12.0);
-
MAKE_IMAGE(startLineStyleButton, kPDFLineStyleNone, size,
NSBezierPath *path = [NSBezierPath bezierPath];
[path moveToPoint:NSMakePoint(20.0, 6.0)];
@@ -398,6 +302,7 @@
[dashPattern release];
dashPattern = [pattern copy];
[self notifyChangeAction:SKLineChangeActionDashPattern];
+ [self setStyle:[dashPattern count] > 0 ? kPDFBorderStyleDashed :
kPDFBorderStyleSolid];
}
}
Modified: trunk/de.lproj/LineInspector.strings
===================================================================
(Binary files differ)
Modified: trunk/de.lproj/Localizable.strings
===================================================================
(Binary files differ)
Modified: trunk/en.lproj/LineInspector.strings
===================================================================
(Binary files differ)
Modified: trunk/en.lproj/Localizable.strings
===================================================================
(Binary files differ)
Modified: trunk/es.lproj/LineInspector.strings
===================================================================
(Binary files differ)
Modified: trunk/es.lproj/Localizable.strings
===================================================================
(Binary files differ)
Modified: trunk/fr.lproj/LineInspector.strings
===================================================================
(Binary files differ)
Modified: trunk/fr.lproj/Localizable.strings
===================================================================
(Binary files differ)
Modified: trunk/it.lproj/LineInspector.strings
===================================================================
(Binary files differ)
Modified: trunk/it.lproj/Localizable.strings
===================================================================
(Binary files differ)
Modified: trunk/ja.lproj/LineInspector.strings
===================================================================
(Binary files differ)
Modified: trunk/ja.lproj/Localizable.strings
===================================================================
(Binary files differ)
Modified: trunk/nl.lproj/LineInspector.strings
===================================================================
(Binary files differ)
Modified: trunk/nl.lproj/Localizable.strings
===================================================================
(Binary files differ)
Modified: trunk/pl.lproj/LineInspector.strings
===================================================================
(Binary files differ)
Modified: trunk/pl.lproj/Localizable.strings
===================================================================
(Binary files differ)
Modified: trunk/ru.lproj/LineInspector.strings
===================================================================
(Binary files differ)
Modified: trunk/ru.lproj/Localizable.strings
===================================================================
(Binary files differ)
Modified: trunk/zh_CN.lproj/LineInspector.strings
===================================================================
(Binary files differ)
Modified: trunk/zh_CN.lproj/Localizable.strings
===================================================================
(Binary files differ)
Modified: trunk/zh_TW.lproj/LineInspector.strings
===================================================================
(Binary files differ)
Modified: trunk/zh_TW.lproj/Localizable.strings
===================================================================
(Binary files differ)
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit