svn-gvsig-desktop / trunk / libraries / libjni-gdal / include / jni_w32 / jawt_md.h @ 5888
History | View | Annotate | Download (856 Bytes)
1 |
/*
|
---|---|
2 |
* @(#)jawt_md.h 1.6 03/01/23
|
3 |
*
|
4 |
* Copyright 2003 Sun Microsystems, Inc. All rights reserved.
|
5 |
* SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
|
6 |
*/
|
7 |
|
8 |
#ifndef _JAVASOFT_JAWT_MD_H_
|
9 |
#define _JAVASOFT_JAWT_MD_H_
|
10 |
|
11 |
#include <windows.h> |
12 |
#include "jawt.h" |
13 |
|
14 |
#ifdef __cplusplus
|
15 |
extern "C" { |
16 |
#endif
|
17 |
|
18 |
/*
|
19 |
* Win32-specific declarations for AWT native interface.
|
20 |
* See notes in jawt.h for an example of use.
|
21 |
*/
|
22 |
typedef struct jawt_Win32DrawingSurfaceInfo { |
23 |
/* Native window, DDB, or DIB handle */
|
24 |
union {
|
25 |
HWND hwnd; |
26 |
HBITMAP hbitmap; |
27 |
void* pbits;
|
28 |
}; |
29 |
/*
|
30 |
* This HDC should always be used instead of the HDC returned from
|
31 |
* BeginPaint() or any calls to GetDC().
|
32 |
*/
|
33 |
HDC hdc; |
34 |
HPALETTE hpalette; |
35 |
} JAWT_Win32DrawingSurfaceInfo; |
36 |
|
37 |
#ifdef __cplusplus
|
38 |
} |
39 |
#endif
|
40 |
|
41 |
#endif /* !_JAVASOFT_JAWT_MD_H_ */ |