2025-09-28 21:15:34 +00:00
|
|
|
/* $Id$ */
|
2025-09-29 00:06:16 +00:00
|
|
|
#ifndef __MW_GDI_H__
|
|
|
|
|
#define __MW_GDI_H__
|
2025-09-28 21:15:34 +00:00
|
|
|
|
2025-09-29 00:04:04 +00:00
|
|
|
#include <Mw/MachDep.h>
|
2025-09-28 21:55:50 +00:00
|
|
|
|
2025-09-29 00:10:20 +00:00
|
|
|
typedef struct _MwLL * MwLL, MwLLRec;
|
2025-09-29 00:04:04 +00:00
|
|
|
typedef struct _MwLLColor *MwLLColor, MwLLColorRec;
|
2025-09-28 21:55:50 +00:00
|
|
|
|
2025-09-29 00:04:04 +00:00
|
|
|
#include <Mw/TypeDefs.h>
|
|
|
|
|
#include <Mw/LowLevel.h>
|
2025-09-28 21:15:34 +00:00
|
|
|
|
|
|
|
|
#include <windows.h>
|
|
|
|
|
|
2025-09-29 00:04:04 +00:00
|
|
|
struct _MwLL {
|
2025-09-29 04:11:24 +00:00
|
|
|
HWND hWnd;
|
|
|
|
|
HDC hDC;
|
2025-09-28 21:15:34 +00:00
|
|
|
void* user;
|
|
|
|
|
|
2025-09-29 00:04:04 +00:00
|
|
|
MwLLHandler handler;
|
2025-09-28 21:55:50 +00:00
|
|
|
};
|
2025-09-28 21:15:34 +00:00
|
|
|
|
2025-09-29 04:11:24 +00:00
|
|
|
struct _MwLLColor {
|
|
|
|
|
HBRUSH brush;
|
|
|
|
|
|
2025-09-28 21:55:50 +00:00
|
|
|
int red;
|
|
|
|
|
int green;
|
|
|
|
|
int blue;
|
|
|
|
|
};
|
2025-09-28 21:15:34 +00:00
|
|
|
|
|
|
|
|
#endif
|