2025-09-28 02:51:15 +00:00
|
|
|
/* $Id$ */
|
2025-09-28 06:52:49 +00:00
|
|
|
#ifndef __MILSKO_LL_H__
|
|
|
|
|
#define __MILSKO_LL_H__
|
2025-09-28 02:51:15 +00:00
|
|
|
|
|
|
|
|
#ifdef _MILSKO
|
|
|
|
|
#ifdef USE_X11
|
|
|
|
|
#include <Milsko/X11.h>
|
|
|
|
|
#endif
|
|
|
|
|
#ifdef USE_GDI
|
|
|
|
|
#include <Milsko/GDI.h>
|
|
|
|
|
#endif
|
|
|
|
|
#else
|
2025-09-28 06:52:49 +00:00
|
|
|
typedef void* HMILSKOLL;
|
2025-09-28 02:51:15 +00:00
|
|
|
typedef void* HMILSKOCOLOR;
|
|
|
|
|
#endif
|
|
|
|
|
|
2025-09-28 08:37:12 +00:00
|
|
|
#include <Milsko/MachDep.h>
|
|
|
|
|
#include <Milsko/TypeDef.h>
|
|
|
|
|
|
2025-09-28 07:03:05 +00:00
|
|
|
MILSKODECL HMILSKOLL MilskoLLCreate(HMILSKOLL parent, int x, int y, int width, int height);
|
|
|
|
|
MILSKODECL void MilskoLLDestroy(HMILSKOLL handle);
|
|
|
|
|
MILSKODECL void MilskoLLPolygon(HMILSKOLL handle, MilskoPoint* points, int points_count, HMILSKOCOLOR color);
|
|
|
|
|
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 int MilskoLLPending(HMILSKOLL handle);
|
|
|
|
|
MILSKODECL void MilskoLLNextEvent(HMILSKOLL handle);
|
2025-09-28 08:37:12 +00:00
|
|
|
MILSKODECL void MilskoLLSleep(int ms);
|
2025-09-28 02:51:15 +00:00
|
|
|
|
|
|
|
|
#endif
|