summaryrefslogtreecommitdiff
path: root/include/cdnative.h
blob: 66c9c750187eb10d8bc625bc26842c7fb47ac3b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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_ */