mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-10 03:13:28 +00:00
move
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@155 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -1,41 +0,0 @@
|
||||
/* $Id$ */
|
||||
/*!
|
||||
* %file Mw/GDI.h
|
||||
* %brief GDI backend
|
||||
* %warning This is used internally
|
||||
*/
|
||||
#ifndef __MW_GDI_H__
|
||||
#define __MW_GDI_H__
|
||||
|
||||
#include <Mw/MachDep.h>
|
||||
#include <Mw/TypeDefs.h>
|
||||
#include <Mw/LowLevel.h>
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
struct _MwLL {
|
||||
HINSTANCE hInstance;
|
||||
HWND hWnd;
|
||||
HDC hDC;
|
||||
void* user;
|
||||
int copy_buffer;
|
||||
|
||||
MwLLHandler handler;
|
||||
};
|
||||
|
||||
struct _MwLLColor {
|
||||
HBRUSH brush;
|
||||
|
||||
int red;
|
||||
int green;
|
||||
int blue;
|
||||
};
|
||||
|
||||
struct _MwLLPixmap {
|
||||
int width;
|
||||
int height;
|
||||
|
||||
HBITMAP hBitmap;
|
||||
};
|
||||
|
||||
#endif
|
||||
@@ -22,10 +22,10 @@ typedef void* MwLLPixmap;
|
||||
|
||||
#ifdef _MILSKO
|
||||
#ifdef USE_X11
|
||||
#include <Mw/X11.h>
|
||||
#include "../src/backend/x11.h"
|
||||
#endif
|
||||
#ifdef USE_GDI
|
||||
#include <Mw/GDI.h>
|
||||
#include "../src/backend/gdi.h"
|
||||
#endif
|
||||
#endif
|
||||
#include <Mw/TypeDefs.h>
|
||||
|
||||
@@ -1,53 +0,0 @@
|
||||
/* $Id$ */
|
||||
/*!
|
||||
* %file Mw/X11.h
|
||||
* %brief X11 backend
|
||||
* %warning This is used internally
|
||||
*/
|
||||
#ifndef __MW_X11_H__
|
||||
#define __MW_X11_H__
|
||||
|
||||
#include <Mw/MachDep.h>
|
||||
#include <Mw/TypeDefs.h>
|
||||
#include <Mw/LowLevel.h>
|
||||
|
||||
#include <X11/Xlib.h>
|
||||
#include <X11/Xutil.h>
|
||||
#include <X11/extensions/XShm.h>
|
||||
#include <X11/extensions/Xrender.h>
|
||||
|
||||
struct _MwLL {
|
||||
Display* display;
|
||||
Window window;
|
||||
Pixmap pixmap;
|
||||
GC gc;
|
||||
Colormap colormap;
|
||||
void* user;
|
||||
Atom wm_delete;
|
||||
int copy_buffer;
|
||||
|
||||
unsigned int width;
|
||||
unsigned int height;
|
||||
|
||||
MwLLHandler handler;
|
||||
};
|
||||
|
||||
struct _MwLLColor {
|
||||
unsigned long pixel;
|
||||
int red;
|
||||
int green;
|
||||
int blue;
|
||||
};
|
||||
|
||||
struct _MwLLPixmap {
|
||||
int width;
|
||||
int height;
|
||||
unsigned char* data;
|
||||
|
||||
int use_shm;
|
||||
XShmSegmentInfo shm;
|
||||
Display* display;
|
||||
XImage* image;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user