Revision: 24104
          http://sourceforge.net/p/bibdesk/svn/24104
Author:   hofman
Date:     2019-08-01 21:55:35 +0000 (Thu, 01 Aug 2019)
Log Message:
-----------
use properties

Modified Paths:
--------------
    trunk/bibdesk/BDSKZoomableTextView.h
    trunk/bibdesk/BDSKZoomableTextView.m

Modified: trunk/bibdesk/BDSKZoomableTextView.h
===================================================================
--- trunk/bibdesk/BDSKZoomableTextView.h        2019-08-01 21:46:50 UTC (rev 
24103)
+++ trunk/bibdesk/BDSKZoomableTextView.h        2019-08-01 21:55:35 UTC (rev 
24104)
@@ -51,10 +51,9 @@
 - (IBAction)zoomToActualSize:(id)sender;
 - (IBAction)zoomIn:(id)sender;
 - (IBAction)zoomOut:(id)sender;
-- (BOOL)canZoomToActualSize;
-- (BOOL)canZoomIn;
-- (BOOL)canZoomOut;
 
+@property (nonatomic, readonly) BOOL canZoomToActualSize, canZoomIn, 
canZoomOut;
+
 - (IBAction)printSelection:(id)sender;
 
 @end

Modified: trunk/bibdesk/BDSKZoomableTextView.m
===================================================================
--- trunk/bibdesk/BDSKZoomableTextView.m        2019-08-01 21:46:50 UTC (rev 
24103)
+++ trunk/bibdesk/BDSKZoomableTextView.m        2019-08-01 21:55:35 UTC (rev 
24104)
@@ -57,6 +57,7 @@
 @implementation BDSKZoomableTextView
 
 @synthesize scaleFactor;
+@dynamic canZoomIn, canZoomOut, canZoomToActualSize;
 
 static NSString *BDSKDefaultScaleMenuLabels[] = {@"10%", @"20%", @"25%", 
@"35%", @"50%", @"60%", @"70%", @"85%", @"100%", @"120%", @"140%", @"170%", 
@"200%", @"300%", @"400%", @"600%", @"800%"};
 static CGFloat BDSKDefaultScaleMenuFactors[] = {0.1, 0.2, 0.25, 0.35, 0.5, 
0.6, 0.7, 0.85, 1.0, 1.2, 1.4, 1.7, 2.0, 3.0, 4.0, 6.0, 8.0};

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

Reply via email to