blob: 3a371af0d7689f0cefdb21317b5c7d7d5c7abf58 (
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
//
// jawt_md.h
//
// Copyright (c) 2002 Apple computer Inc. All rights reserved.
//
#ifndef _JAVASOFT_JAWT_MD_H_
#define _JAVASOFT_JAWT_MD_H_
#include <jawt.h>
#include <AppKit/NSView.h>
#include <QuartzCore/CALayer.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* JAWT_DrawingSurfaceInfo.getPlatformInfo()
*
* Only if not JAWT_SurfaceLayers, see below!
*/
typedef struct JAWT_MacOSXDrawingSurfaceInfo
{
/** the view is guaranteed to be valid only for the duration of Component.paint method */
NSView *cocoaViewRef;
}
JAWT_MacOSXDrawingSurfaceInfo;
/**
* JAWT_DrawingSurfaceInfo.getPlatformInfo()
*
* >= 10.6.4 if JAWT_MACOSX_USE_CALAYER is set in JAWT version
*/
typedef struct JAWT_SurfaceLayers
{
CALayer *layer;
}
JAWT_SurfaceLayers;
#ifdef __cplusplus
}
#endif
#endif /* !_JAVASOFT_JAWT_MD_H_ */
|