Add "BugOpts QtDragnDropWorkaround"
[fvwm.git] / libs / FImage.h
blob24dae983d7339e3897ce5576bbab4fc99c15ed40
1 /* -*-c-*- */
3 #ifndef FIMAGE_H
4 #define FIMAGE_H
6 /* ---------------------------- included header files ---------------------- */
8 #include "config.h"
10 #include "FShm.h"
12 /* ---------------------------- type definitions --------------------------- */
14 typedef struct
16 XImage *im;
17 FShmSegmentInfo *shminfo;
18 } FImage;
20 /* ---------------------------- interface functions ------------------------ */
22 FImage *FCreateFImage (
23 Display *dpy, Visual *visual, unsigned int depth, int format,
24 unsigned int width, unsigned int height);
26 FImage *FGetFImage(
27 Display *dpy, Drawable d, Visual *visual,
28 unsigned int depth, int x, int y, unsigned int width,
29 unsigned int height, unsigned long plane_mask, int format);
31 void FPutFImage(
32 Display *dpy, Drawable d, GC gc, FImage *fim, int src_x, int src_y,
33 int dest_x, int dest_y, unsigned int width, unsigned int height);
35 void FDestroyFImage(Display *dpy, FImage *fim);
37 #endif /* FIMAGE_H */