git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@69 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-09-30 00:52:43 +00:00
parent 99c28db60d
commit e230b5441c
9 changed files with 172 additions and 12 deletions

View File

@@ -3,15 +3,13 @@
#define __MW_X11_H__
#include <Mw/MachDep.h>
typedef struct _MwLL * MwLL, MwLLRec;
typedef struct _MwLLColor *MwLLColor, MwLLColorRec;
#include <Mw/TypeDefs.h>
#include <Mw/LowLevel.h>
#include <X11/X.h>
#include <X11/Xutil.h>
#include <X11/extensions/XShm.h>
#include <X11/extensions/Xrender.h>
struct _MwLL {
Display* display;
@@ -31,4 +29,14 @@ struct _MwLLColor {
int blue;
};
struct _MwLLPixmap {
int width;
int height;
int use_shm;
XShmSegmentInfo shm;
Display* display;
XImage* image;
};
#endif