1
Fork 0
This repository has been archived on 2025-04-09. You can view files and clone it, but cannot push or open issues or pull requests.
spectogram-prototype/SpectogramPrototype/Ruler.h
2016-02-28 19:48:29 +00:00

25 lines
468 B
Objective-C

//
// Ruler.h
// SpectogramPrototype
//
// Created by Joshua Moerman on 25/02/14.
// Copyright (c) 2014 Joshua Moerman. All rights reserved.
//
#import <UIKit/UIKit.h>
typedef struct Interval {
CGFloat begin;
CGFloat end;
} Interval;
@interface AbstractRuler : UIView
@property (nonatomic) Interval visibleInterval;
@end
@interface HorizontalRuler : AbstractRuler
@end
@interface VerticalRuler : AbstractRuler
@property (nonatomic) float tuning;
@end