mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-02 15:40:50 +00:00
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@16 b9cfdab3-6d41-4d17-bbe4-086880011989
33 lines
1.1 KiB
C
33 lines
1.1 KiB
C
/* $Id$ */
|
|
#ifndef __MILSKO_LL_H__
|
|
#define __MILSKO_LL_H__
|
|
|
|
#ifdef _MILSKO
|
|
#ifdef USE_X11
|
|
#include <Milsko/X11.h>
|
|
#endif
|
|
#ifdef USE_GDI
|
|
#include <Milsko/GDI.h>
|
|
#endif
|
|
#else
|
|
typedef void* HMILSKOLL;
|
|
typedef void* HMILSKOCOLOR;
|
|
#endif
|
|
|
|
#include <Milsko/MachDep.h>
|
|
#include <Milsko/TypeDefs.h>
|
|
|
|
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 void MilskoLLSetXY(HMILSKOLL handle, int x, int y);
|
|
MILSKODECL void MilskoLLSetWH(HMILSKOLL handle, int w, int h);
|
|
MILSKODECL void MilskoLLSetTitle(HMILSKOLL handle, const char* title);
|
|
MILSKODECL int MilskoLLPending(HMILSKOLL handle);
|
|
MILSKODECL void MilskoLLNextEvent(HMILSKOLL handle);
|
|
MILSKODECL void MilskoLLSleep(int ms);
|
|
|
|
#endif
|