/*! * @file Mw/LowLevel/GDI.h * @brief GDI Backend * @warning This is used internally */ #ifndef __MW_LOWLEVEL_GDI_H__ #define __MW_LOWLEVEL_GDI_H__ #include #include #include struct _MwLLGDI { struct _MwLLCommon common; HINSTANCE hInstance; HWND hWnd; HDC hDC; HCURSOR cursor; HICON icon; int grabbed; int force_render; int get_clipboard; }; struct _MwLLGDIColor { struct _MwLLCommonColor common; HBRUSH brush; }; struct _MwLLGDIPixmap { struct _MwLLCommonPixmap common; RGBQUAD* quad; HBITMAP hBitmap; HBITMAP hMask; HBITMAP hMask2; }; MWDECL int MwLLGDICallInit(void); MWDECL HCURSOR MwLLGDICreateCursor(MwCursor* image, MwCursor* mask); #endif