Files
milsko/include/Milsko/X11.h
NishiOwO 9f96056a1a things
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@19 b9cfdab3-6d41-4d17-bbe4-086880011989
2025-09-28 09:50:28 +00:00

33 lines
576 B
C

/* $Id$ */
#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>
typedef struct _MilskoLowLevel {
Display* display;
Window window;
GC gc;
Colormap colormap;
int x;
int y;
unsigned int width;
unsigned int height;
void* user;
void (*draw)(MilskoLL handle);
}* MilskoLL;
typedef struct _MilskoColor {
unsigned long pixel;
}* MilskoLLColor;
#endif