aboutsummaryrefslogtreecommitdiffstats
path: root/make/stub_includes/macosx/jawt_md.h
blob: a9e960b1cff7b0425a8e245efb66872d5a0288d8 (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
//
//  jawt_md.m
//
//  Copyright (c) 2002 Apple computer Inc. All rights reserved.
//

#ifndef _JAVASOFT_JAWT_MD_H_
#define _JAVASOFT_JAWT_MD_H_

#include "jawt.h"

#ifdef __cplusplus
extern "C" {
#endif

typedef struct JAWT_MacOSXDrawingSurfaceInfo
{
	int	cgWindowID; // CGSConnectionID
	int	cgConnectionID; // CGSWindowID
	int	cgContextRef; // CGContextRef
    
    int cocoaWindowRef; // NSWindow*
    
	int	carbonWindowRef; // WindowRef (HIToolbox/MacWindows.h)
    
	int	windowX; // int
	int	windowY; // int
	int	windowWidth; // int
	int	windowHeight; // int
}
JAWT_MacOSXDrawingSurfaceInfo;

#ifdef __cplusplus
}
#endif

#endif /* !_JAVASOFT_JAWT_MD_H_ */