mirror of
https://github.com/TomHarte/CLK.git
synced 2024-09-08 18:55:14 +00:00
25 lines
560 B
Objective-C
25 lines
560 B
Objective-C
//
|
|
// OpenGLView.h
|
|
// Clock Signal
|
|
//
|
|
// Created by Thomas Harte on 16/07/2015.
|
|
// Copyright © 2015 Thomas Harte. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import "CRTFrame.h"
|
|
#import <AppKit/AppKit.h>
|
|
|
|
@class CSCathodeRayView;
|
|
|
|
@protocol CSCathodeRayViewDelegate
|
|
- (void)openGLView:(CSCathodeRayView * __nonnull)view didUpdateToTime:(CVTimeStamp)time;
|
|
@end
|
|
|
|
@interface CSCathodeRayView : NSOpenGLView
|
|
|
|
@property (nonatomic, weak) id <CSCathodeRayViewDelegate> delegate;
|
|
@property (nonatomic, assign, nullable) CRTFrame *crtFrame;
|
|
|
|
@end
|