#include <stdio.h>
#include <math.h>
#include <ctype.h>
#include <X11/X.h>
#include <X11/Xlib.h>
#include <X11/Xlibint.h>
#include <X11/Xutil.h>
#include <X11/cursorfont.h>
#include "rle.h"
#include <sys/ipc.h>
#include <sys/shm.h>
#include <X11/extensions/XShm.h>
#include "fn_decls.h"
 
Go to the source code of this file.
      
        
          | #define COUNT_OF | 
          ( | 
            | 
          _array_ | ) | 
             ( sizeof (_array_) / sizeof (_array_[0]) ) | 
        
      
 
 
Value:{\
     { block; } \
     { block; } \
     { block; } \
     { block; } \
     { block; } \
     { block; } \
     { block; } \
     { block; } \
     counter -= 8;\
  } \
     case 7:    { block; } \
     case 6:    { block; } \
     case 5:    { block; } \
     case 4:    { block; } \
     case 3:    { block; } \
     case 2:    { block; } \
     case 1:    { block; } \
     }\
}
 
Definition at line 196 of file getx11.h.
 
 
      
        
          | #define IMAGE_BORDERWIDTH   3 | 
        
      
 
 
      
        
          | #define Max | 
          ( | 
            | 
          x,  | 
        
        
           | 
           | 
            | 
          y  | 
        
        
           | 
          ) | 
           |    (((x) > (y)) ? (x) : (y)) | 
        
      
 
 
      
        
          | #define Min | 
          ( | 
            | 
          x,  | 
        
        
           | 
           | 
            | 
          y  | 
        
        
           | 
          ) | 
           |    (((x) < (y)) ? (x) : (y)) | 
        
      
 
 
      
        
          | #define SAVED_RLE_ROW | 
          ( | 
            | 
          img,  | 
        
        
           | 
           | 
            | 
          y  | 
        
        
           | 
          ) | 
           |    ((img)->scan_data + (((y) + 1) * (img)->w * (img)->dpy_channels)) | 
        
      
 
 
      
        
          | #define SHIFT_MASK_PIXEL | 
          ( | 
            | 
          r,  | 
        
        
           | 
           | 
            | 
          g,  | 
        
        
           | 
           | 
            | 
          b  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Value:( (( ( (
r) << cmap_i.red_shift  ) & cmap_i.red_mask )\
 
       | ( ( (
g) << cmap_i.green_shift) & cmap_i.green_mask )\
 
       | ( ( (
b) << cmap_i.blue_shift ) & cmap_i.blue_mask )) +\
 
      cmap_i.pixel_base)
 
Definition at line 64 of file getx11.h.
 
 
      
        
          | #define SHIFT_MASK_PIXEL_32 | 
          ( | 
            | 
          r,  | 
        
        
           | 
           | 
            | 
          g,  | 
        
        
           | 
           | 
            | 
          b  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Value:(( (
r) << cmap_i.red_shift  ) \
 
     | ( (
g) << cmap_i.green_shift) \
 
     | ( (
b) << cmap_i.blue_shift ))
 
 
Definition at line 70 of file getx11.h.
 
 
      
        
          | typedef unsigned long Pixel | 
        
      
 
 
      
        
          | typedef void VOID_FUNCTION() |