git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@19 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
Nishi 2025-09-28 09:50:28 +00:00
commit 9f96056a1a
8 changed files with 83 additions and 63 deletions

View file

@ -2,7 +2,11 @@
#ifndef __MILSKO_X11_H__
#define __MILSKO_X11_H__
typedef struct _MilskoLowLevel* MilskoLL;
typedef struct _MilskoColor* MilskoLLColor;
#include <Milsko/MachDep.h>
#include <Milsko/TypeDefs.h>
#include <X11/X.h>
#include <X11/Xutil.h>
@ -16,10 +20,13 @@ typedef struct _MilskoLowLevel {
int y;
unsigned int width;
unsigned int height;
}* HMILSKOLL;
void* user;
void (*draw)(MilskoLL handle);
}* MilskoLL;
typedef struct _MilskoColor {
unsigned long pixel;
}* HMILSKOCOLOR;
}* MilskoLLColor;
#endif