Blame view

3rdparty/jdk1.8.0_171/include/linux/jawt_md.h 995 Bytes
a86c63ca   Hu Chunming   提交三方库文件
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
  /*
   * 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_ */