提交 | 用户 | 时间
|
f7932f
|
1 |
/* |
D |
2 |
* Copyright (c) 1999, Oracle and/or its affiliates. All rights reserved. |
|
3 |
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. |
|
4 |
* |
|
5 |
* |
|
6 |
* |
|
7 |
* |
|
8 |
* |
|
9 |
* |
|
10 |
* |
|
11 |
* |
|
12 |
* |
|
13 |
* |
|
14 |
* |
|
15 |
* |
|
16 |
* |
|
17 |
* |
|
18 |
* |
|
19 |
* |
|
20 |
* |
|
21 |
* |
|
22 |
* |
|
23 |
* |
|
24 |
*/ |
|
25 |
|
|
26 |
#ifndef _JAVASOFT_JAWT_MD_H_ |
|
27 |
#define _JAVASOFT_JAWT_MD_H_ |
|
28 |
|
|
29 |
#include <windows.h> |
|
30 |
#include "jawt.h" |
|
31 |
|
|
32 |
#ifdef __cplusplus |
|
33 |
extern "C" { |
|
34 |
#endif |
|
35 |
|
|
36 |
/* |
|
37 |
* Win32-specific declarations for AWT native interface. |
|
38 |
* See notes in jawt.h for an example of use. |
|
39 |
*/ |
|
40 |
typedef struct jawt_Win32DrawingSurfaceInfo { |
|
41 |
/* Native window, DDB, or DIB handle */ |
|
42 |
union { |
|
43 |
HWND hwnd; |
|
44 |
HBITMAP hbitmap; |
|
45 |
void* pbits; |
|
46 |
}; |
|
47 |
/* |
|
48 |
* This HDC should always be used instead of the HDC returned from |
|
49 |
* BeginPaint() or any calls to GetDC(). |
|
50 |
*/ |
|
51 |
HDC hdc; |
|
52 |
HPALETTE hpalette; |
|
53 |
} JAWT_Win32DrawingSurfaceInfo; |
|
54 |
|
|
55 |
#ifdef __cplusplus |
|
56 |
} |
|
57 |
#endif |
|
58 |
|
|
59 |
#endif /* !_JAVASOFT_JAWT_MD_H_ */ |