diff options
author | Jason Rumney <jasonr@gnu.org> | 2000-01-23 03:19:10 +0000 |
---|---|---|
committer | Jason Rumney <jasonr@gnu.org> | 2000-01-23 03:19:10 +0000 |
commit | 5a048001f769258696756875c864fdfa555f0c66 (patch) | |
tree | 3397f46e2d8d9654ec97fab5627c4005e3eb5519 /src/w32gui.h | |
parent | 6fc2811b20860e2e2cbd9d7c079c484c4f4c67f6 (diff) |
(XGCValue): New struct for emulating X GCs.
Diffstat (limited to 'src/w32gui.h')
-rw-r--r-- | src/w32gui.h | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/src/w32gui.h b/src/w32gui.h index 43b427710c..dc5dfc0088 100644 --- a/src/w32gui.h +++ b/src/w32gui.h @@ -30,10 +30,24 @@ typedef struct W32FontStruct { bdffont *bdf; } W32FontStruct; +typedef struct W32FontStruct XFontStruct; + +/* Emulate X GC's by keeping color and font info in a structure. */ +typedef struct _XGCValues +{ + COLORREF foreground; + COLORREF background; + XFontStruct * font; +} XGCValues; + +#define GCForeground 0x01 +#define GCBackground 0x02 +#define GCFont 0x03 + typedef HBITMAP Pixmap; typedef HBITMAP Bitmap; -typedef struct W32FontStruct XFontStruct; -typedef HDC GC; + +typedef XGCValues * GC; typedef COLORREF Color; typedef DWORD Time; typedef HWND Window; |