summaryrefslogtreecommitdiff
path: root/cd/include/cdnative.h
diff options
context:
space:
mode:
Diffstat (limited to 'cd/include/cdnative.h')
-rwxr-xr-xcd/include/cdnative.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/cd/include/cdnative.h b/cd/include/cdnative.h
new file mode 100755
index 0000000..66c9c75
--- /dev/null
+++ b/cd/include/cdnative.h
@@ -0,0 +1,26 @@
+/** \file
+ * \brief NativeWindow driver
+ *
+ * See Copyright Notice in cd.h
+ */
+
+#ifndef __CD_NATIVE_H
+#define __CD_NATIVE_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+cdContext* cdContextNativeWindow(void);
+
+#define CD_NATIVEWINDOW cdContextNativeWindow()
+
+void cdGetScreenSize(int *width, int *height, double *width_mm, double *height_mm);
+int cdGetScreenColorPlanes(void);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* ifndef __CD_NATIVE_ */
+