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>
|
2025-09-28 08:49:49 +00:00
|
|
|
#include <Milsko/TypeDefs.h>
|
2025-09-28 08:37:12 +00:00
|
|
|
|
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);
|
2025-09-28 09:04:35 +00:00
|
|
|
MILSKODECL void MilskoLLSetXY(HMILSKOLL handle, int x, int y);
|
|
|
|
|
MILSKODECL void MilskoLLSetWH(HMILSKOLL handle, int w, int h);
|
2025-09-28 09:08:53 +00:00
|
|
|
MILSKODECL void MilskoLLSetTitle(HMILSKOLL handle, const char* title);
|
2025-09-28 07:03:05 +00:00
|
|
|
MILSKODECL int MilskoLLPending(HMILSKOLL handle);
|
|
|
|
|
MILSKODECL void MilskoLLNextEvent(HMILSKOLL handle);
|
2025-09-28 08:37:21 +00:00
|
|
|
MILSKODECL void MilskoLLSleep(int ms);
|
2025-09-28 02:51:15 +00:00
|
|
|
|
|
|
|
|
#endif
|