summaryrefslogtreecommitdiff
path: root/plugingui/window.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2016-12-04 19:25:17 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2017-01-21 14:51:33 +0100
commit21a5cd6d814a913df4cd17b12a7feb5397d65179 (patch)
tree6d8c4a719c5b14abbeb041b389f0418cff68f151 /plugingui/window.cc
parentea6883e9ba851db5e6557b1d71d1268f6ab25c64 (diff)
Cocoa for the masses.
Diffstat (limited to 'plugingui/window.cc')
-rw-r--r--plugingui/window.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugingui/window.cc b/plugingui/window.cc
index f8232ad..5d929b2 100644
--- a/plugingui/window.cc
+++ b/plugingui/window.cc
@@ -35,6 +35,9 @@
#ifdef WIN32
#include "nativewindow_win32.h"
#endif/*WIN32*/
+#ifdef COCOA
+#include "nativewindow_cocoa.h"
+#endif/*COCOA*/
#else
#include "nativewindow_pugl.h"
#endif
@@ -56,6 +59,9 @@ Window::Window(void* native_window)
#ifdef WIN32
native = new NativeWindowWin32(native_window, *this);
#endif/*WIN32*/
+#ifdef COCOA
+ native = new NativeWindowCocoa(native_window, *this);
+#endif/*COCOA*/
#else/*Use pugl*/
native = new NativeWindowPugl(native_window, *this);
#endif