mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-06 17:39:45 +00:00
format
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@6 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -20,11 +20,11 @@ typedef void* HMILSKO;
|
||||
typedef void* HMILSKOCOLOR;
|
||||
#endif
|
||||
|
||||
HMILSKO MilskoLLCreate(HMILSKO parent, int x, int y, int width, int height);
|
||||
void MilskoLLDestroy(HMILSKO handle);
|
||||
void MilskoLLPolygon(HMILSKO handle, MilskoPoint* points, int points_count, HMILSKOCOLOR color);
|
||||
HMILSKO MilskoLLCreate(HMILSKO parent, int x, int y, int width, int height);
|
||||
void MilskoLLDestroy(HMILSKO handle);
|
||||
void MilskoLLPolygon(HMILSKO handle, MilskoPoint* points, int points_count, HMILSKOCOLOR color);
|
||||
HMILSKOCOLOR MilskoLLAllocColor(HMILSKO handle, int r, int g, int b);
|
||||
void MilskoLLGetXYWH(HMILSKO handle, int* x, int* y, unsigned int* w, unsigned int* h);
|
||||
int MilskoLLPending(HMILSKO handle);
|
||||
void MilskoLLGetXYWH(HMILSKO handle, int* x, int* y, unsigned int* w, unsigned int* h);
|
||||
int MilskoLLPending(HMILSKO handle);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -6,12 +6,12 @@
|
||||
#include <X11/Xutil.h>
|
||||
|
||||
typedef struct __Milsko {
|
||||
Display* display;
|
||||
Window window;
|
||||
GC gc;
|
||||
Colormap colormap;
|
||||
int x;
|
||||
int y;
|
||||
Display* display;
|
||||
Window window;
|
||||
GC gc;
|
||||
Colormap colormap;
|
||||
int x;
|
||||
int y;
|
||||
unsigned int width;
|
||||
unsigned int height;
|
||||
}* HMILSKO;
|
||||
|
||||
Reference in New Issue
Block a user