You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
898 B
C
60 lines
898 B
C
3 years ago
|
/*
|
||
|
* Copyright (c) 1999, Oracle and/or its affiliates. All rights reserved.
|
||
|
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
|
||
|
*
|
||
|
*
|
||
|
*
|
||
|
*
|
||
|
*
|
||
|
*
|
||
|
*
|
||
|
*
|
||
|
*
|
||
|
*
|
||
|
*
|
||
|
*
|
||
|
*
|
||
|
*
|
||
|
*
|
||
|
*
|
||
|
*
|
||
|
*
|
||
|
*
|
||
|
*
|
||
|
*/
|
||
|
|
||
|
#ifndef _JAVASOFT_JAWT_MD_H_
|
||
|
#define _JAVASOFT_JAWT_MD_H_
|
||
|
|
||
|
#include <windows.h>
|
||
|
#include "jawt.h"
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
/*
|
||
|
* Win32-specific declarations for AWT native interface.
|
||
|
* See notes in jawt.h for an example of use.
|
||
|
*/
|
||
|
typedef struct jawt_Win32DrawingSurfaceInfo {
|
||
|
/* Native window, DDB, or DIB handle */
|
||
|
union {
|
||
|
HWND hwnd;
|
||
|
HBITMAP hbitmap;
|
||
|
void* pbits;
|
||
|
};
|
||
|
/*
|
||
|
* This HDC should always be used instead of the HDC returned from
|
||
|
* BeginPaint() or any calls to GetDC().
|
||
|
*/
|
||
|
HDC hdc;
|
||
|
HPALETTE hpalette;
|
||
|
} JAWT_Win32DrawingSurfaceInfo;
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
#endif /* !_JAVASOFT_JAWT_MD_H_ */
|