Revision: 6573
http://skim-app.svn.sourceforge.net/skim-app/?rev=6573&view=rev
Author: hofman
Date: 2010-06-06 17:15:11 +0000 (Sun, 06 Jun 2010)
Log Message:
-----------
declared property
Modified Paths:
--------------
trunk/SKStatusBar.m
Modified: trunk/SKStatusBar.m
===================================================================
--- trunk/SKStatusBar.m 2010-06-06 11:45:23 UTC (rev 6572)
+++ trunk/SKStatusBar.m 2010-06-06 17:15:11 UTC (rev 6573)
@@ -51,8 +51,7 @@
@interface SKStatusTextFieldCell : NSTextFieldCell {
BOOL underlined;
}
-- (BOOL)isUnderlined;
-- (void)setUnderlined:(BOOL)flag;
+...@property (nonatomic, getter=isUnderlined) BOOL underlined;
@end
#pragma mark -
@@ -552,14 +551,8 @@
@implementation SKStatusTextFieldCell
-- (BOOL)isUnderlined {
- return underlined;
-}
+...@synthesize underlined;
-- (void)setUnderlined:(BOOL)flag {
- underlined = flag;
-}
-
- (void)drawInteriorWithFrame:(NSRect)cellFrame inView:(NSView *)controlView {
if ([self isUnderlined]) {
NSAttributedString *attrString = [[self attributedStringValue] copy];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit