2015-07-17 00:40:46 +00:00
|
|
|
//
|
|
|
|
// OpenGLView.h
|
|
|
|
// Clock Signal
|
|
|
|
//
|
|
|
|
// Created by Thomas Harte on 16/07/2015.
|
|
|
|
// Copyright © 2015 Thomas Harte. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
@import AppKit;
|
|
|
|
|
2015-07-17 02:14:40 +00:00
|
|
|
@class CSOpenGLView;
|
|
|
|
|
|
|
|
@protocol CSOpenGLViewDelegate
|
|
|
|
- (void)openGLView:(CSOpenGLView *)view didUpdateToTime:(CVTimeStamp)time;
|
2015-07-24 00:45:07 +00:00
|
|
|
- (void)openGLViewDrawView:(CSOpenGLView *)view;
|
2015-07-17 02:14:40 +00:00
|
|
|
@end
|
|
|
|
|
2015-07-17 00:40:46 +00:00
|
|
|
@interface CSOpenGLView : NSOpenGLView
|
|
|
|
|
2015-07-17 02:14:40 +00:00
|
|
|
@property (nonatomic, weak) id <CSOpenGLViewDelegate> delegate;
|
|
|
|
|
2015-07-17 00:40:46 +00:00
|
|
|
@end
|