Revision: 28653
http://sourceforge.net/p/bibdesk/svn/28653
Author: hofman
Date: 2024-01-22 23:51:18 +0000 (Mon, 22 Jan 2024)
Log Message:
-----------
synthesized poperties for progress indicators
Modified Paths:
--------------
trunk/bibdesk_vendorsrc/amaxwell/FileView/FVProgressIndicatorCell.h
trunk/bibdesk_vendorsrc/amaxwell/FileView/FVProgressIndicatorCell.m
Modified: trunk/bibdesk_vendorsrc/amaxwell/FileView/FVProgressIndicatorCell.h
===================================================================
--- trunk/bibdesk_vendorsrc/amaxwell/FileView/FVProgressIndicatorCell.h
2024-01-22 23:38:38 UTC (rev 28652)
+++ trunk/bibdesk_vendorsrc/amaxwell/FileView/FVProgressIndicatorCell.h
2024-01-22 23:51:18 UTC (rev 28653)
@@ -60,15 +60,12 @@
NSUInteger _indexInView;
}
-- (CGFloat)currentProgress;
-- (void)setCurrentProgress:(CGFloat)progress;
+@property (nonatomic) CGFloat currentProgress;
// default is FVProgressIndicatorDeterminate
-- (FVProgressIndicatorStyle)style;
-- (void)setStyle:(FVProgressIndicatorStyle)style;
+@property (nonatomic) FVProgressIndicatorStyle style;
-- (NSUInteger)indexInView;
-- (void)setIndexInView:(NSUInteger)index;
+@property (nonatomic) NSUInteger indexInView;
- (void)animate;
Modified: trunk/bibdesk_vendorsrc/amaxwell/FileView/FVProgressIndicatorCell.m
===================================================================
--- trunk/bibdesk_vendorsrc/amaxwell/FileView/FVProgressIndicatorCell.m
2024-01-22 23:38:38 UTC (rev 28652)
+++ trunk/bibdesk_vendorsrc/amaxwell/FileView/FVProgressIndicatorCell.m
2024-01-22 23:51:18 UTC (rev 28653)
@@ -41,6 +41,10 @@
@implementation FVProgressIndicatorCell
+@synthesize currentProgress=_currentProgress;
+@synthesize style=_style;
+@synthesize indexInView=_indexInView;
+
static NSInteger numSteps = 8;
+ (void)initialize {
@@ -61,15 +65,6 @@
return self;
}
-- (void)setCurrentProgress:(CGFloat)progress { _currentProgress = progress; }
-- (CGFloat)currentProgress { return _currentProgress; }
-
-- (FVProgressIndicatorStyle)style {return _style; }
-- (void)setStyle:(FVProgressIndicatorStyle)style { _style = style; }
-
-- (NSUInteger)indexInView { return _indexInView; }
-- (void)setIndexInView:(NSUInteger)index { _indexInView = index; }
-
- (void)animate
{
if (_style == FVProgressIndicatorIndeterminate)
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit