Revision: 6466
http://skim-app.svn.sourceforge.net/skim-app/?rev=6466&view=rev
Author: hofman
Date: 2010-04-18 09:53:51 +0000 (Sun, 18 Apr 2010)
Log Message:
-----------
encode minsize of gradient view
Modified Paths:
--------------
trunk/SKGradientView.m
Modified: trunk/SKGradientView.m
===================================================================
--- trunk/SKGradientView.m 2010-04-17 16:58:11 UTC (rev 6465)
+++ trunk/SKGradientView.m 2010-04-18 09:53:51 UTC (rev 6466)
@@ -62,6 +62,8 @@
if (self = [super initWithCoder:decoder]) {
// this decodes only the reference, the actual view should
already be decoded as a subview
contentView = [[decoder decodeObjectForKey:@"contentView"] retain];
+ minSize.width = [decoder decodeDoubleForKey:@"minSize.width"];
+ minSize.height = [decoder decodeDoubleForKey:@"minSize.height"];
edges = [decoder decodeIntegerForKey:@"edges"];
autoEdges = [decoder decodeBoolForKey:@"autoEdges"];
}
@@ -72,6 +74,8 @@
[super encodeWithCoder:coder];
// this encodes only a reference, the actual contentView should already be
encoded because it's a subview
[coder encodeConditionalObject:contentView forKey:@"contentView"];
+ [coder encodeDouble:minSize.width forKey:@"minSize.width"];
+ [coder encodeDouble:minSize.height forKey:@"minSize.height"];
[coder encodeInteger:edges forKey:@"edges"];
[coder encodeBool:autoEdges forKey:@"autoEdges"];
}
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