Browse Subversion Repository
Contents of /trunk/Classes/GraphicRulerView.h
Parent Directory
| Revision Log
Revision 60 -
( show annotations)
( download)
( as text)
Wed May 4 05:49:49 2016 UTC
(7 years, 11 months ago)
by toshinagata1964
File MIME type: text/x-chdr
File size: 960 byte(s)
The build script is modified so that the copyright description is updated on Deployment build.
| 1 |
// |
| 2 |
// GraphicRulerView.h |
| 3 |
// |
| 4 |
/* |
| 5 |
Copyright (c) 2000-2016 Toshi Nagata. All rights reserved. |
| 6 |
|
| 7 |
This program is free software; you can redistribute it and/or modify |
| 8 |
it under the terms of the GNU General Public License as published by |
| 9 |
the Free Software Foundation version 2 of the License. |
| 10 |
|
| 11 |
This program is distributed in the hope that it will be useful, |
| 12 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 |
GNU General Public License for more details. |
| 15 |
*/ |
| 16 |
|
| 17 |
#import <Cocoa/Cocoa.h> |
| 18 |
#import "GraphicClientView.h" |
| 19 |
|
| 20 |
@interface GraphicRulerView : NSView { |
| 21 |
NSView *clientView; |
| 22 |
NSPoint dragStartPoint, dragEndPoint; |
| 23 |
} |
| 24 |
- (void)releaseClientView; |
| 25 |
- (void)setClientView: (NSView *)aView; |
| 26 |
- (NSView *)clientView; |
| 27 |
|
| 28 |
// No need to override this; the view type is taken from the client view |
| 29 |
- (int)rulerViewType; |
| 30 |
|
| 31 |
+ (NSFont *)rulerLabelFont; |
| 32 |
+ (void)setRulerLabelFont: (NSFont *)aFont; |
| 33 |
|
| 34 |
@end |
|