< prev index next >

src/java.desktop/unix/native/libsplashscreen/splashscreen_config.h

Print this page




  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 /* platform-dependent definitions */
  27 
  28 #ifndef SPLASHSCREEN_CONFIG_H
  29 #define SPLASHSCREEN_CONFIG_H
  30 
  31 #include <X11/Xlib.h>
  32 #include <X11/Xutil.h>
  33 #include <X11/extensions/shape.h>
  34 #include <sys/types.h>
  35 #include <unistd.h>
  36 #include <pthread.h>
  37 #include <signal.h>
  38 #include <inttypes.h>
  39 #include <stdlib.h>
  40 #include <string.h>
  41 #include <stdio.h>

  42 
  43 typedef uint32_t rgbquad_t;
  44 typedef uint16_t word_t;
  45 typedef uint8_t byte_t;
  46 typedef XRectangle RECT_T;
  47 
  48 #define RECT_EQ_X(r1,r2)        ((r1).x==(r2).x && (r1).width==(r2).width)
  49 #define RECT_SET(r,xx,yy,ww,hh) (r).x=(xx), (r).y=(yy); (r).width=(ww); \
  50                                       (r).height=(hh);
  51 #define RECT_INC_HEIGHT(r)      (r).height++;
  52 
  53 #define SPLASHCTL_QUIT          'Q'
  54 #define SPLASHCTL_UPDATE        'U'
  55 #define SPLASHCTL_RECONFIGURE   'R'
  56 
  57 #define INLINE static
  58 
  59 #define SPLASHEXPORT
  60 
  61 #endif


  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 /* platform-dependent definitions */
  27 
  28 #ifndef SPLASHSCREEN_CONFIG_H
  29 #define SPLASHSCREEN_CONFIG_H
  30 
  31 #include <X11/Xlib.h>
  32 #include <X11/Xutil.h>
  33 #include <X11/extensions/shape.h>
  34 #include <sys/types.h>
  35 #include <unistd.h>
  36 #include <pthread.h>
  37 #include <signal.h>
  38 #include <inttypes.h>
  39 #include <stdlib.h>
  40 #include <string.h>
  41 #include <stdio.h>
  42 #include "systemScale.h"
  43 
  44 typedef uint32_t rgbquad_t;
  45 typedef uint16_t word_t;
  46 typedef uint8_t byte_t;
  47 typedef XRectangle RECT_T;
  48 
  49 #define RECT_EQ_X(r1,r2)        ((r1).x==(r2).x && (r1).width==(r2).width)
  50 #define RECT_SET(r,xx,yy,ww,hh) (r).x=(xx), (r).y=(yy); (r).width=(ww); \
  51                                       (r).height=(hh);
  52 #define RECT_INC_HEIGHT(r)      (r).height++;
  53 
  54 #define SPLASHCTL_QUIT          'Q'
  55 #define SPLASHCTL_UPDATE        'U'
  56 #define SPLASHCTL_RECONFIGURE   'R'
  57 
  58 #define INLINE static
  59 
  60 #define SPLASHEXPORT

  61 #endif
< prev index next >