< prev index next >

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

Print this page




  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


  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 float getNativeScaleFactor();
  61 #endif
< prev index next >