gdi backend is functional

git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@45 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-09-29 04:11:24 +00:00
parent a99eb3add0
commit cd7600f0f2
3 changed files with 184 additions and 2 deletions

View File

@@ -13,12 +13,16 @@ typedef struct _MwLLColor *MwLLColor, MwLLColorRec;
#include <windows.h>
struct _MwLL {
HWND hWnd;
HDC hDC;
void* user;
MwLLHandler handler;
};
struct _MwColor {
struct _MwLLColor {
HBRUSH brush;
int red;
int green;
int blue;

View File

@@ -12,7 +12,7 @@
#include <unistd.h>
#endif
#if defined(_MW) && defined(_WIN32)
#if defined(_MILSKO) && defined(_WIN32)
#define MWDECL extern __declspec(dllexport)
#elif defined(_WIN32)
#define MWDECL extern __declspec(dllimport)