mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-07 09:59:45 +00:00
aaaaaaaaaaa
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@13 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -22,6 +22,7 @@ MILSKODECL void MilskoLLDestroy(HMILSKOLL handle);
|
|||||||
MILSKODECL void MilskoLLPolygon(HMILSKOLL handle, MilskoPoint* points, int points_count, HMILSKOCOLOR color);
|
MILSKODECL void MilskoLLPolygon(HMILSKOLL handle, MilskoPoint* points, int points_count, HMILSKOCOLOR color);
|
||||||
MILSKODECL HMILSKOCOLOR MilskoLLAllocColor(HMILSKOLL handle, int r, int g, int b);
|
MILSKODECL HMILSKOCOLOR MilskoLLAllocColor(HMILSKOLL handle, int r, int g, int b);
|
||||||
MILSKODECL void MilskoLLGetXYWH(HMILSKOLL handle, int* x, int* y, unsigned int* w, unsigned int* h);
|
MILSKODECL void MilskoLLGetXYWH(HMILSKOLL handle, int* x, int* y, unsigned int* w, unsigned int* h);
|
||||||
|
MILSKODECL void MilskoLLSetXYWH(HMILSKOLL handle, int x, int y, unsigned int w, unsigned int h);
|
||||||
MILSKODECL int MilskoLLPending(HMILSKOLL handle);
|
MILSKODECL int MilskoLLPending(HMILSKOLL handle);
|
||||||
MILSKODECL void MilskoLLNextEvent(HMILSKOLL handle);
|
MILSKODECL void MilskoLLNextEvent(HMILSKOLL handle);
|
||||||
MILSKODECL void MilskoLLSleep(int ms);
|
MILSKODECL void MilskoLLSleep(int ms);
|
||||||
|
|||||||
@@ -70,6 +70,10 @@ void MilskoLLGetXYWH(HMILSKOLL handle, int* x, int* y, unsigned int* w, unsigned
|
|||||||
*h = handle->height;
|
*h = handle->height;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void MilskoLLSetXYWH(HMILSKOLL handle, int x, int y, unsigned int w, unsigned int h) {
|
||||||
|
XMoveResizeWindow(handle->display, handle->window, x, y, w, h);
|
||||||
|
}
|
||||||
|
|
||||||
void MilskoLLFreeColor(HMILSKOCOLOR color) {
|
void MilskoLLFreeColor(HMILSKOCOLOR color) {
|
||||||
free(color);
|
free(color);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user