mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-17 05:02:29 +00:00
chore: initial commit
This commit is contained in:
commit
70b00c5c38
965 changed files with 264882 additions and 0 deletions
39
src/gx/gll/GLLayerView.h
Normal file
39
src/gx/gll/GLLayerView.h
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
#ifndef GX_GLL_GL_LAYER_VIEW_H
|
||||
#define GX_GLL_GL_LAYER_VIEW_H
|
||||
|
||||
#include <AppKit/AppKit.h>
|
||||
#include <ApplicationServices/ApplicationServices.h>
|
||||
#include <Foundation/Foundation.h>
|
||||
|
||||
class GLWindow;
|
||||
|
||||
@interface GLLayerView : NSView <NSWindowDelegate>
|
||||
|
||||
@property CGDirectDisplayID m_display;
|
||||
@property GLWindow* m_GLWindow;
|
||||
@property (retain) NSOpenGLContext* m_savedContext;
|
||||
@property (retain) NSCursor* m_cursor;
|
||||
|
||||
- (BOOL)acceptsFirstResponder;
|
||||
- (void)drawRect:(NSRect)dirtyRect;
|
||||
- (id)initWithFrame:(NSRect)frame glWindow:(GLWindow*)window;
|
||||
- (void)keyDown:(NSEvent*)event;
|
||||
- (void)keyUp:(NSEvent*)event;
|
||||
- (void)mouseDown:(NSEvent*)event;
|
||||
- (void)mouseDragged:(NSEvent*)event;
|
||||
- (void)mouseMoved:(NSEvent*)event;
|
||||
- (void)mouseUp:(NSEvent*)event;
|
||||
- (void)otherMouseDown:(NSEvent*)event;
|
||||
- (void)otherMouseDragged:(NSEvent*)event;
|
||||
- (void)otherMouseUp:(NSEvent*)event;
|
||||
- (void)rightMouseDown:(NSEvent*)event;
|
||||
- (void)rightMouseDragged:(NSEvent*)event;
|
||||
- (void)rightMouseUp:(NSEvent*)event;
|
||||
- (void)scrollWheel:(NSEvent*)event;
|
||||
- (void)viewDidChangeBackingProperties;
|
||||
- (void)viewDidEndLiveResize;
|
||||
- (void)update;
|
||||
|
||||
@end
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue