LMMS
Loading...
Searching...
No Matches
mac.h
Go to the documentation of this file.
1// Copyright 2012-2020 David Robillard <d@drobilla.net>
2// Copyright 2017 Hanspeter Portner <dev@open-music-kontrollers.ch>
3// SPDX-License-Identifier: ISC
4
5#ifndef PUGL_SRC_MAC_H
6#define PUGL_SRC_MAC_H
7
8#include "pugl/pugl.h"
9
10#import <Cocoa/Cocoa.h>
11
12#include <stdint.h>
13
14@interface PuglWrapperView : NSView<NSTextInputClient>
15
16- (void)dispatchExpose:(NSRect)rect;
18
19@end
20
21@interface PuglWindow : NSWindow
22
23- (void)setPuglview:(PuglView*)view;
24
25@end
26
28 NSApplication* app;
29 NSAutoreleasePool* autoreleasePool;
30};
31
41
42#endif // PUGL_SRC_MAC_H
struct PuglViewImpl PuglView
A drawable region that receives events.
Definition pugl.h:810
Definition mac.h:22
Definition mac.h:14
unsigned int uint32_t
Definition mid.cpp:100
Definition mac.h:32
PuglWrapperView * wrapperView
Definition mac.h:34
uint32_t mods
Definition mac.h:38
bool mouseTracked
Definition mac.h:39
PuglWindow * window
Definition mac.h:37
NSView * drawView
Definition mac.h:35
NSApplication * app
Definition mac.h:33
NSCursor * cursor
Definition mac.h:36
Definition mac.h:27
NSAutoreleasePool * autoreleasePool
Definition mac.h:29
NSApplication * app
Definition mac.h:28
#define void
Definition unzip.h:396