common
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@31 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
61b442d259
commit
0bc58045ae
5 changed files with 26 additions and 22 deletions
|
|
@ -32,6 +32,11 @@ struct _MilskoLLCallback {
|
|||
void (*up)(MilskoLL handle);
|
||||
};
|
||||
|
||||
/* lowlevel.c, common part */
|
||||
MILSKODECL void MilskoLLCreateCommon(MilskoLL handle);
|
||||
MILSKODECL void MilskoLLDestroyCommon(MilskoLL handle);
|
||||
|
||||
/* driver-specific */
|
||||
MILSKODECL MilskoLL MilskoLLCreate(MilskoLL parent, int x, int y, int width, int height);
|
||||
MILSKODECL void MilskoLLDestroy(MilskoLL handle);
|
||||
|
||||
|
|
|
|||
|
|
@ -14,15 +14,11 @@ typedef struct _MilskoLLColor *MilskoLLColor, MilskoLLColorRec;
|
|||
#include <X11/Xutil.h>
|
||||
|
||||
struct _MilskoLL {
|
||||
Display* display;
|
||||
Window window;
|
||||
GC gc;
|
||||
Colormap colormap;
|
||||
int x;
|
||||
int y;
|
||||
unsigned int width;
|
||||
unsigned int height;
|
||||
void* user;
|
||||
Display* display;
|
||||
Window window;
|
||||
GC gc;
|
||||
Colormap colormap;
|
||||
void* user;
|
||||
|
||||
MilskoLLCallback callback;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue