mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-25 09:35:36 +00:00
Deploying to gh-pages from @ cappuccino/cappuccino@2aeed8c80d 🚀
This commit is contained in:
1 parent
7d59638d0b
commit
e01a9839eb
7 files changed
+572
-168
No files matched your search
@@ -26664,7 +26664,7 @@ var meta_class = the_class.isa;class_addMethods(the_class, [new objj_method(sel_
|
||||
|
||||
,["void","float","float"])]);
|
||||
}
|
||||
p;14;CPScrollView.jt;97821;@STATIC;1.0;I;33;Foundation/CPNotificationCenter.ji;7;CPBox.ji;12;CPClipView.ji;12;CPScroller.ji;8;CPView.ji;13;CPRulerView.ji;17;CPCompatibility.jt;97666;objj_executeFile("Foundation/CPNotificationCenter.j", NO);objj_executeFile("CPBox.j", YES);objj_executeFile("CPClipView.j", YES);objj_executeFile("CPScroller.j", YES);objj_executeFile("CPView.j", YES);objj_executeFile("CPRulerView.j", YES);objj_executeFile("CPCompatibility.j", YES);{var the_protocol = objj_allocateProtocol("CPScrollViewDelegate");
|
||||
p;14;CPScrollView.jt;103929;@STATIC;1.0;I;33;Foundation/CPNotificationCenter.ji;7;CPBox.ji;12;CPClipView.ji;12;CPScroller.ji;8;CPView.ji;13;CPRulerView.ji;17;CPCompatibility.jt;103773;objj_executeFile("Foundation/CPNotificationCenter.j", NO);objj_executeFile("CPBox.j", YES);objj_executeFile("CPClipView.j", YES);objj_executeFile("CPScroller.j", YES);objj_executeFile("CPView.j", YES);objj_executeFile("CPRulerView.j", YES);objj_executeFile("CPCompatibility.j", YES);{var the_protocol = objj_allocateProtocol("CPScrollViewDelegate");
|
||||
var aProtocol = objj_getProtocol("CPObject");
|
||||
if (!aProtocol) throw new SyntaxError("*** Could not find definition for protocol \"CPScrollViewDelegate\"");
|
||||
protocol_addProtocol(the_protocol, aProtocol);
|
||||
@@ -26699,9 +26699,11 @@ var CPScrollViewWillStartLiveScrollNotification = "CPScrollViewWillStartLiveScro
|
||||
CPScrollViewDidEndLiveScrollNotification = "CPScrollViewDidEndLiveScrollNotification";
|
||||
var CPScrollerStyleGlobal = CPScrollerStyleOverlay,
|
||||
CPScrollerStyleGlobalChangeNotification = "CPScrollerStyleGlobalChangeNotification";
|
||||
var CPScrollViewDefaultMinMagnification = 0.25,
|
||||
CPScrollViewDefaultMaxMagnification = 4.0;
|
||||
|
||||
{var the_class = objj_allocateClassPair(CPView, "CPScrollView"),
|
||||
meta_class = the_class.isa;class_addIvars(the_class, [new objj_ivar("_contentView", "CPClipView"), new objj_ivar("_headerClipView", "CPClipView"), new objj_ivar("_cornerView", "CPView"), new objj_ivar("_bottomCornerView", "CPView"), new objj_ivar("_delegate", "id"), new objj_ivar("_scrollTimer", "CPTimer"), new objj_ivar("_hasVerticalScroller", "BOOL"), new objj_ivar("_hasHorizontalScroller", "BOOL"), new objj_ivar("_autohidesScrollers", "BOOL"), new objj_ivar("_verticalScroller", "CPScroller"), new objj_ivar("_horizontalScroller", "CPScroller"), new objj_ivar("_recursionCount", "CPInteger"), new objj_ivar("_implementedDelegateMethods", "CPInteger"), new objj_ivar("_verticalLineScroll", "float"), new objj_ivar("_verticalPageScroll", "float"), new objj_ivar("_horizontalLineScroll", "float"), new objj_ivar("_horizontalPageScroll", "float"), new objj_ivar("_borderType", "CPBorderType"), new objj_ivar("_timerScrollersHide", "CPTimer"), new objj_ivar("_scrollerStyle", "int"), new objj_ivar("_scrollerKnobStyle", "int"), new objj_ivar("_hasVerticalRuler", "BOOL"), new objj_ivar("_hasHorizontalRuler", "BOOL"), new objj_ivar("_rulersVisible", "BOOL"), new objj_ivar("_verticalRuler", "CPRulerView"), new objj_ivar("_horizontalRuler", "CPRulerView")]);objj_registerClassPair(the_class);
|
||||
meta_class = the_class.isa;class_addIvars(the_class, [new objj_ivar("_contentView", "CPClipView"), new objj_ivar("_headerClipView", "CPClipView"), new objj_ivar("_cornerView", "CPView"), new objj_ivar("_bottomCornerView", "CPView"), new objj_ivar("_delegate", "id"), new objj_ivar("_scrollTimer", "CPTimer"), new objj_ivar("_hasVerticalScroller", "BOOL"), new objj_ivar("_hasHorizontalScroller", "BOOL"), new objj_ivar("_autohidesScrollers", "BOOL"), new objj_ivar("_verticalScroller", "CPScroller"), new objj_ivar("_horizontalScroller", "CPScroller"), new objj_ivar("_recursionCount", "CPInteger"), new objj_ivar("_implementedDelegateMethods", "CPInteger"), new objj_ivar("_verticalLineScroll", "float"), new objj_ivar("_verticalPageScroll", "float"), new objj_ivar("_horizontalLineScroll", "float"), new objj_ivar("_horizontalPageScroll", "float"), new objj_ivar("_borderType", "CPBorderType"), new objj_ivar("_timerScrollersHide", "CPTimer"), new objj_ivar("_scrollerStyle", "int"), new objj_ivar("_scrollerKnobStyle", "int"), new objj_ivar("_hasVerticalRuler", "BOOL"), new objj_ivar("_hasHorizontalRuler", "BOOL"), new objj_ivar("_rulersVisible", "BOOL"), new objj_ivar("_verticalRuler", "CPRulerView"), new objj_ivar("_horizontalRuler", "CPRulerView"), new objj_ivar("_allowsMagnification", "BOOL"), new objj_ivar("_minMagnification", "float"), new objj_ivar("_maxMagnification", "float")]);objj_registerClassPair(the_class);
|
||||
class_addMethods(the_class, [new objj_method(sel_getUid("initWithFrame:"), function $CPScrollView__initWithFrame_(self, _cmd, aFrame)
|
||||
{
|
||||
self = (objj_getClass("CPScrollView").super_class.method_dtable["initWithFrame:"] || _objj_forward)(self, "initWithFrame:", aFrame);
|
||||
@@ -26725,6 +26727,9 @@ class_addMethods(the_class, [new objj_method(sel_getUid("initWithFrame:"), funct
|
||||
self._hasVerticalRuler = NO;
|
||||
self._hasHorizontalRuler = NO;
|
||||
self._rulersVisible = NO;
|
||||
self._allowsMagnification = NO;
|
||||
self._minMagnification = CPScrollViewDefaultMinMagnification;
|
||||
self._maxMagnification = CPScrollViewDefaultMaxMagnification;
|
||||
self._delegate = nil;
|
||||
self._scrollTimer = nil;
|
||||
self._implementedDelegateMethods = 0;
|
||||
@@ -27005,7 +27010,68 @@ class_addMethods(the_class, [new objj_method(sel_getUid("initWithFrame:"), funct
|
||||
self._verticalPageScroll = aPageScroll;
|
||||
}
|
||||
|
||||
,["void","float"]), new objj_method(sel_getUid("hasHorizontalRuler"), function $CPScrollView__hasHorizontalRuler(self, _cmd)
|
||||
,["void","float"]), new objj_method(sel_getUid("allowsMagnification"), function $CPScrollView__allowsMagnification(self, _cmd)
|
||||
{
|
||||
return self._allowsMagnification;
|
||||
}
|
||||
|
||||
,["BOOL"]), new objj_method(sel_getUid("setAllowsMagnification:"), function $CPScrollView__setAllowsMagnification_(self, _cmd, shouldAllowMagnification)
|
||||
{
|
||||
self._allowsMagnification = !!shouldAllowMagnification;
|
||||
}
|
||||
|
||||
,["void","BOOL"]), new objj_method(sel_getUid("minMagnification"), function $CPScrollView__minMagnification(self, _cmd)
|
||||
{
|
||||
return self._minMagnification;
|
||||
}
|
||||
|
||||
,["float"]), new objj_method(sel_getUid("setMinMagnification:"), function $CPScrollView__setMinMagnification_(self, _cmd, aMagnification)
|
||||
{
|
||||
self._minMagnification = aMagnification;
|
||||
}
|
||||
|
||||
,["void","float"]), new objj_method(sel_getUid("maxMagnification"), function $CPScrollView__maxMagnification(self, _cmd)
|
||||
{
|
||||
return self._maxMagnification;
|
||||
}
|
||||
|
||||
,["float"]), new objj_method(sel_getUid("setMaxMagnification:"), function $CPScrollView__setMaxMagnification_(self, _cmd, aMagnification)
|
||||
{
|
||||
self._maxMagnification = aMagnification;
|
||||
}
|
||||
|
||||
,["void","float"]), new objj_method(sel_getUid("magnification"), function $CPScrollView__magnification(self, _cmd)
|
||||
{
|
||||
var boundsWidth = CGRectGetWidth(((___r1 = self._contentView), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["bounds"] || _objj_forward)(___r1, "bounds")));
|
||||
return boundsWidth ? CGRectGetWidth(((___r1 = self._contentView), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["frame"] || _objj_forward)(___r1, "frame"))) / boundsWidth : 1.0;
|
||||
var ___r1;
|
||||
}
|
||||
|
||||
,["float"]), new objj_method(sel_getUid("setMagnification:"), function $CPScrollView__setMagnification_(self, _cmd, aMagnification)
|
||||
{
|
||||
var visibleRect = ((___r1 = self._contentView), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["bounds"] || _objj_forward)(___r1, "bounds"));
|
||||
(self.isa.method_msgSend["setMagnification:centeredAtPoint:"] || _objj_forward)(self, "setMagnification:centeredAtPoint:", aMagnification, CGPointMake(CGRectGetMidX(visibleRect), CGRectGetMidY(visibleRect)));
|
||||
var ___r1;
|
||||
}
|
||||
|
||||
,["void","float"]), new objj_method(sel_getUid("setMagnification:centeredAtPoint:"), function $CPScrollView__setMagnification_centeredAtPoint_(self, _cmd, aMagnification, aPoint)
|
||||
{
|
||||
var magnification = MIN(MAX(aMagnification, self._minMagnification), self._maxMagnification),
|
||||
frameSize = ((___r1 = self._contentView), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["frameSize"] || _objj_forward)(___r1, "frameSize"));
|
||||
if (!(magnification > 0.0) || !frameSize.width || !frameSize.height)
|
||||
return;
|
||||
var boundsSize = CGSizeMake(frameSize.width / magnification, frameSize.height / magnification),
|
||||
documentView = (self.isa.method_msgSend["documentView"] || _objj_forward)(self, "documentView");
|
||||
((___r1 = self._contentView), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["setBoundsSize:"] || _objj_forward)(___r1, "setBoundsSize:", boundsSize));
|
||||
((___r1 = self._contentView), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["setNeedsDisplay:"] || _objj_forward)(___r1, "setNeedsDisplay:", YES));
|
||||
if ((documentView == null ? documentView : (documentView.isa.method_msgSend["autoresizingMask"] || _objj_forward)(documentView, "autoresizingMask")) & CPViewWidthSizable)
|
||||
(documentView == null ? documentView : (documentView.isa.method_msgSend["setFrameSize:"] || _objj_forward)(documentView, "setFrameSize:", CGSizeMake(boundsSize.width, (documentView == null ? documentView : (documentView.isa.method_msgSend["frameSize"] || _objj_forward)(documentView, "frameSize")).height)));
|
||||
((___r1 = self._contentView), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["scrollToPoint:"] || _objj_forward)(___r1, "scrollToPoint:", CGPointMake(aPoint.x - boundsSize.width / 2.0, aPoint.y - boundsSize.height / 2.0)));
|
||||
(self.isa.method_msgSend["reflectScrolledClipView:"] || _objj_forward)(self, "reflectScrolledClipView:", self._contentView);
|
||||
var ___r1;
|
||||
}
|
||||
|
||||
,["void","float","CGPoint"]), new objj_method(sel_getUid("hasHorizontalRuler"), function $CPScrollView__hasHorizontalRuler(self, _cmd)
|
||||
{
|
||||
return self._hasHorizontalRuler;
|
||||
}
|
||||
@@ -27875,7 +27941,10 @@ var CPScrollViewContentViewKey = "CPScrollViewContentView",
|
||||
CPScrollViewHasHRulerKey = "CPScrollViewHasHRuler",
|
||||
CPScrollViewRulersVisibleKey = "CPScrollViewRulersVisible",
|
||||
CPScrollViewVRulerKey = "CPScrollViewVRuler",
|
||||
CPScrollViewHRulerKey = "CPScrollViewHRuler";
|
||||
CPScrollViewHRulerKey = "CPScrollViewHRuler",
|
||||
CPScrollViewAllowsMagnificationKey = "CPScrollViewAllowsMagnification",
|
||||
CPScrollViewMinMagnificationKey = "CPScrollViewMinMagnification",
|
||||
CPScrollViewMaxMagnificationKey = "CPScrollViewMaxMagnification";
|
||||
{
|
||||
var the_class = objj_getClass("CPScrollView")
|
||||
if(!the_class) throw new SyntaxError("*** Could not find definition for class \"CPScrollView\"");
|
||||
@@ -27902,6 +27971,13 @@ var meta_class = the_class.isa;class_addMethods(the_class, [new objj_method(sel_
|
||||
self._borderType = (aCoder == null ? aCoder : (aCoder.isa.method_msgSend["decodeIntForKey:"] || _objj_forward)(aCoder, "decodeIntForKey:", CPScrollViewBorderTypeKey));
|
||||
self._cornerView = (aCoder == null ? aCoder : (aCoder.isa.method_msgSend["decodeObjectForKey:"] || _objj_forward)(aCoder, "decodeObjectForKey:", CPScrollViewCornerViewKey));
|
||||
self._bottomCornerView = (aCoder == null ? aCoder : (aCoder.isa.method_msgSend["decodeObjectForKey:"] || _objj_forward)(aCoder, "decodeObjectForKey:", CPScrollViewBottomCornerViewKey));
|
||||
self._allowsMagnification = (aCoder == null ? aCoder : (aCoder.isa.method_msgSend["decodeBoolForKey:"] || _objj_forward)(aCoder, "decodeBoolForKey:", CPScrollViewAllowsMagnificationKey));
|
||||
self._minMagnification = (aCoder == null ? aCoder : (aCoder.isa.method_msgSend["decodeFloatForKey:"] || _objj_forward)(aCoder, "decodeFloatForKey:", CPScrollViewMinMagnificationKey));
|
||||
self._maxMagnification = (aCoder == null ? aCoder : (aCoder.isa.method_msgSend["decodeFloatForKey:"] || _objj_forward)(aCoder, "decodeFloatForKey:", CPScrollViewMaxMagnificationKey));
|
||||
if (!(self._minMagnification > 0.0))
|
||||
self._minMagnification = CPScrollViewDefaultMinMagnification;
|
||||
if (!(self._maxMagnification > 0.0))
|
||||
self._maxMagnification = CPScrollViewDefaultMaxMagnification;
|
||||
self._hasVerticalRuler = (aCoder == null ? aCoder : (aCoder.isa.method_msgSend["decodeBoolForKey:"] || _objj_forward)(aCoder, "decodeBoolForKey:", CPScrollViewHasVRulerKey));
|
||||
self._hasHorizontalRuler = (aCoder == null ? aCoder : (aCoder.isa.method_msgSend["decodeBoolForKey:"] || _objj_forward)(aCoder, "decodeBoolForKey:", CPScrollViewHasHRulerKey));
|
||||
self._rulersVisible = (aCoder == null ? aCoder : (aCoder.isa.method_msgSend["decodeBoolForKey:"] || _objj_forward)(aCoder, "decodeBoolForKey:", CPScrollViewRulersVisibleKey));
|
||||
@@ -27946,6 +28022,11 @@ var meta_class = the_class.isa;class_addMethods(the_class, [new objj_method(sel_
|
||||
(aCoder == null ? aCoder : (aCoder.isa.method_msgSend["encodeInt:forKey:"] || _objj_forward)(aCoder, "encodeInt:forKey:", self._borderType, CPScrollViewBorderTypeKey));
|
||||
(aCoder == null ? aCoder : (aCoder.isa.method_msgSend["encodeInt:forKey:"] || _objj_forward)(aCoder, "encodeInt:forKey:", self._scrollerStyle, CPScrollViewScrollerStyleKey));
|
||||
(aCoder == null ? aCoder : (aCoder.isa.method_msgSend["encodeInt:forKey:"] || _objj_forward)(aCoder, "encodeInt:forKey:", self._scrollerKnobStyle, CPScrollViewScrollerKnobStyleKey));
|
||||
(aCoder == null ? aCoder : (aCoder.isa.method_msgSend["encodeBool:forKey:"] || _objj_forward)(aCoder, "encodeBool:forKey:", self._allowsMagnification, CPScrollViewAllowsMagnificationKey));
|
||||
if (self._minMagnification > 0.0)
|
||||
(aCoder == null ? aCoder : (aCoder.isa.method_msgSend["encodeFloat:forKey:"] || _objj_forward)(aCoder, "encodeFloat:forKey:", self._minMagnification, CPScrollViewMinMagnificationKey));
|
||||
if (self._maxMagnification > 0.0)
|
||||
(aCoder == null ? aCoder : (aCoder.isa.method_msgSend["encodeFloat:forKey:"] || _objj_forward)(aCoder, "encodeFloat:forKey:", self._maxMagnification, CPScrollViewMaxMagnificationKey));
|
||||
(aCoder == null ? aCoder : (aCoder.isa.method_msgSend["encodeBool:forKey:"] || _objj_forward)(aCoder, "encodeBool:forKey:", self._hasVerticalRuler, CPScrollViewHasVRulerKey));
|
||||
(aCoder == null ? aCoder : (aCoder.isa.method_msgSend["encodeBool:forKey:"] || _objj_forward)(aCoder, "encodeBool:forKey:", self._hasHorizontalRuler, CPScrollViewHasHRulerKey));
|
||||
(aCoder == null ? aCoder : (aCoder.isa.method_msgSend["encodeBool:forKey:"] || _objj_forward)(aCoder, "encodeBool:forKey:", self._rulersVisible, CPScrollViewRulersVisibleKey));
|
||||
@@ -46666,7 +46747,7 @@ class_addMethods(the_class, [new objj_method(sel_getUid("initWithController:"),
|
||||
|
||||
,["BOOL"])]);
|
||||
}
|
||||
p;8;CPView.jt;175839;@STATIC;1.0;I;20;Foundation/CPArray.jI;26;Foundation/CPObjJRuntime.jI;18;Foundation/CPSet.ji;17;_CPObject+Theme.ji;19;CGAffineTransform.ji;20;CPDOMDisplayServer.ji;12;CGGeometry.ji;14;CPAppearance.ji;9;CPColor.ji;17;CPCompatibility.ji;19;CPGraphicsContext.ji;13;CPResponder.ji;9;CPTheme.ji;16;CPTrackingArea.ji;20;CPWindow_Constants.ji;18;_CPDisplayServer.jt;175473;objj_executeFile("Foundation/CPArray.j", NO);objj_executeFile("Foundation/CPObjJRuntime.j", NO);objj_executeFile("Foundation/CPSet.j", NO);objj_executeFile("_CPObject+Theme.j", YES);objj_executeFile("CGAffineTransform.j", YES);objj_executeFile("CPDOMDisplayServer.j", YES);objj_executeFile("CGGeometry.j", YES);objj_executeFile("CPAppearance.j", YES);objj_executeFile("CPColor.j", YES);objj_executeFile("CPCompatibility.j", YES);objj_executeFile("CPGraphicsContext.j", YES);objj_executeFile("CPResponder.j", YES);objj_executeFile("CPTheme.j", YES);objj_executeFile("CPTrackingArea.j", YES);objj_executeFile("CPWindow_Constants.j", YES);objj_executeFile("_CPDisplayServer.j", YES);{var the_typedef = objj_allocateTypeDef("_CPViewFullScreenModeState");
|
||||
p;8;CPView.jt;176198;@STATIC;1.0;I;20;Foundation/CPArray.jI;26;Foundation/CPObjJRuntime.jI;18;Foundation/CPSet.ji;17;_CPObject+Theme.ji;19;CGAffineTransform.ji;20;CPDOMDisplayServer.ji;12;CGGeometry.ji;14;CPAppearance.ji;9;CPColor.ji;17;CPCompatibility.ji;19;CPGraphicsContext.ji;13;CPResponder.ji;9;CPTheme.ji;16;CPTrackingArea.ji;20;CPWindow_Constants.ji;18;_CPDisplayServer.jt;175832;objj_executeFile("Foundation/CPArray.j", NO);objj_executeFile("Foundation/CPObjJRuntime.j", NO);objj_executeFile("Foundation/CPSet.j", NO);objj_executeFile("_CPObject+Theme.j", YES);objj_executeFile("CGAffineTransform.j", YES);objj_executeFile("CPDOMDisplayServer.j", YES);objj_executeFile("CGGeometry.j", YES);objj_executeFile("CPAppearance.j", YES);objj_executeFile("CPColor.j", YES);objj_executeFile("CPCompatibility.j", YES);objj_executeFile("CPGraphicsContext.j", YES);objj_executeFile("CPResponder.j", YES);objj_executeFile("CPTheme.j", YES);objj_executeFile("CPTrackingArea.j", YES);objj_executeFile("CPWindow_Constants.j", YES);objj_executeFile("_CPDisplayServer.j", YES);{var the_typedef = objj_allocateTypeDef("_CPViewFullScreenModeState");
|
||||
objj_registerTypeDef(the_typedef);
|
||||
}if (typeof appkit_tag_dom_elements !== "undefined" && appkit_tag_dom_elements)
|
||||
{
|
||||
@@ -48372,15 +48453,22 @@ class_addMethods(the_class, [new objj_method(sel_getUid("identifier"), function
|
||||
|
||||
,["CGSize"]), new objj_method(sel_getUid("_applyCSSScalingTranformations"), function $CPView___applyCSSScalingTranformations(self, _cmd)
|
||||
{
|
||||
if (CPDOMAvailable && self._isScaled)
|
||||
if (!CPDOMAvailable)
|
||||
return;
|
||||
var browserPropertyTransform = CPBrowserStyleProperty("transform");
|
||||
if (self._isScaled)
|
||||
{
|
||||
var scale = (self.isa.method_msgSend["scaleSize"] || _objj_forward)(self, "scaleSize"),
|
||||
browserPropertyTransform = CPBrowserStyleProperty("transform"),
|
||||
browserPropertyTransformOrigin = CPBrowserStyleProperty("transformOrigin");
|
||||
self._DOMElement.style[browserPropertyTransform] = 'scale(' + scale.width + ', ' + scale.height + ')';
|
||||
self._DOMElement.style[browserPropertyTransformOrigin] = '0 0';
|
||||
(self.isa.method_msgSend["_setDisplayServerSetStyleSize:"] || _objj_forward)(self, "_setDisplayServerSetStyleSize:", (self.isa.method_msgSend["frameSize"] || _objj_forward)(self, "frameSize"));
|
||||
}
|
||||
else if (self._DOMElement.style[browserPropertyTransform])
|
||||
{
|
||||
self._DOMElement.style[browserPropertyTransform] = '';
|
||||
(self.isa.method_msgSend["_setDisplayServerSetStyleSize:"] || _objj_forward)(self, "_setDisplayServerSetStyleSize:", (self.isa.method_msgSend["frameSize"] || _objj_forward)(self, "frameSize"));
|
||||
}
|
||||
}
|
||||
|
||||
,["void"]), new objj_method(sel_getUid("setNeedsDisplay:"), function $CPView__setNeedsDisplay_(self, _cmd, aFlag)
|
||||
|
||||
@@ -26664,7 +26664,7 @@ var meta_class = the_class.isa;class_addMethods(the_class, [new objj_method(sel_
|
||||
|
||||
,["void","float","float"])]);
|
||||
}
|
||||
p;14;CPScrollView.jt;97821;@STATIC;1.0;I;33;Foundation/CPNotificationCenter.ji;7;CPBox.ji;12;CPClipView.ji;12;CPScroller.ji;8;CPView.ji;13;CPRulerView.ji;17;CPCompatibility.jt;97666;objj_executeFile("Foundation/CPNotificationCenter.j", NO);objj_executeFile("CPBox.j", YES);objj_executeFile("CPClipView.j", YES);objj_executeFile("CPScroller.j", YES);objj_executeFile("CPView.j", YES);objj_executeFile("CPRulerView.j", YES);objj_executeFile("CPCompatibility.j", YES);{var the_protocol = objj_allocateProtocol("CPScrollViewDelegate");
|
||||
p;14;CPScrollView.jt;103929;@STATIC;1.0;I;33;Foundation/CPNotificationCenter.ji;7;CPBox.ji;12;CPClipView.ji;12;CPScroller.ji;8;CPView.ji;13;CPRulerView.ji;17;CPCompatibility.jt;103773;objj_executeFile("Foundation/CPNotificationCenter.j", NO);objj_executeFile("CPBox.j", YES);objj_executeFile("CPClipView.j", YES);objj_executeFile("CPScroller.j", YES);objj_executeFile("CPView.j", YES);objj_executeFile("CPRulerView.j", YES);objj_executeFile("CPCompatibility.j", YES);{var the_protocol = objj_allocateProtocol("CPScrollViewDelegate");
|
||||
var aProtocol = objj_getProtocol("CPObject");
|
||||
if (!aProtocol) throw new SyntaxError("*** Could not find definition for protocol \"CPScrollViewDelegate\"");
|
||||
protocol_addProtocol(the_protocol, aProtocol);
|
||||
@@ -26699,9 +26699,11 @@ var CPScrollViewWillStartLiveScrollNotification = "CPScrollViewWillStartLiveScro
|
||||
CPScrollViewDidEndLiveScrollNotification = "CPScrollViewDidEndLiveScrollNotification";
|
||||
var CPScrollerStyleGlobal = CPScrollerStyleOverlay,
|
||||
CPScrollerStyleGlobalChangeNotification = "CPScrollerStyleGlobalChangeNotification";
|
||||
var CPScrollViewDefaultMinMagnification = 0.25,
|
||||
CPScrollViewDefaultMaxMagnification = 4.0;
|
||||
|
||||
{var the_class = objj_allocateClassPair(CPView, "CPScrollView"),
|
||||
meta_class = the_class.isa;class_addIvars(the_class, [new objj_ivar("_contentView", "CPClipView"), new objj_ivar("_headerClipView", "CPClipView"), new objj_ivar("_cornerView", "CPView"), new objj_ivar("_bottomCornerView", "CPView"), new objj_ivar("_delegate", "id"), new objj_ivar("_scrollTimer", "CPTimer"), new objj_ivar("_hasVerticalScroller", "BOOL"), new objj_ivar("_hasHorizontalScroller", "BOOL"), new objj_ivar("_autohidesScrollers", "BOOL"), new objj_ivar("_verticalScroller", "CPScroller"), new objj_ivar("_horizontalScroller", "CPScroller"), new objj_ivar("_recursionCount", "CPInteger"), new objj_ivar("_implementedDelegateMethods", "CPInteger"), new objj_ivar("_verticalLineScroll", "float"), new objj_ivar("_verticalPageScroll", "float"), new objj_ivar("_horizontalLineScroll", "float"), new objj_ivar("_horizontalPageScroll", "float"), new objj_ivar("_borderType", "CPBorderType"), new objj_ivar("_timerScrollersHide", "CPTimer"), new objj_ivar("_scrollerStyle", "int"), new objj_ivar("_scrollerKnobStyle", "int"), new objj_ivar("_hasVerticalRuler", "BOOL"), new objj_ivar("_hasHorizontalRuler", "BOOL"), new objj_ivar("_rulersVisible", "BOOL"), new objj_ivar("_verticalRuler", "CPRulerView"), new objj_ivar("_horizontalRuler", "CPRulerView")]);objj_registerClassPair(the_class);
|
||||
meta_class = the_class.isa;class_addIvars(the_class, [new objj_ivar("_contentView", "CPClipView"), new objj_ivar("_headerClipView", "CPClipView"), new objj_ivar("_cornerView", "CPView"), new objj_ivar("_bottomCornerView", "CPView"), new objj_ivar("_delegate", "id"), new objj_ivar("_scrollTimer", "CPTimer"), new objj_ivar("_hasVerticalScroller", "BOOL"), new objj_ivar("_hasHorizontalScroller", "BOOL"), new objj_ivar("_autohidesScrollers", "BOOL"), new objj_ivar("_verticalScroller", "CPScroller"), new objj_ivar("_horizontalScroller", "CPScroller"), new objj_ivar("_recursionCount", "CPInteger"), new objj_ivar("_implementedDelegateMethods", "CPInteger"), new objj_ivar("_verticalLineScroll", "float"), new objj_ivar("_verticalPageScroll", "float"), new objj_ivar("_horizontalLineScroll", "float"), new objj_ivar("_horizontalPageScroll", "float"), new objj_ivar("_borderType", "CPBorderType"), new objj_ivar("_timerScrollersHide", "CPTimer"), new objj_ivar("_scrollerStyle", "int"), new objj_ivar("_scrollerKnobStyle", "int"), new objj_ivar("_hasVerticalRuler", "BOOL"), new objj_ivar("_hasHorizontalRuler", "BOOL"), new objj_ivar("_rulersVisible", "BOOL"), new objj_ivar("_verticalRuler", "CPRulerView"), new objj_ivar("_horizontalRuler", "CPRulerView"), new objj_ivar("_allowsMagnification", "BOOL"), new objj_ivar("_minMagnification", "float"), new objj_ivar("_maxMagnification", "float")]);objj_registerClassPair(the_class);
|
||||
class_addMethods(the_class, [new objj_method(sel_getUid("initWithFrame:"), function $CPScrollView__initWithFrame_(self, _cmd, aFrame)
|
||||
{
|
||||
self = (objj_getClass("CPScrollView").super_class.method_dtable["initWithFrame:"] || _objj_forward)(self, "initWithFrame:", aFrame);
|
||||
@@ -26725,6 +26727,9 @@ class_addMethods(the_class, [new objj_method(sel_getUid("initWithFrame:"), funct
|
||||
self._hasVerticalRuler = NO;
|
||||
self._hasHorizontalRuler = NO;
|
||||
self._rulersVisible = NO;
|
||||
self._allowsMagnification = NO;
|
||||
self._minMagnification = CPScrollViewDefaultMinMagnification;
|
||||
self._maxMagnification = CPScrollViewDefaultMaxMagnification;
|
||||
self._delegate = nil;
|
||||
self._scrollTimer = nil;
|
||||
self._implementedDelegateMethods = 0;
|
||||
@@ -27005,7 +27010,68 @@ class_addMethods(the_class, [new objj_method(sel_getUid("initWithFrame:"), funct
|
||||
self._verticalPageScroll = aPageScroll;
|
||||
}
|
||||
|
||||
,["void","float"]), new objj_method(sel_getUid("hasHorizontalRuler"), function $CPScrollView__hasHorizontalRuler(self, _cmd)
|
||||
,["void","float"]), new objj_method(sel_getUid("allowsMagnification"), function $CPScrollView__allowsMagnification(self, _cmd)
|
||||
{
|
||||
return self._allowsMagnification;
|
||||
}
|
||||
|
||||
,["BOOL"]), new objj_method(sel_getUid("setAllowsMagnification:"), function $CPScrollView__setAllowsMagnification_(self, _cmd, shouldAllowMagnification)
|
||||
{
|
||||
self._allowsMagnification = !!shouldAllowMagnification;
|
||||
}
|
||||
|
||||
,["void","BOOL"]), new objj_method(sel_getUid("minMagnification"), function $CPScrollView__minMagnification(self, _cmd)
|
||||
{
|
||||
return self._minMagnification;
|
||||
}
|
||||
|
||||
,["float"]), new objj_method(sel_getUid("setMinMagnification:"), function $CPScrollView__setMinMagnification_(self, _cmd, aMagnification)
|
||||
{
|
||||
self._minMagnification = aMagnification;
|
||||
}
|
||||
|
||||
,["void","float"]), new objj_method(sel_getUid("maxMagnification"), function $CPScrollView__maxMagnification(self, _cmd)
|
||||
{
|
||||
return self._maxMagnification;
|
||||
}
|
||||
|
||||
,["float"]), new objj_method(sel_getUid("setMaxMagnification:"), function $CPScrollView__setMaxMagnification_(self, _cmd, aMagnification)
|
||||
{
|
||||
self._maxMagnification = aMagnification;
|
||||
}
|
||||
|
||||
,["void","float"]), new objj_method(sel_getUid("magnification"), function $CPScrollView__magnification(self, _cmd)
|
||||
{
|
||||
var boundsWidth = CGRectGetWidth(((___r1 = self._contentView), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["bounds"] || _objj_forward)(___r1, "bounds")));
|
||||
return boundsWidth ? CGRectGetWidth(((___r1 = self._contentView), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["frame"] || _objj_forward)(___r1, "frame"))) / boundsWidth : 1.0;
|
||||
var ___r1;
|
||||
}
|
||||
|
||||
,["float"]), new objj_method(sel_getUid("setMagnification:"), function $CPScrollView__setMagnification_(self, _cmd, aMagnification)
|
||||
{
|
||||
var visibleRect = ((___r1 = self._contentView), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["bounds"] || _objj_forward)(___r1, "bounds"));
|
||||
(self.isa.method_msgSend["setMagnification:centeredAtPoint:"] || _objj_forward)(self, "setMagnification:centeredAtPoint:", aMagnification, CGPointMake(CGRectGetMidX(visibleRect), CGRectGetMidY(visibleRect)));
|
||||
var ___r1;
|
||||
}
|
||||
|
||||
,["void","float"]), new objj_method(sel_getUid("setMagnification:centeredAtPoint:"), function $CPScrollView__setMagnification_centeredAtPoint_(self, _cmd, aMagnification, aPoint)
|
||||
{
|
||||
var magnification = MIN(MAX(aMagnification, self._minMagnification), self._maxMagnification),
|
||||
frameSize = ((___r1 = self._contentView), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["frameSize"] || _objj_forward)(___r1, "frameSize"));
|
||||
if (!(magnification > 0.0) || !frameSize.width || !frameSize.height)
|
||||
return;
|
||||
var boundsSize = CGSizeMake(frameSize.width / magnification, frameSize.height / magnification),
|
||||
documentView = (self.isa.method_msgSend["documentView"] || _objj_forward)(self, "documentView");
|
||||
((___r1 = self._contentView), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["setBoundsSize:"] || _objj_forward)(___r1, "setBoundsSize:", boundsSize));
|
||||
((___r1 = self._contentView), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["setNeedsDisplay:"] || _objj_forward)(___r1, "setNeedsDisplay:", YES));
|
||||
if ((documentView == null ? documentView : (documentView.isa.method_msgSend["autoresizingMask"] || _objj_forward)(documentView, "autoresizingMask")) & CPViewWidthSizable)
|
||||
(documentView == null ? documentView : (documentView.isa.method_msgSend["setFrameSize:"] || _objj_forward)(documentView, "setFrameSize:", CGSizeMake(boundsSize.width, (documentView == null ? documentView : (documentView.isa.method_msgSend["frameSize"] || _objj_forward)(documentView, "frameSize")).height)));
|
||||
((___r1 = self._contentView), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["scrollToPoint:"] || _objj_forward)(___r1, "scrollToPoint:", CGPointMake(aPoint.x - boundsSize.width / 2.0, aPoint.y - boundsSize.height / 2.0)));
|
||||
(self.isa.method_msgSend["reflectScrolledClipView:"] || _objj_forward)(self, "reflectScrolledClipView:", self._contentView);
|
||||
var ___r1;
|
||||
}
|
||||
|
||||
,["void","float","CGPoint"]), new objj_method(sel_getUid("hasHorizontalRuler"), function $CPScrollView__hasHorizontalRuler(self, _cmd)
|
||||
{
|
||||
return self._hasHorizontalRuler;
|
||||
}
|
||||
@@ -27875,7 +27941,10 @@ var CPScrollViewContentViewKey = "CPScrollViewContentView",
|
||||
CPScrollViewHasHRulerKey = "CPScrollViewHasHRuler",
|
||||
CPScrollViewRulersVisibleKey = "CPScrollViewRulersVisible",
|
||||
CPScrollViewVRulerKey = "CPScrollViewVRuler",
|
||||
CPScrollViewHRulerKey = "CPScrollViewHRuler";
|
||||
CPScrollViewHRulerKey = "CPScrollViewHRuler",
|
||||
CPScrollViewAllowsMagnificationKey = "CPScrollViewAllowsMagnification",
|
||||
CPScrollViewMinMagnificationKey = "CPScrollViewMinMagnification",
|
||||
CPScrollViewMaxMagnificationKey = "CPScrollViewMaxMagnification";
|
||||
{
|
||||
var the_class = objj_getClass("CPScrollView")
|
||||
if(!the_class) throw new SyntaxError("*** Could not find definition for class \"CPScrollView\"");
|
||||
@@ -27902,6 +27971,13 @@ var meta_class = the_class.isa;class_addMethods(the_class, [new objj_method(sel_
|
||||
self._borderType = (aCoder == null ? aCoder : (aCoder.isa.method_msgSend["decodeIntForKey:"] || _objj_forward)(aCoder, "decodeIntForKey:", CPScrollViewBorderTypeKey));
|
||||
self._cornerView = (aCoder == null ? aCoder : (aCoder.isa.method_msgSend["decodeObjectForKey:"] || _objj_forward)(aCoder, "decodeObjectForKey:", CPScrollViewCornerViewKey));
|
||||
self._bottomCornerView = (aCoder == null ? aCoder : (aCoder.isa.method_msgSend["decodeObjectForKey:"] || _objj_forward)(aCoder, "decodeObjectForKey:", CPScrollViewBottomCornerViewKey));
|
||||
self._allowsMagnification = (aCoder == null ? aCoder : (aCoder.isa.method_msgSend["decodeBoolForKey:"] || _objj_forward)(aCoder, "decodeBoolForKey:", CPScrollViewAllowsMagnificationKey));
|
||||
self._minMagnification = (aCoder == null ? aCoder : (aCoder.isa.method_msgSend["decodeFloatForKey:"] || _objj_forward)(aCoder, "decodeFloatForKey:", CPScrollViewMinMagnificationKey));
|
||||
self._maxMagnification = (aCoder == null ? aCoder : (aCoder.isa.method_msgSend["decodeFloatForKey:"] || _objj_forward)(aCoder, "decodeFloatForKey:", CPScrollViewMaxMagnificationKey));
|
||||
if (!(self._minMagnification > 0.0))
|
||||
self._minMagnification = CPScrollViewDefaultMinMagnification;
|
||||
if (!(self._maxMagnification > 0.0))
|
||||
self._maxMagnification = CPScrollViewDefaultMaxMagnification;
|
||||
self._hasVerticalRuler = (aCoder == null ? aCoder : (aCoder.isa.method_msgSend["decodeBoolForKey:"] || _objj_forward)(aCoder, "decodeBoolForKey:", CPScrollViewHasVRulerKey));
|
||||
self._hasHorizontalRuler = (aCoder == null ? aCoder : (aCoder.isa.method_msgSend["decodeBoolForKey:"] || _objj_forward)(aCoder, "decodeBoolForKey:", CPScrollViewHasHRulerKey));
|
||||
self._rulersVisible = (aCoder == null ? aCoder : (aCoder.isa.method_msgSend["decodeBoolForKey:"] || _objj_forward)(aCoder, "decodeBoolForKey:", CPScrollViewRulersVisibleKey));
|
||||
@@ -27946,6 +28022,11 @@ var meta_class = the_class.isa;class_addMethods(the_class, [new objj_method(sel_
|
||||
(aCoder == null ? aCoder : (aCoder.isa.method_msgSend["encodeInt:forKey:"] || _objj_forward)(aCoder, "encodeInt:forKey:", self._borderType, CPScrollViewBorderTypeKey));
|
||||
(aCoder == null ? aCoder : (aCoder.isa.method_msgSend["encodeInt:forKey:"] || _objj_forward)(aCoder, "encodeInt:forKey:", self._scrollerStyle, CPScrollViewScrollerStyleKey));
|
||||
(aCoder == null ? aCoder : (aCoder.isa.method_msgSend["encodeInt:forKey:"] || _objj_forward)(aCoder, "encodeInt:forKey:", self._scrollerKnobStyle, CPScrollViewScrollerKnobStyleKey));
|
||||
(aCoder == null ? aCoder : (aCoder.isa.method_msgSend["encodeBool:forKey:"] || _objj_forward)(aCoder, "encodeBool:forKey:", self._allowsMagnification, CPScrollViewAllowsMagnificationKey));
|
||||
if (self._minMagnification > 0.0)
|
||||
(aCoder == null ? aCoder : (aCoder.isa.method_msgSend["encodeFloat:forKey:"] || _objj_forward)(aCoder, "encodeFloat:forKey:", self._minMagnification, CPScrollViewMinMagnificationKey));
|
||||
if (self._maxMagnification > 0.0)
|
||||
(aCoder == null ? aCoder : (aCoder.isa.method_msgSend["encodeFloat:forKey:"] || _objj_forward)(aCoder, "encodeFloat:forKey:", self._maxMagnification, CPScrollViewMaxMagnificationKey));
|
||||
(aCoder == null ? aCoder : (aCoder.isa.method_msgSend["encodeBool:forKey:"] || _objj_forward)(aCoder, "encodeBool:forKey:", self._hasVerticalRuler, CPScrollViewHasVRulerKey));
|
||||
(aCoder == null ? aCoder : (aCoder.isa.method_msgSend["encodeBool:forKey:"] || _objj_forward)(aCoder, "encodeBool:forKey:", self._hasHorizontalRuler, CPScrollViewHasHRulerKey));
|
||||
(aCoder == null ? aCoder : (aCoder.isa.method_msgSend["encodeBool:forKey:"] || _objj_forward)(aCoder, "encodeBool:forKey:", self._rulersVisible, CPScrollViewRulersVisibleKey));
|
||||
@@ -46666,7 +46747,7 @@ class_addMethods(the_class, [new objj_method(sel_getUid("initWithController:"),
|
||||
|
||||
,["BOOL"])]);
|
||||
}
|
||||
p;8;CPView.jt;175839;@STATIC;1.0;I;20;Foundation/CPArray.jI;26;Foundation/CPObjJRuntime.jI;18;Foundation/CPSet.ji;17;_CPObject+Theme.ji;19;CGAffineTransform.ji;20;CPDOMDisplayServer.ji;12;CGGeometry.ji;14;CPAppearance.ji;9;CPColor.ji;17;CPCompatibility.ji;19;CPGraphicsContext.ji;13;CPResponder.ji;9;CPTheme.ji;16;CPTrackingArea.ji;20;CPWindow_Constants.ji;18;_CPDisplayServer.jt;175473;objj_executeFile("Foundation/CPArray.j", NO);objj_executeFile("Foundation/CPObjJRuntime.j", NO);objj_executeFile("Foundation/CPSet.j", NO);objj_executeFile("_CPObject+Theme.j", YES);objj_executeFile("CGAffineTransform.j", YES);objj_executeFile("CPDOMDisplayServer.j", YES);objj_executeFile("CGGeometry.j", YES);objj_executeFile("CPAppearance.j", YES);objj_executeFile("CPColor.j", YES);objj_executeFile("CPCompatibility.j", YES);objj_executeFile("CPGraphicsContext.j", YES);objj_executeFile("CPResponder.j", YES);objj_executeFile("CPTheme.j", YES);objj_executeFile("CPTrackingArea.j", YES);objj_executeFile("CPWindow_Constants.j", YES);objj_executeFile("_CPDisplayServer.j", YES);{var the_typedef = objj_allocateTypeDef("_CPViewFullScreenModeState");
|
||||
p;8;CPView.jt;176198;@STATIC;1.0;I;20;Foundation/CPArray.jI;26;Foundation/CPObjJRuntime.jI;18;Foundation/CPSet.ji;17;_CPObject+Theme.ji;19;CGAffineTransform.ji;20;CPDOMDisplayServer.ji;12;CGGeometry.ji;14;CPAppearance.ji;9;CPColor.ji;17;CPCompatibility.ji;19;CPGraphicsContext.ji;13;CPResponder.ji;9;CPTheme.ji;16;CPTrackingArea.ji;20;CPWindow_Constants.ji;18;_CPDisplayServer.jt;175832;objj_executeFile("Foundation/CPArray.j", NO);objj_executeFile("Foundation/CPObjJRuntime.j", NO);objj_executeFile("Foundation/CPSet.j", NO);objj_executeFile("_CPObject+Theme.j", YES);objj_executeFile("CGAffineTransform.j", YES);objj_executeFile("CPDOMDisplayServer.j", YES);objj_executeFile("CGGeometry.j", YES);objj_executeFile("CPAppearance.j", YES);objj_executeFile("CPColor.j", YES);objj_executeFile("CPCompatibility.j", YES);objj_executeFile("CPGraphicsContext.j", YES);objj_executeFile("CPResponder.j", YES);objj_executeFile("CPTheme.j", YES);objj_executeFile("CPTrackingArea.j", YES);objj_executeFile("CPWindow_Constants.j", YES);objj_executeFile("_CPDisplayServer.j", YES);{var the_typedef = objj_allocateTypeDef("_CPViewFullScreenModeState");
|
||||
objj_registerTypeDef(the_typedef);
|
||||
}if (typeof appkit_tag_dom_elements !== "undefined" && appkit_tag_dom_elements)
|
||||
{
|
||||
@@ -48372,15 +48453,22 @@ class_addMethods(the_class, [new objj_method(sel_getUid("identifier"), function
|
||||
|
||||
,["CGSize"]), new objj_method(sel_getUid("_applyCSSScalingTranformations"), function $CPView___applyCSSScalingTranformations(self, _cmd)
|
||||
{
|
||||
if (CPDOMAvailable && self._isScaled)
|
||||
if (!CPDOMAvailable)
|
||||
return;
|
||||
var browserPropertyTransform = CPBrowserStyleProperty("transform");
|
||||
if (self._isScaled)
|
||||
{
|
||||
var scale = (self.isa.method_msgSend["scaleSize"] || _objj_forward)(self, "scaleSize"),
|
||||
browserPropertyTransform = CPBrowserStyleProperty("transform"),
|
||||
browserPropertyTransformOrigin = CPBrowserStyleProperty("transformOrigin");
|
||||
self._DOMElement.style[browserPropertyTransform] = 'scale(' + scale.width + ', ' + scale.height + ')';
|
||||
self._DOMElement.style[browserPropertyTransformOrigin] = '0 0';
|
||||
(self.isa.method_msgSend["_setDisplayServerSetStyleSize:"] || _objj_forward)(self, "_setDisplayServerSetStyleSize:", (self.isa.method_msgSend["frameSize"] || _objj_forward)(self, "frameSize"));
|
||||
}
|
||||
else if (self._DOMElement.style[browserPropertyTransform])
|
||||
{
|
||||
self._DOMElement.style[browserPropertyTransform] = '';
|
||||
(self.isa.method_msgSend["_setDisplayServerSetStyleSize:"] || _objj_forward)(self, "_setDisplayServerSetStyleSize:", (self.isa.method_msgSend["frameSize"] || _objj_forward)(self, "frameSize"));
|
||||
}
|
||||
}
|
||||
|
||||
,["void"]), new objj_method(sel_getUid("setNeedsDisplay:"), function $CPView__setNeedsDisplay_(self, _cmd, aFlag)
|
||||
|
||||
@@ -42,6 +42,15 @@ var DocumentWindowMinimumWidth = 360.0,
|
||||
DocumentWindowMinimumHeight = 240.0;
|
||||
|
||||
|
||||
/*
|
||||
Orders two zoom levels, smallest first, for sorting.
|
||||
*/
|
||||
function compareZoomLevels(aLevel, anotherLevel)
|
||||
{
|
||||
return aLevel - anotherLevel;
|
||||
}
|
||||
|
||||
|
||||
/*!
|
||||
Owns DocumentWindow.cib. The window's delegate outlet is connected to
|
||||
File's Owner in DocumentWindow.xib, so this controller is the window's
|
||||
@@ -125,6 +134,120 @@ var DocumentWindowMinimumWidth = 360.0,
|
||||
[textView insertText:[TableExample attributedString]];
|
||||
}
|
||||
|
||||
/*!
|
||||
Returns the scroll view that encloses the text view.
|
||||
|
||||
The zoom commands do not change the text view itself. They change the
|
||||
magnification of its scroll view, as TextEdit does: the scroll view
|
||||
scales its clip view, which draws the text view, with everything inside
|
||||
it, larger or smaller. The text wraps to the window at every
|
||||
magnification, because the text view takes the width of the clip view.
|
||||
*/
|
||||
- (CPScrollView)documentScrollView
|
||||
{
|
||||
return [textView enclosingScrollView];
|
||||
}
|
||||
|
||||
/*!
|
||||
Sets the magnification to the zoom level in the sender's tag, a
|
||||
percentage. Each item of View > Zoom Level sends this action, with its
|
||||
level as its tag, for example 75 for 75%.
|
||||
*/
|
||||
- (@action)zoomToLevel:(id)aSender
|
||||
{
|
||||
[[self documentScrollView] setMagnification:[aSender tag] / 100.0];
|
||||
}
|
||||
|
||||
/*!
|
||||
Returns the text to actual size, a magnification of 1.0.
|
||||
*/
|
||||
- (@action)zoomToActualSize:(id)aSender
|
||||
{
|
||||
[[self documentScrollView] setMagnification:1.0];
|
||||
}
|
||||
|
||||
/*!
|
||||
Moves to the next zoom level above the current magnification.
|
||||
*/
|
||||
- (@action)zoomIn:(id)aSender
|
||||
{
|
||||
var level = [self zoomLevelFrom:[[self documentScrollView] magnification] direction:1];
|
||||
|
||||
if (level)
|
||||
[[self documentScrollView] setMagnification:level];
|
||||
}
|
||||
|
||||
/*!
|
||||
Moves to the next zoom level below the current magnification.
|
||||
*/
|
||||
- (@action)zoomOut:(id)aSender
|
||||
{
|
||||
var level = [self zoomLevelFrom:[[self documentScrollView] magnification] direction:-1];
|
||||
|
||||
if (level)
|
||||
[[self documentScrollView] setMagnification:level];
|
||||
}
|
||||
|
||||
/*!
|
||||
Returns the zoom levels, as magnifications in ascending order.
|
||||
|
||||
The menu items of View > Zoom Level are the only definition of the
|
||||
levels: each item that sends zoomToLevel: carries its level as a
|
||||
percentage in its tag. Zoom In and Zoom Out step through the same items,
|
||||
so adding, removing or changing an item in MainMenu.xib changes all
|
||||
three commands together.
|
||||
*/
|
||||
- (CPArray)zoomLevels
|
||||
{
|
||||
var levels = [];
|
||||
|
||||
[self collectZoomLevelsFromMenu:[CPApp mainMenu] into:levels];
|
||||
|
||||
return levels.sort(compareZoomLevels);
|
||||
}
|
||||
|
||||
/*!
|
||||
Adds to someLevels the level of every item in aMenu, and in its
|
||||
submenus, that sends zoomToLevel:.
|
||||
*/
|
||||
- (void)collectZoomLevelsFromMenu:(CPMenu)aMenu into:(CPArray)someLevels
|
||||
{
|
||||
var items = [aMenu itemArray],
|
||||
count = [items count];
|
||||
|
||||
for (var i = 0; i < count; i++)
|
||||
{
|
||||
var item = items[i];
|
||||
|
||||
if ([item action] === @selector(zoomToLevel:))
|
||||
someLevels.push([item tag] / 100.0);
|
||||
|
||||
if ([item hasSubmenu])
|
||||
[self collectZoomLevelsFromMenu:[item submenu] into:someLevels];
|
||||
}
|
||||
}
|
||||
|
||||
/*!
|
||||
Returns the next zoom level above aMagnification, with a direction of 1,
|
||||
or below it, with a direction of -1. Returns nil when there is none. The
|
||||
comparison allows for rounding in the magnification.
|
||||
*/
|
||||
- (float)zoomLevelFrom:(float)aMagnification direction:(int)aDirection
|
||||
{
|
||||
var levels = [self zoomLevels],
|
||||
count = levels.length;
|
||||
|
||||
for (var i = 0; i < count; i++)
|
||||
{
|
||||
var level = levels[aDirection > 0 ? i : count - 1 - i];
|
||||
|
||||
if (aDirection > 0 ? level > aMagnification + 0.001 : level < aMagnification - 0.001)
|
||||
return level;
|
||||
}
|
||||
|
||||
return nil;
|
||||
}
|
||||
|
||||
/*!
|
||||
Keeps the window at or above its minimum size while the user resizes it.
|
||||
|
||||
@@ -179,14 +302,35 @@ var DocumentWindowMinimumWidth = 360.0,
|
||||
AppKit calls this method before it shows a menu, for each item whose
|
||||
action reaches this controller through the responder chain. For Allow
|
||||
Undo, it sets the item's check mark from the active document's text
|
||||
view, so the mark follows the document whose window is in front. Every
|
||||
item is enabled.
|
||||
view, so the mark follows the document whose window is in front. For the
|
||||
zoom commands, it checks the current zoom level and disables commands
|
||||
that would not change the magnification. Every other item is enabled.
|
||||
*/
|
||||
- (BOOL)validateMenuItem:(CPMenuItem)aMenuItem
|
||||
{
|
||||
if ([aMenuItem action] === @selector(toggleAllowsUndo:))
|
||||
var action = [aMenuItem action],
|
||||
magnification = [[self documentScrollView] magnification];
|
||||
|
||||
if (action === @selector(toggleAllowsUndo:))
|
||||
[aMenuItem setState:[textView allowsUndo] ? CPOnState : CPOffState];
|
||||
|
||||
/*
|
||||
The zoom level that matches the current magnification is checked.
|
||||
Zoom In and Zoom Out are disabled at the highest and lowest levels,
|
||||
and Actual Size at actual size.
|
||||
*/
|
||||
if (action === @selector(zoomToLevel:))
|
||||
[aMenuItem setState:ABS(magnification - [aMenuItem tag] / 100.0) < 0.001 ? CPOnState : CPOffState];
|
||||
|
||||
if (action === @selector(zoomIn:))
|
||||
return !![self zoomLevelFrom:magnification direction:1];
|
||||
|
||||
if (action === @selector(zoomOut:))
|
||||
return !![self zoomLevelFrom:magnification direction:-1];
|
||||
|
||||
if (action === @selector(zoomToActualSize:))
|
||||
return ABS(magnification - 1.0) >= 0.001;
|
||||
|
||||
return YES;
|
||||
}
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
280NPLIST;1.0;D;K;4;$topD;K;18;CPCibObjectDataKeyD;K;6;CP$UIDd;1;2E;E;K;8;$objectsA;S;5;$nullD;K;10;$classnameS;16;_CPCibObjectDataK;8;$classesA;S;16;_CPCibObjectDataS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;1;1E;K;28;_CPCibObjectDataNamesKeysKeyD;K;6;CP$UIDd;1;0E;K;30;_CPCibObjectDataNamesValuesKeyD;K;6;CP$UIDd;1;0E;K;30;_CPCibObjectDataClassesKeysKeyD;K;6;CP$UIDd;1;0E;K;32;_CPCibObjectDataClassesValuesKeyD;K;6;CP$UIDd;1;0E;K;30;_CPCibObjectDataConnectionsKeyD;K;6;CP$UIDd;1;4E;K;28;_CPCibObjectDataFrameworkKeyD;K;6;CP$UIDd;1;0E;K;26;_CPCibObjectDataNextOidKeyD;K;6;CP$UIDd;1;5E;K;30;_CPCibObjectDataObjectsKeysKeyD;K;6;CP$UIDd;1;6E;K;32;_CPCibObjectDataObjectsValuesKeyD;K;6;CP$UIDd;1;7E;K;26;_CPCibObjectDataOidKeysKeyD;K;6;CP$UIDd;1;8E;K;28;_CPCibObjectDataOidValuesKeyD;K;6;CP$UIDd;1;9E;K;28;_CPCibObjectDataFileOwnerKeyD;K;6;CP$UIDd;2;11E;K;33;_CPCibObjectDataVisibleWindowsKeyD;K;6;CP$UIDd;2;13E;E;D;K;10;$classnameS;7;CPArrayK;8;$classesA;S;7;CPArrayS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;2;15E;D;K;6;CP$UIDd;2;17E;D;K;6;CP$UIDd;2;18E;D;K;6;CP$UIDd;2;19E;D;K;6;CP$UIDd;2;20E;D;K;6;CP$UIDd;2;21E;D;K;6;CP$UIDd;2;22E;D;K;6;CP$UIDd;2;23E;D;K;6;CP$UIDd;2;24E;D;K;6;CP$UIDd;2;25E;D;K;6;CP$UIDd;2;26E;D;K;6;CP$UIDd;2;27E;D;K;6;CP$UIDd;2;28E;D;K;6;CP$UIDd;2;29E;D;K;6;CP$UIDd;2;30E;D;K;6;CP$UIDd;2;31E;D;K;6;CP$UIDd;2;32E;D;K;6;CP$UIDd;2;33E;D;K;6;CP$UIDd;2;34E;D;K;6;CP$UIDd;2;35E;D;K;6;CP$UIDd;2;36E;D;K;6;CP$UIDd;2;37E;D;K;6;CP$UIDd;2;38E;D;K;6;CP$UIDd;2;39E;D;K;6;CP$UIDd;2;40E;D;K;6;CP$UIDd;2;41E;D;K;6;CP$UIDd;2;42E;D;K;6;CP$UIDd;2;43E;D;K;6;CP$UIDd;2;44E;D;K;6;CP$UIDd;2;45E;D;K;6;CP$UIDd;2;46E;D;K;6;CP$UIDd;2;47E;D;K;6;CP$UIDd;2;48E;D;K;6;CP$UIDd;2;49E;D;K;6;CP$UIDd;2;50E;D;K;6;CP$UIDd;2;51E;D;K;6;CP$UIDd;2;52E;D;K;6;CP$UIDd;2;53E;D;K;6;CP$UIDd;2;54E;D;K;6;CP$UIDd;2;55E;D;K;6;CP$UIDd;2;56E;D;K;6;CP$UIDd;2;57E;D;K;6;CP$UIDd;2;58E;D;K;6;CP$UIDd;2;59E;D;K;6;CP$UIDd;2;60E;D;K;6;CP$UIDd;2;61E;D;K;6;CP$UIDd;2;62E;D;K;6;CP$UIDd;2;63E;D;K;6;CP$UIDd;2;64E;D;K;6;CP$UIDd;2;65E;D;K;6;CP$UIDd;2;66E;D;K;6;CP$UIDd;2;67E;D;K;6;CP$UIDd;2;68E;D;K;6;CP$UIDd;2;69E;D;K;6;CP$UIDd;2;70E;D;K;6;CP$UIDd;2;71E;D;K;6;CP$UIDd;2;72E;D;K;6;CP$UIDd;2;73E;D;K;6;CP$UIDd;2;74E;D;K;6;CP$UIDd;2;75E;D;K;6;CP$UIDd;2;76E;D;K;6;CP$UIDd;2;77E;D;K;6;CP$UIDd;2;78E;D;K;6;CP$UIDd;2;79E;D;K;6;CP$UIDd;2;80E;D;K;6;CP$UIDd;2;81E;D;K;6;CP$UIDd;2;82E;D;K;6;CP$UIDd;2;83E;D;K;6;CP$UIDd;2;84E;D;K;6;CP$UIDd;2;85E;D;K;6;CP$UIDd;2;86E;D;K;6;CP$UIDd;2;87E;D;K;6;CP$UIDd;2;88E;D;K;6;CP$UIDd;2;89E;D;K;6;CP$UIDd;2;90E;D;K;6;CP$UIDd;2;91E;D;K;6;CP$UIDd;2;92E;D;K;6;CP$UIDd;2;93E;D;K;6;CP$UIDd;2;94E;D;K;6;CP$UIDd;2;95E;D;K;6;CP$UIDd;2;96E;D;K;6;CP$UIDd;2;97E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;2;98E;D;K;6;CP$UIDd;3;100E;D;K;6;CP$UIDd;3;102E;D;K;6;CP$UIDd;3;103E;D;K;6;CP$UIDd;3;104E;D;K;6;CP$UIDd;3;105E;D;K;6;CP$UIDd;3;106E;D;K;6;CP$UIDd;3;107E;D;K;6;CP$UIDd;3;108E;D;K;6;CP$UIDd;3;109E;D;K;6;CP$UIDd;3;110E;D;K;6;CP$UIDd;3;111E;D;K;6;CP$UIDd;3;112E;D;K;6;CP$UIDd;3;113E;D;K;6;CP$UIDd;3;114E;D;K;6;CP$UIDd;3;115E;D;K;6;CP$UIDd;3;116E;D;K;6;CP$UIDd;3;117E;D;K;6;CP$UIDd;3;118E;D;K;6;CP$UIDd;3;119E;D;K;6;CP$UIDd;3;120E;D;K;6;CP$UIDd;3;121E;D;K;6;CP$UIDd;3;122E;D;K;6;CP$UIDd;3;123E;D;K;6;CP$UIDd;3;124E;D;K;6;CP$UIDd;3;125E;D;K;6;CP$UIDd;3;126E;D;K;6;CP$UIDd;3;127E;D;K;6;CP$UIDd;3;128E;D;K;6;CP$UIDd;3;129E;D;K;6;CP$UIDd;3;130E;D;K;6;CP$UIDd;3;131E;D;K;6;CP$UIDd;3;132E;D;K;6;CP$UIDd;3;133E;D;K;6;CP$UIDd;3;134E;D;K;6;CP$UIDd;3;135E;D;K;6;CP$UIDd;3;136E;D;K;6;CP$UIDd;3;137E;D;K;6;CP$UIDd;3;138E;D;K;6;CP$UIDd;3;139E;D;K;6;CP$UIDd;3;140E;D;K;6;CP$UIDd;3;141E;D;K;6;CP$UIDd;3;142E;D;K;6;CP$UIDd;3;143E;D;K;6;CP$UIDd;3;144E;D;K;6;CP$UIDd;3;145E;D;K;6;CP$UIDd;3;146E;D;K;6;CP$UIDd;3;147E;D;K;6;CP$UIDd;3;148E;D;K;6;CP$UIDd;3;149E;D;K;6;CP$UIDd;3;150E;D;K;6;CP$UIDd;3;151E;D;K;6;CP$UIDd;3;152E;D;K;6;CP$UIDd;3;153E;D;K;6;CP$UIDd;3;154E;D;K;6;CP$UIDd;3;155E;D;K;6;CP$UIDd;3;156E;D;K;6;CP$UIDd;3;157E;D;K;6;CP$UIDd;3;158E;D;K;6;CP$UIDd;3;159E;D;K;6;CP$UIDd;3;160E;D;K;6;CP$UIDd;3;161E;D;K;6;CP$UIDd;3;162E;D;K;6;CP$UIDd;3;163E;D;K;6;CP$UIDd;3;164E;D;K;6;CP$UIDd;3;165E;D;K;6;CP$UIDd;3;166E;D;K;6;CP$UIDd;3;167E;D;K;6;CP$UIDd;3;168E;D;K;6;CP$UIDd;3;169E;D;K;6;CP$UIDd;3;170E;D;K;6;CP$UIDd;3;171E;D;K;6;CP$UIDd;3;172E;D;K;6;CP$UIDd;3;173E;D;K;6;CP$UIDd;3;174E;D;K;6;CP$UIDd;3;175E;D;K;6;CP$UIDd;3;176E;D;K;6;CP$UIDd;3;177E;D;K;6;CP$UIDd;3;178E;D;K;6;CP$UIDd;3;179E;D;K;6;CP$UIDd;3;180E;D;K;6;CP$UIDd;3;181E;D;K;6;CP$UIDd;3;182E;D;K;6;CP$UIDd;3;183E;D;K;6;CP$UIDd;3;184E;D;K;6;CP$UIDd;3;185E;D;K;6;CP$UIDd;3;186E;D;K;6;CP$UIDd;3;187E;D;K;6;CP$UIDd;3;188E;D;K;6;CP$UIDd;3;189E;D;K;6;CP$UIDd;3;190E;D;K;6;CP$UIDd;3;191E;D;K;6;CP$UIDd;3;192E;D;K;6;CP$UIDd;3;193E;D;K;6;CP$UIDd;3;194E;D;K;6;CP$UIDd;3;195E;D;K;6;CP$UIDd;3;196E;D;K;6;CP$UIDd;3;197E;D;K;6;CP$UIDd;3;198E;D;K;6;CP$UIDd;3;199E;D;K;6;CP$UIDd;3;200E;D;K;6;CP$UIDd;3;201E;D;K;6;CP$UIDd;3;202E;D;K;6;CP$UIDd;3;203E;D;K;6;CP$UIDd;3;204E;D;K;6;CP$UIDd;3;205E;D;KLine truncated
|
||||
280NPLIST;1.0;D;K;4;$topD;K;18;CPCibObjectDataKeyD;K;6;CP$UIDd;1;2E;E;K;8;$objectsA;S;5;$nullD;K;10;$classnameS;16;_CPCibObjectDataK;8;$classesA;S;16;_CPCibObjectDataS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;1;1E;K;28;_CPCibObjectDataNamesKeysKeyD;K;6;CP$UIDd;1;0E;K;30;_CPCibObjectDataNamesValuesKeyD;K;6;CP$UIDd;1;0E;K;30;_CPCibObjectDataClassesKeysKeyD;K;6;CP$UIDd;1;0E;K;32;_CPCibObjectDataClassesValuesKeyD;K;6;CP$UIDd;1;0E;K;30;_CPCibObjectDataConnectionsKeyD;K;6;CP$UIDd;1;4E;K;28;_CPCibObjectDataFrameworkKeyD;K;6;CP$UIDd;1;0E;K;26;_CPCibObjectDataNextOidKeyD;K;6;CP$UIDd;1;5E;K;30;_CPCibObjectDataObjectsKeysKeyD;K;6;CP$UIDd;1;6E;K;32;_CPCibObjectDataObjectsValuesKeyD;K;6;CP$UIDd;1;7E;K;26;_CPCibObjectDataOidKeysKeyD;K;6;CP$UIDd;1;8E;K;28;_CPCibObjectDataOidValuesKeyD;K;6;CP$UIDd;1;9E;K;28;_CPCibObjectDataFileOwnerKeyD;K;6;CP$UIDd;2;11E;K;33;_CPCibObjectDataVisibleWindowsKeyD;K;6;CP$UIDd;2;13E;E;D;K;10;$classnameS;7;CPArrayK;8;$classesA;S;7;CPArrayS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;2;15E;D;K;6;CP$UIDd;2;17E;D;K;6;CP$UIDd;2;18E;D;K;6;CP$UIDd;2;19E;D;K;6;CP$UIDd;2;20E;D;K;6;CP$UIDd;2;21E;D;K;6;CP$UIDd;2;22E;D;K;6;CP$UIDd;2;23E;D;K;6;CP$UIDd;2;24E;D;K;6;CP$UIDd;2;25E;D;K;6;CP$UIDd;2;26E;D;K;6;CP$UIDd;2;27E;D;K;6;CP$UIDd;2;28E;D;K;6;CP$UIDd;2;29E;D;K;6;CP$UIDd;2;30E;D;K;6;CP$UIDd;2;31E;D;K;6;CP$UIDd;2;32E;D;K;6;CP$UIDd;2;33E;D;K;6;CP$UIDd;2;34E;D;K;6;CP$UIDd;2;35E;D;K;6;CP$UIDd;2;36E;D;K;6;CP$UIDd;2;37E;D;K;6;CP$UIDd;2;38E;D;K;6;CP$UIDd;2;39E;D;K;6;CP$UIDd;2;40E;D;K;6;CP$UIDd;2;41E;D;K;6;CP$UIDd;2;42E;D;K;6;CP$UIDd;2;43E;D;K;6;CP$UIDd;2;44E;D;K;6;CP$UIDd;2;45E;D;K;6;CP$UIDd;2;46E;D;K;6;CP$UIDd;2;47E;D;K;6;CP$UIDd;2;48E;D;K;6;CP$UIDd;2;49E;D;K;6;CP$UIDd;2;50E;D;K;6;CP$UIDd;2;51E;D;K;6;CP$UIDd;2;52E;D;K;6;CP$UIDd;2;53E;D;K;6;CP$UIDd;2;54E;D;K;6;CP$UIDd;2;55E;D;K;6;CP$UIDd;2;56E;D;K;6;CP$UIDd;2;57E;D;K;6;CP$UIDd;2;58E;D;K;6;CP$UIDd;2;59E;D;K;6;CP$UIDd;2;60E;D;K;6;CP$UIDd;2;61E;D;K;6;CP$UIDd;2;62E;D;K;6;CP$UIDd;2;63E;D;K;6;CP$UIDd;2;64E;D;K;6;CP$UIDd;2;65E;D;K;6;CP$UIDd;2;66E;D;K;6;CP$UIDd;2;67E;D;K;6;CP$UIDd;2;68E;D;K;6;CP$UIDd;2;69E;D;K;6;CP$UIDd;2;70E;D;K;6;CP$UIDd;2;71E;D;K;6;CP$UIDd;2;72E;D;K;6;CP$UIDd;2;73E;D;K;6;CP$UIDd;2;74E;D;K;6;CP$UIDd;2;75E;D;K;6;CP$UIDd;2;76E;D;K;6;CP$UIDd;2;77E;D;K;6;CP$UIDd;2;78E;D;K;6;CP$UIDd;2;79E;D;K;6;CP$UIDd;2;80E;D;K;6;CP$UIDd;2;81E;D;K;6;CP$UIDd;2;82E;D;K;6;CP$UIDd;2;83E;D;K;6;CP$UIDd;2;84E;D;K;6;CP$UIDd;2;85E;D;K;6;CP$UIDd;2;86E;D;K;6;CP$UIDd;2;87E;D;K;6;CP$UIDd;2;88E;D;K;6;CP$UIDd;2;89E;D;K;6;CP$UIDd;2;90E;D;K;6;CP$UIDd;2;91E;D;K;6;CP$UIDd;2;92E;D;K;6;CP$UIDd;2;93E;D;K;6;CP$UIDd;2;94E;D;K;6;CP$UIDd;2;95E;D;K;6;CP$UIDd;2;96E;D;K;6;CP$UIDd;2;97E;D;K;6;CP$UIDd;2;98E;D;K;6;CP$UIDd;2;99E;D;K;6;CP$UIDd;3;100E;D;K;6;CP$UIDd;3;101E;D;K;6;CP$UIDd;3;102E;D;K;6;CP$UIDd;3;103E;D;K;6;CP$UIDd;3;104E;D;K;6;CP$UIDd;3;105E;D;K;6;CP$UIDd;3;106E;D;K;6;CP$UIDd;3;107E;D;K;6;CP$UIDd;3;108E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;109E;D;K;6;CP$UIDd;3;111E;D;K;6;CP$UIDd;3;113E;D;K;6;CP$UIDd;3;114E;D;K;6;CP$UIDd;3;115E;D;K;6;CP$UIDd;3;116E;D;K;6;CP$UIDd;3;117E;D;K;6;CP$UIDd;3;118E;D;K;6;CP$UIDd;3;119E;D;K;6;CP$UIDd;3;120E;D;K;6;CP$UIDd;3;121E;D;K;6;CP$UIDd;3;122E;D;K;6;CP$UIDd;3;123E;D;K;6;CP$UIDd;3;124E;D;K;6;CP$UIDd;3;125E;D;K;6;CP$UIDd;3;126E;D;K;6;CP$UIDd;3;127E;D;K;6;CP$UIDd;3;128E;D;K;6;CP$UIDd;3;129E;D;K;6;CP$UIDd;3;130E;D;K;6;CP$UIDd;3;131E;D;K;6;CP$UIDd;3;132E;D;K;6;CP$UIDd;3;133E;D;K;6;CP$UIDd;3;134E;D;K;6;CP$UIDd;3;135E;D;K;6;CP$UIDd;3;136E;D;K;6;CP$UIDd;3;137E;D;K;6;CP$UIDd;3;138E;D;K;6;CP$UIDd;3;139E;D;K;6;CP$UIDd;3;140E;D;K;6;CP$UIDd;3;141E;D;K;6;CP$UIDd;3;142E;D;K;6;CP$UIDd;3;143E;D;K;6;CP$UIDd;3;144E;D;K;6;CP$UIDd;3;145E;D;K;6;CP$UIDd;3;146E;D;K;6;CP$UIDd;3;147E;D;K;6;CP$UIDd;3;148E;D;K;6;CP$UIDd;3;149E;D;K;6;CP$UIDd;3;150E;D;K;6;CP$UIDd;3;151E;D;K;6;CP$UIDd;3;152E;D;K;6;CP$UIDd;3;153E;D;K;6;CP$UIDd;3;154E;D;K;6;CP$UIDd;3;155E;D;K;6;CP$UIDd;3;156E;D;K;6;CP$UIDd;3;157E;D;K;6;CP$UIDd;3;158E;D;K;6;CP$UIDd;3;159E;D;K;6;CP$UIDd;3;160E;D;K;6;CP$UIDd;3;161E;D;K;6;CP$UIDd;3;162E;D;K;6;CP$UIDd;3;163E;D;K;6;CP$UIDd;3;164E;D;K;6;CP$UIDd;3;165E;D;K;6;CP$UIDd;3;166E;D;K;6;CP$UIDd;3;167E;D;K;6;CP$UIDd;3;168E;D;K;6;CP$UIDd;3;169E;D;K;6;CP$UIDd;3;170E;D;K;6;CP$UIDd;3;171E;D;K;6;CP$UIDd;3;172E;D;K;6;CP$UIDd;3;173E;D;K;6;CP$UIDd;3;174E;D;K;6;CP$UIDd;3;175E;D;K;6;CP$UIDd;3;176E;D;K;6;CP$UIDd;3;177E;D;K;6;CP$UIDd;3;178E;D;K;6;CP$UIDd;3;179E;D;K;6;CP$UIDd;3;180E;D;K;6;CP$UIDd;3;181E;D;K;6;CP$UIDd;3;182E;D;K;6;CP$UIDd;3;183E;D;K;6;CP$UIDd;3;184E;D;K;6;CP$UIDd;3;185E;D;K;6;CP$UIDd;3;186E;D;K;6;CP$UIDd;3;187E;D;K;6;CP$UIDd;3;188E;D;K;6;CP$UIDd;3;189E;D;K;6;CP$UIDd;3;190E;D;K;6;CP$UIDd;3;191E;D;K;6;CP$UIDd;3;192E;D;K;6;CP$UIDd;3;193E;D;K;6;CP$UIDd;3;194E;D;K;6;CP$UIDd;3;195E;D;K;6;CP$UIDd;3;196E;D;K;6;CP$UIDd;3;197E;D;K;6;CP$UIDd;3;198E;D;K;6;CP$UIDd;3;199E;D;K;6;CP$UIDd;3;200E;D;K;6;CP$UIDd;3;201E;D;K;6;CP$UIDd;3;202E;D;K;6;CP$UIDd;3;203E;D;K;6;CP$UIDd;3;204E;D;K;6;CP$UIDd;3;205E;D;K;Line truncated
|
||||
@@ -597,6 +597,80 @@
|
||||
<action selector="runToolbarCustomizationPalette:" target="-1" id="365"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem isSeparatorItem="YES" id="1rm-Jd-YMr"/>
|
||||
<menuItem title="Actual Size" keyEquivalent="0" id="jhH-NV-2Ab">
|
||||
<modifierMask key="keyEquivalentModifierMask" shift="YES" command="YES"/>
|
||||
<connections>
|
||||
<action selector="zoomToActualSize:" target="-1" id="VO9-re-O0i"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Zoom In" keyEquivalent="." id="Soa-tt-vUl">
|
||||
<modifierMask key="keyEquivalentModifierMask" shift="YES" command="YES"/>
|
||||
<connections>
|
||||
<action selector="zoomIn:" target="-1" id="cyL-Ic-hJD"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Zoom Out" keyEquivalent="," id="nOn-Xu-5A8">
|
||||
<modifierMask key="keyEquivalentModifierMask" shift="YES" command="YES"/>
|
||||
<connections>
|
||||
<action selector="zoomOut:" target="-1" id="V1I-2e-rSt"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Zoom Level" id="nmn-2j-0ly">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<menu key="submenu" title="Zoom Level" id="Rh2-Z6-s8v">
|
||||
<items>
|
||||
<menuItem title="25%" tag="25" id="Qbl-nV-eU5">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="zoomToLevel:" target="-1" id="ylk-WR-FwV"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="50%" tag="50" id="QD5-wT-lnV">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="zoomToLevel:" target="-1" id="lgW-iJ-Xxg"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="75%" tag="75" id="nWv-Bb-jZ9">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="zoomToLevel:" target="-1" id="RPR-B7-7W1"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="100%" tag="100" id="KwK-D7-kuE">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="zoomToLevel:" target="-1" id="H7q-qa-UGn"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="125%" tag="125" id="qR5-be-XPV">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="zoomToLevel:" target="-1" id="eFM-ep-yYw"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="150%" tag="150" id="t4r-9t-fgU">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="zoomToLevel:" target="-1" id="raR-xi-9bV"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="175%" tag="175" id="v2C-Sa-xkV">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="zoomToLevel:" target="-1" id="vJp-E3-hdZ"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="200%" tag="200" id="tB2-Nv-dii">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="zoomToLevel:" target="-1" id="cra-IB-AC3"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
</items>
|
||||
</menu>
|
||||
</menuItem>
|
||||
</items>
|
||||
</menu>
|
||||
</menuItem>
|
||||
|
||||
@@ -30,6 +30,15 @@ How the text system works, for the entries below: `CPTextView` does not use CSS
|
||||
|
||||
- **Marker appearance and vertical alignment differ from TextEdit.** The marker images, and where markers sit across the ruler, are interim until Aristo3 supplies its own; adjust them to match TextEdit then. A tab stop dragged up off the ruler follows the pointer and is clipped by the ruler's edge, as in TextEdit. Dragged down off the ruler, it stays on its line and is drawn faded until release; TextEdit's behaviour in that direction has not been checked.
|
||||
|
||||
### Zoom and view scaling
|
||||
|
||||
View > Zoom Level, Zoom In, Zoom Out and Actual Size set the magnification of the document's scroll view, which scales its clip view's bounds. Zoom exercises CPView's scaling through the whole view hierarchy, so it is the test for scaling defects, below and above 100%. Found in the first test, under Aristo2:
|
||||
|
||||
- **The ruler ignores the magnification.** Its tab stop markers follow the scaled text, but its scale and labels stay at 100%, so markers and units disagree. In Cocoa the ruler scales its units with the scroll view's magnification.
|
||||
- **Autoresizing uses frame sizes, not bounds sizes.** `-[CPView resizeWithOldSuperviewSize:]` resizes a subview by the change in its superview's frame size, but a subview lives in its superview's bounds coordinates. Cocoa uses the bounds size. Under magnification, an autoresized subview changes by the wrong amount: above 100%, the text became wider than the window after it was resized.
|
||||
- **Below 100%, a few points are cut off at the left.** The first letter of some lines is missing.
|
||||
- **Below 100%, a grey band shows below the text.** The text view is only as tall as its text, and the clip view's background shows below it. Cocoa draws the document's background there.
|
||||
|
||||
### nib2cib
|
||||
|
||||
- **nib2cib ignores the ruler settings.** The "Uses Ruler" setting in Interface Builder does not reach the cib. `CPTextView` and `CPRulerView` also need to archive their ruler settings.
|
||||
@@ -92,4 +101,5 @@ How the text system works, for the entries below: `CPTextView` does not use CSS
|
||||
- Table cells can be edited, as a first pass.
|
||||
- Pasting text with several images and a table: the table appears in place at once, and tables, images and text below a change move with their lines.
|
||||
- A table wider than the text stays on its own line below the text before it when the window is narrowed, and is clipped at the right edge, without a horizontal scroll bar, as in Cocoa when text wraps to the window.
|
||||
- View > Zoom Level, Zoom In, Zoom Out and Actual Size change the magnification below and above 100%, in the source app and in the build product; text, tables and images stay together at every level.
|
||||
- Builds with both the legacy toolchain and capp-build.
|
||||
+150
-150
@@ -1,150 +1,150 @@
|
||||
1792879145699|ArrayControllerInitialSelectionTest|
|
||||
1792879145717|ArrayControllerRemovingFirstTest|
|
||||
1792879145734|ArrayControllerTest|
|
||||
1792879145751|AttachedSheet2Test|
|
||||
1792879145768|AttachedSheetTest|
|
||||
1792879145785|BindingContentArrayTest|
|
||||
1792879145802|CGCanvasContextTest|
|
||||
1792879145819|CGPathTest|
|
||||
1792879145836|CPAlertTest|
|
||||
1792879145853|CPAnimatablePropertyContainerTest|
|
||||
1792879145870|CPAnimationContextTest|
|
||||
1792879145887|CPAnimationTest|
|
||||
1792879145904|CPBinderEchoBug|
|
||||
1792879145921|CPBoxCibTest|
|
||||
1792879145938|CPBoxTest|
|
||||
1792879145955|CPBrowserTest|
|
||||
1792879145972|CPButtonBarTest|
|
||||
1792879145989|CPButtonKeyEquivalentDefaultTest|
|
||||
1792879146715|CPButtonTest|
|
||||
1792879146245|CPByteCountFormatterTest|
|
||||
1792879146418|CPCollectionViewNibTest|
|
||||
1792879146590|CPColorCPImageDescriptionTest|
|
||||
1792879146764|CPColorWellBindingsTest|
|
||||
1792879146945|CPComboBoxTest|
|
||||
1792879146112|CPControlPerformClickExceptionTest|
|
||||
1792879146133|CPControlSizeTest|
|
||||
1792879146151|CPCursorTest|
|
||||
1792879146169|CPDateFormatterTest|
|
||||
1792879146186|CPDatePickerTest|
|
||||
1792879146203|CPDictionaryControllerTest|
|
||||
1792879146220|CPDocumentControllerTest|
|
||||
1792879146237|CPFormatterTest|
|
||||
1792879146254|CPGraphicsTest|
|
||||
1792879146272|CPImageAndTextViewImageScalingTest|
|
||||
1792879146289|CPImageViewAlignmentScaling|
|
||||
1792879146306|CPImageViewTest|
|
||||
1792879146323|CPImageViewbindingsTest|
|
||||
1792879146340|CPLanguageModelChatbotTest|
|
||||
1792879146357|CPLevelIndicator|
|
||||
1792879146373|CPLevelIndicatorTest|
|
||||
1792879146390|CPLocalizationTest|
|
||||
1792879146407|CPLogTest|
|
||||
1792879146424|CPMarkdownParserTest|
|
||||
1792879146441|CPMenuCALayerTest|
|
||||
1792879146458|CPMenuEnabledBindingsTest|
|
||||
1792879146475|CPMenuKeyEquivalentsTest|
|
||||
1792879146492|CPMenuRemoveAllTest|
|
||||
1792879146510|CPMenuSubmenuPlacementConstraints|
|
||||
1792879146527|CPMenuTest|
|
||||
1792879146544|CPOutlineViewCibTest|
|
||||
1792879146561|CPOutlineViewTest|
|
||||
1792879146578|CPOutlineViewViewBasedCibTest|
|
||||
1792879146595|CPPanelTest|
|
||||
1792879146612|CPPlatformWindow|
|
||||
1792879146629|CPPlattformWindowMinSize|
|
||||
1792879146646|CPPopUpButtonBindingsTest|
|
||||
1792879146664|CPPopUpButtonTest|
|
||||
1792879146681|CPPopoverTest|
|
||||
1792879146698|CPPredicateEditorCibTest|
|
||||
1792879146715|CPProgressIndicatorTest|
|
||||
1792879146732|CPPropertyListSerializationTest|
|
||||
1792879146749|CPRadioBindingsTest|
|
||||
1792879146766|CPRuleEditorCibTest|
|
||||
1792879146783|CPRuleEditorTest|
|
||||
1792879146800|CPScrollView2Test|
|
||||
1792879146817|CPScrollViewTest|
|
||||
1792879146835|CPSearchFieldPredicateBinding|
|
||||
1792879146852|CPSearchFieldTest|
|
||||
1792879146869|CPSegmentedControlBindingsTest|
|
||||
1792879146886|CPSegmentedControlTest|
|
||||
1792879146903|CPSoundTest|
|
||||
1792879146920|CPSplitViewDividerTest|
|
||||
1792879146937|CPSplitViewTest|
|
||||
1792879146954|CPStackViewTest|
|
||||
1792879146971|CPStepperBindingsTest|
|
||||
1792879146988|CPStepperNibTest|
|
||||
1792879147600|CPTabView2Test|
|
||||
1792879147234|CPTabViewBindingsTest|
|
||||
1792879147404|CPTabViewNibTest|
|
||||
1792879147582|CPTableViewGroupRowsTest|
|
||||
1792879147759|CPTextFieldEditingStyleTest|
|
||||
1792879147933|CPTextFieldHeightTest|
|
||||
1792879147110|CPTextFieldMovementsTest|
|
||||
1792879147127|CPTextFieldMultiLineTest|
|
||||
1792879147145|CPTextFieldTest|
|
||||
1792879147162|CPTextViewCibTest|
|
||||
1792879147179|CPTextViewDelegateAndNotificationsTest|
|
||||
1792879147197|CPTimeZoneTest|
|
||||
1792879147214|CPTokenFieldTest|
|
||||
1792879147232|CPToolTipTest|
|
||||
1792879147249|CPToolbarTest|
|
||||
1792879147266|CPTreeControllerTest|
|
||||
1792879147283|CPURLConnectionAsyncTest|
|
||||
1792879147300|CPURLConnectionSynchronousTest|
|
||||
1792879147318|CPUserDefaultsControllerTest|
|
||||
1792879147335|CPUserDefaultsTest|
|
||||
1792879147353|CPUserNotificationTest|
|
||||
1792879147370|CPViewControllerTest|
|
||||
1792879147387|CPVisualEffectViewTest|
|
||||
1792879147404|CPWebViewTest|
|
||||
1792879147421|CPWebViewTest2|
|
||||
1792879147438|CPWindowLiveResizeTest|
|
||||
1792879147455|CPWindowMovableTest|
|
||||
1792879147472|CPWindowResizeStyleTest|
|
||||
1792879147489|ChildWindowsTest|
|
||||
1792879147506|CompilationTests|
|
||||
1792879147523|ContinuouslyUpdatesValueBinding|
|
||||
1792879147540|CopyAndPasteTest|
|
||||
1792879147557|CrossOriginTest|
|
||||
1792879147574|FF4096Test|
|
||||
1792879147591|FontEnhancementTest|
|
||||
1792879147608|FontMetricsExplorerTest|
|
||||
1792879147625|KeyEquivalentsTest|
|
||||
1792879147642|KeyViewLoopTest|
|
||||
1792879147659|KeyWindowInTheBackgroundActivation|
|
||||
1792879147676|LayoutTest|
|
||||
1792879147693|LoadDynamicFrameworksTest|
|
||||
1792879147710|LoadTimeTest|
|
||||
1792879147727|LongBindingsTest|
|
||||
1792879147744|MobileTest|
|
||||
1792879147762|MultipleValueBindingsTest|
|
||||
1792879147779|NSBoxTest|
|
||||
1792879147796|NSBrowserTest|
|
||||
1792879147813|NewTextFieldBezelTest|
|
||||
1792879147830|Nib2CibAlignmentTest|
|
||||
1792879147848|Nib2CibBaselineAlignementTest|
|
||||
1792879147865|Nib2CibSubviewsOrderTest|
|
||||
1792879147882|NibAppRemixedTest|
|
||||
1792879147899|PatternFillTest|
|
||||
1792879147916|PlatformWindowsTest|
|
||||
1792879147933|PopUpButtonEscTest|
|
||||
1792879147950|PredicateWithFormatTest|
|
||||
1792879147967|ResignFirstResponderWithCPControlTextDidEndEditingTest|
|
||||
1792879147984|Scaling2Test|
|
||||
1792879148189|ScalingTest|
|
||||
1792879148190|ScrollviewThemingTest|
|
||||
1792879148361|SimpleBindings2Test|
|
||||
1792879148533|SizeToFitTest|
|
||||
1792879148705|SmartFoldersDemo|
|
||||
1792879148876|SmartFoldersTest|
|
||||
1792879148104|TableTest|
|
||||
1792879148121|TextEditor|
|
||||
1792879148138|ThemeBrowserTest|
|
||||
1792879148156|ThemeKitchenSinkTest|
|
||||
1792879148173|TrackingAreaTest|
|
||||
1792879148190|UndoRedoWithMenuUpdateTest|
|
||||
1792879148207|UserlandNSTest|
|
||||
1792879148223|WindowSheetOrderTest|
|
||||
1792879148240|layoutEphemeralSubviewTest|
|
||||
1792879148257|performKeyEquivalentTest|
|
||||
1792886439384|ArrayControllerInitialSelectionTest|
|
||||
1792886439402|ArrayControllerRemovingFirstTest|
|
||||
1792886439419|ArrayControllerTest|
|
||||
1792886439437|AttachedSheet2Test|
|
||||
1792886439454|AttachedSheetTest|
|
||||
1792886439471|BindingContentArrayTest|
|
||||
1792886439489|CGCanvasContextTest|
|
||||
1792886439506|CGPathTest|
|
||||
1792886439524|CPAlertTest|
|
||||
1792886439541|CPAnimatablePropertyContainerTest|
|
||||
1792886439558|CPAnimationContextTest|
|
||||
1792886439576|CPAnimationTest|
|
||||
1792886439593|CPBinderEchoBug|
|
||||
1792886439611|CPBoxCibTest|
|
||||
1792886439628|CPBoxTest|
|
||||
1792886439646|CPBrowserTest|
|
||||
1792886439663|CPButtonBarTest|
|
||||
1792886439680|CPButtonKeyEquivalentDefaultTest|
|
||||
1792886439698|CPButtonTest|
|
||||
1792886439715|CPByteCountFormatterTest|
|
||||
1792886439733|CPCollectionViewNibTest|
|
||||
1792886439750|CPColorCPImageDescriptionTest|
|
||||
1792886439768|CPColorWellBindingsTest|
|
||||
1792886439785|CPComboBoxTest|
|
||||
1792886439803|CPControlPerformClickExceptionTest|
|
||||
1792886439820|CPControlSizeTest|
|
||||
1792886439838|CPCursorTest|
|
||||
1792886439855|CPDateFormatterTest|
|
||||
1792886439872|CPDatePickerTest|
|
||||
1792886439890|CPDictionaryControllerTest|
|
||||
1792886439907|CPDocumentControllerTest|
|
||||
1792886439925|CPFormatterTest|
|
||||
1792886439942|CPGraphicsTest|
|
||||
1792886439960|CPImageAndTextViewImageScalingTest|
|
||||
1792886439977|CPImageViewAlignmentScaling|
|
||||
1792886439995|CPImageViewTest|
|
||||
1792886440134|CPImageViewbindingsTest|
|
||||
1792886440321|CPLanguageModelChatbotTest|
|
||||
1792886440505|CPLevelIndicator|
|
||||
1792886440692|CPLevelIndicatorTest|
|
||||
1792886440878|CPLocalizationTest|
|
||||
1792886440105|CPLogTest|
|
||||
1792886440125|CPMarkdownParserTest|
|
||||
1792886440145|CPMenuCALayerTest|
|
||||
1792886440164|CPMenuEnabledBindingsTest|
|
||||
1792886440183|CPMenuKeyEquivalentsTest|
|
||||
1792886440202|CPMenuRemoveAllTest|
|
||||
1792886440221|CPMenuSubmenuPlacementConstraints|
|
||||
1792886440240|CPMenuTest|
|
||||
1792886440258|CPOutlineViewCibTest|
|
||||
1792886440276|CPOutlineViewTest|
|
||||
1792886440293|CPOutlineViewViewBasedCibTest|
|
||||
1792886440311|CPPanelTest|
|
||||
1792886440328|CPPlatformWindow|
|
||||
1792886440346|CPPlattformWindowMinSize|
|
||||
1792886440364|CPPopUpButtonBindingsTest|
|
||||
1792886440382|CPPopUpButtonTest|
|
||||
1792886440399|CPPopoverTest|
|
||||
1792886440417|CPPredicateEditorCibTest|
|
||||
1792886440435|CPProgressIndicatorTest|
|
||||
1792886440453|CPPropertyListSerializationTest|
|
||||
1792886440470|CPRadioBindingsTest|
|
||||
1792886440488|CPRuleEditorCibTest|
|
||||
1792886440506|CPRuleEditorTest|
|
||||
1792886440524|CPScrollView2Test|
|
||||
1792886440542|CPScrollViewTest|
|
||||
1792886440559|CPSearchFieldPredicateBinding|
|
||||
1792886440578|CPSearchFieldTest|
|
||||
1792886440596|CPSegmentedControlBindingsTest|
|
||||
1792886440614|CPSegmentedControlTest|
|
||||
1792886440632|CPSoundTest|
|
||||
1792886440649|CPSplitViewDividerTest|
|
||||
1792886440667|CPSplitViewTest|
|
||||
1792886440685|CPStackViewTest|
|
||||
1792886440703|CPStepperBindingsTest|
|
||||
1792886440720|CPStepperNibTest|
|
||||
1792886440738|CPTabView2Test|
|
||||
1792886440756|CPTabViewBindingsTest|
|
||||
1792886440773|CPTabViewNibTest|
|
||||
1792886440791|CPTableViewGroupRowsTest|
|
||||
1792886440808|CPTextFieldEditingStyleTest|
|
||||
1792886440826|CPTextFieldHeightTest|
|
||||
1792886440844|CPTextFieldMovementsTest|
|
||||
1792886440861|CPTextFieldMultiLineTest|
|
||||
1792886440879|CPTextFieldTest|
|
||||
1792886440897|CPTextViewCibTest|
|
||||
1792886440914|CPTextViewDelegateAndNotificationsTest|
|
||||
1792886440932|CPTimeZoneTest|
|
||||
1792886440950|CPTokenFieldTest|
|
||||
1792886440967|CPToolTipTest|
|
||||
1792886440985|CPToolbarTest|
|
||||
1792886441258|CPTreeControllerTest|
|
||||
1792886441201|CPURLConnectionAsyncTest|
|
||||
1792886441376|CPURLConnectionSynchronousTest|
|
||||
1792886441552|CPUserDefaultsControllerTest|
|
||||
1792886441729|CPUserDefaultsTest|
|
||||
1792886441904|CPUserNotificationTest|
|
||||
1792886441108|CPViewControllerTest|
|
||||
1792886441125|CPVisualEffectViewTest|
|
||||
1792886441143|CPWebViewTest|
|
||||
1792886441160|CPWebViewTest2|
|
||||
1792886441178|CPWindowLiveResizeTest|
|
||||
1792886441196|CPWindowMovableTest|
|
||||
1792886441213|CPWindowResizeStyleTest|
|
||||
1792886441231|ChildWindowsTest|
|
||||
1792886441248|CompilationTests|
|
||||
1792886441266|ContinuouslyUpdatesValueBinding|
|
||||
1792886441283|CopyAndPasteTest|
|
||||
1792886441301|CrossOriginTest|
|
||||
1792886441318|FF4096Test|
|
||||
1792886441335|FontEnhancementTest|
|
||||
1792886441353|FontMetricsExplorerTest|
|
||||
1792886441370|KeyEquivalentsTest|
|
||||
1792886441388|KeyViewLoopTest|
|
||||
1792886441405|KeyWindowInTheBackgroundActivation|
|
||||
1792886441422|LayoutTest|
|
||||
1792886441440|LoadDynamicFrameworksTest|
|
||||
1792886441457|LoadTimeTest|
|
||||
1792886441475|LongBindingsTest|
|
||||
1792886441492|MobileTest|
|
||||
1792886441510|MultipleValueBindingsTest|
|
||||
1792886441528|NSBoxTest|
|
||||
1792886441545|NSBrowserTest|
|
||||
1792886441563|NewTextFieldBezelTest|
|
||||
1792886441580|Nib2CibAlignmentTest|
|
||||
1792886441598|Nib2CibBaselineAlignementTest|
|
||||
1792886441616|Nib2CibSubviewsOrderTest|
|
||||
1792886441633|NibAppRemixedTest|
|
||||
1792886441651|PatternFillTest|
|
||||
1792886441669|PlatformWindowsTest|
|
||||
1792886441687|PopUpButtonEscTest|
|
||||
1792886441704|PredicateWithFormatTest|
|
||||
1792886441722|ResignFirstResponderWithCPControlTextDidEndEditingTest|
|
||||
1792886441740|Scaling2Test|
|
||||
1792886441758|ScalingTest|
|
||||
1792886441776|ScrollviewThemingTest|
|
||||
1792886441794|SimpleBindings2Test|
|
||||
1792886441812|SizeToFitTest|
|
||||
1792886441830|SmartFoldersDemo|
|
||||
1792886441848|SmartFoldersTest|
|
||||
1792886441865|TableTest|
|
||||
1792886441883|TextEditor|
|
||||
1792886441901|ThemeBrowserTest|
|
||||
1792886441919|ThemeKitchenSinkTest|
|
||||
1792886441937|TrackingAreaTest|
|
||||
1792886441954|UndoRedoWithMenuUpdateTest|
|
||||
1792886441972|UserlandNSTest|
|
||||
1792886441989|WindowSheetOrderTest|
|
||||
1792886442726|layoutEphemeralSubviewTest|
|
||||
1792886442247|performKeyEquivalentTest|
|
||||
Reference in new issue
Block a user