| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- /*========================================================================
- * Licensed Materials - Property of IBM
- * "Restricted Materials of IBM"
- *
- * IBM SDK, Java(tm) Technology Edition, v8
- * (C) Copyright IBM Corp. 2000, 2014. All Rights Reserved
- *
- * US Government Users Restricted Rights - Use, duplication or disclosure
- * restricted by GSA ADP Schedule Contract with IBM Corp.
- *========================================================================
- */
- /*
- * Copyright (c) 1999, 2001, 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 <X11/Xlib.h>
- #include <X11/Xutil.h>
- #include <X11/Intrinsic.h>
- #include "jawt.h"
- #ifdef __cplusplus
- extern "C" {
- #endif
- /*
- * X11-specific declarations for AWT native interface.
- * See notes in jawt.h for an example of use.
- */
- typedef struct jawt_X11DrawingSurfaceInfo {
- Drawable drawable;
- Display* display;
- VisualID visualID;
- Colormap colormapID;
- int depth;
- /*
- * Since 1.4
- * Returns a pixel value from a set of RGB values.
- * This is useful for paletted color (256 color) modes.
- */
- int (JNICALL *GetAWTColor)(JAWT_DrawingSurface* ds,
- int r, int g, int b);
- } JAWT_X11DrawingSurfaceInfo;
- #ifdef __cplusplus
- }
- #endif
- #endif /* !_JAVASOFT_JAWT_MD_H_ */
|