git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@6 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-09-28 04:07:41 +00:00
parent a14d3e9f58
commit 4800c9822f
4 changed files with 39 additions and 36 deletions

View File

@@ -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

View File

@@ -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;