git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@3 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
Nishi 2025-09-28 02:51:15 +00:00
commit f4763b58de
6 changed files with 97 additions and 0 deletions

27
include/Milsko/LowLevel.h Normal file
View file

@ -0,0 +1,27 @@
/* $Id$ */
#ifndef __MILSKO_PLATFORM_H__
#define __MILSKO_PLATFORM_H__
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <Milsko/TypeDef.h>
#ifdef _MILSKO
#ifdef USE_X11
#include <Milsko/X11.h>
#endif
#ifdef USE_GDI
#include <Milsko/GDI.h>
#endif
#else
typedef void* HMILSKO;
typedef void* HMILSKOCOLOR;
#endif
HMILSKO MilskoLLCreate(HMILSKO parent, int x, int y, int width, int height);
void MilskoLLPolygon(HMILSKO handle, MilskoPoint* points, int points_count, HMILSKOCOLOR color);
HMILSKOCOLOR MilskoLLAllocColor(HMILSKO handle, int r, int g, int b);
#endif