support new properties in nib2cib

This commit is contained in:
Antoine Mercadal
2011-10-05 16:24:12 +02:00
parent e3565bdc7d
commit 76e2a2b8ca
+2 -1
View File
@@ -40,7 +40,8 @@
_bottomCornerView = [[CPView alloc] init];
[self addSubview:_bottomCornerView];
[self setScrollerKnobStyle:[aCoder decodeObjectForKey:"NSScrollerKnobStyle"] || CPScrollerKnobStyleDefault];
CPLogPrint([self scrollerKnobStyle]);
_hasVerticalScroller = !!(flags & (1 << 4));
_hasHorizontalScroller = !!(flags & (1 << 5));
_autohidesScrollers = !!(flags & (1 << 9));