Revision: 6438
http://skim-app.svn.sourceforge.net/skim-app/?rev=6438&view=rev
Author: hofman
Date: 2010-04-08 14:49:16 +0000 (Thu, 08 Apr 2010)
Log Message:
-----------
remove unused method
Modified Paths:
--------------
trunk/BDSKEdgeView.h
trunk/BDSKEdgeView.m
Modified: trunk/BDSKEdgeView.h
===================================================================
--- trunk/BDSKEdgeView.h 2010-04-08 11:46:10 UTC (rev 6437)
+++ trunk/BDSKEdgeView.h 2010-04-08 14:49:16 UTC (rev 6438)
@@ -110,11 +110,4 @@
*/
- (void)setColor:(NSColor *)aColor forEdge:(NSRectEdge)edge;
-/*!
- @method adjustSubviews
- @abstract Adjusts the frames of the subviews of the contentView so they
fit in the contentView.
- @discussion (discussion)
-*/
-- (void)adjustSubviews;
-
@end
Modified: trunk/BDSKEdgeView.m
===================================================================
--- trunk/BDSKEdgeView.m 2010-04-08 11:46:10 UTC (rev 6437)
+++ trunk/BDSKEdgeView.m 2010-04-08 14:49:16 UTC (rev 6438)
@@ -145,34 +145,4 @@
return rect;
}
-- (void)adjustSubviews {
- NSRect contentRect;
- NSRect frame;
-
- [contentView setFrame:[self contentRect]];
- contentRect = [contentView bounds];
-
- for (NSView *view in [contentView subviews]) {
- frame = [view frame];
- if (NSContainsRect(contentRect, frame))
- continue;
- if (NSMinX(frame) > NSMaxX(contentRect)) {
- frame.origin.x = NSMaxX(contentRect);
- frame.size.width = 0.0;
- } else if (NSMaxX(frame) < NSMinX(contentRect)) {
- frame.origin.x = NSMinX(contentRect);
- frame.size.width = 0.0;
- }
- if (NSMinY(frame) > NSMaxY(contentRect)) {
- frame.origin.y = NSMaxY(contentRect);
- frame.size.height = 0.0;
- } else if (NSMaxY(frame) < NSMinY(contentRect)) {
- frame.origin.y = NSMinY(contentRect);
- frame.size.height = 0.0;
- }
- frame = NSIntersectionRect(frame, contentRect);
- [view setFrame:frame];
- }
-}
-
@end
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit