24 */ 25 26 /* 27 * Motif-specific data structures for AWT Java objects. 28 * 29 */ 30 #ifndef _AWT_P_H_ 31 #define _AWT_P_H_ 32 33 /* turn on to do event filtering */ 34 #define NEW_EVENT_MODEL 35 /* turn on to only filter keyboard events */ 36 #define KEYBOARD_ONLY_EVENTS 37 38 #include <stdarg.h> 39 #include <stdio.h> 40 #include <stdlib.h> 41 #include <string.h> 42 #include <unistd.h> 43 #ifndef HEADLESS 44 #include <X11/Intrinsic.h> 45 #include <X11/IntrinsicP.h> 46 #include <X11/Shell.h> 47 #include <X11/StringDefs.h> 48 #include <X11/Xatom.h> 49 #include <X11/keysym.h> 50 #include <X11/keysymdef.h> 51 #include <X11/extensions/Xrender.h> 52 #endif /* !HEADLESS */ 53 #include "awt.h" 54 #include "awt_util.h" 55 #include "color.h" 56 #include "colordata.h" 57 #include "gdefs.h" 58 59 #ifndef HEADLESS 60 #ifndef min 61 #define min(a,b) ((a) <= (b)? (a):(b)) 62 #endif 63 #ifndef max 64 #define max(a,b) ((a) >= (b)? (a):(b)) 65 #endif 66 #endif /* !HEADLESS */ 67 68 #define RepaintPending_NONE 0 69 #define RepaintPending_REPAINT (1 << 0) 70 #define RepaintPending_EXPOSE (1 << 1) | 24 */ 25 26 /* 27 * Motif-specific data structures for AWT Java objects. 28 * 29 */ 30 #ifndef _AWT_P_H_ 31 #define _AWT_P_H_ 32 33 /* turn on to do event filtering */ 34 #define NEW_EVENT_MODEL 35 /* turn on to only filter keyboard events */ 36 #define KEYBOARD_ONLY_EVENTS 37 38 #include <stdarg.h> 39 #include <stdio.h> 40 #include <stdlib.h> 41 #include <string.h> 42 #include <unistd.h> 43 #ifndef HEADLESS 44 #include <X11/extensions/Xrender.h> 45 #endif /* !HEADLESS */ 46 #include "awt.h" 47 #include "awt_util.h" 48 #include "color.h" 49 #include "colordata.h" 50 #include "gdefs.h" 51 52 #ifndef HEADLESS 53 #ifndef min 54 #define min(a,b) ((a) <= (b)? (a):(b)) 55 #endif 56 #ifndef max 57 #define max(a,b) ((a) >= (b)? (a):(b)) 58 #endif 59 #endif /* !HEADLESS */ 60 61 #define RepaintPending_NONE 0 62 #define RepaintPending_REPAINT (1 << 0) 63 #define RepaintPending_EXPOSE (1 << 1) |