mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2025-12-31 06:30:52 +00:00
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@69 b9cfdab3-6d41-4d17-bbe4-086880011989
43 lines
608 B
C
43 lines
608 B
C
/* $Id$ */
|
|
#ifndef __MW_X11_H__
|
|
#define __MW_X11_H__
|
|
|
|
#include <Mw/MachDep.h>
|
|
#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;
|
|
Window window;
|
|
GC gc;
|
|
Colormap colormap;
|
|
void* user;
|
|
Atom wm_delete;
|
|
|
|
MwLLHandler handler;
|
|
};
|
|
|
|
struct _MwLLColor {
|
|
unsigned long pixel;
|
|
int red;
|
|
int green;
|
|
int blue;
|
|
};
|
|
|
|
struct _MwLLPixmap {
|
|
int width;
|
|
int height;
|
|
|
|
int use_shm;
|
|
XShmSegmentInfo shm;
|
|
Display* display;
|
|
XImage* image;
|
|
};
|
|
|
|
#endif
|