From 7b52cc13af4e85f1ca2deb6b6c77de9c95ea0dcf Mon Sep 17 00:00:00 2001 From: scuri Date: Fri, 17 Oct 2008 06:10:33 +0000 Subject: First commit - moving from LuaForge to SourceForge --- include/cdnative.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 include/cdnative.h (limited to 'include/cdnative.h') diff --git a/include/cdnative.h b/include/cdnative.h new file mode 100644 index 0000000..66c9c75 --- /dev/null +++ b/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_ */ + -- cgit v1.2.3