Release 940405
[wine/gsoc-2012-control.git] / include / bitmap.h
blob9addd88a4785a57185a71f8783284f33b650c3dd
1 /*
2 * GDI bitmap definitions
4 * Copyright 1993 Alexandre Julliard
5 */
7 #ifndef BITMAP_H
8 #define BITMAP_H
10 #include <X11/Xlib.h>
11 #include "windows.h"
13 /* Handle of the bitmap selected by default in a memory DC */
14 extern HBITMAP BITMAP_hbitmapMemDC;
16 /* GCs used for B&W and color bitmap operations */
17 extern GC BITMAP_monoGC, BITMAP_colorGC;
19 #define BITMAP_GC(bmp) \
20 (((bmp)->bitmap.bmBitsPixel == 1) ? BITMAP_monoGC : BITMAP_colorGC)
22 #endif /* BITMAP_H */