2025-09-28 06:52:49 +00:00
|
|
|
/* $Id$ */
|
|
|
|
|
#ifndef __MILSKO_CORE_H__
|
|
|
|
|
#define __MILSKO_CORE_H__
|
|
|
|
|
|
2025-09-28 07:03:05 +00:00
|
|
|
#include <Milsko/MachDep.h>
|
|
|
|
|
|
2025-09-28 07:11:55 +00:00
|
|
|
typedef struct _MilskoClass* MilskoClass;
|
|
|
|
|
|
2025-09-28 06:52:49 +00:00
|
|
|
#ifdef _MILSKO
|
|
|
|
|
#include <Milsko/LowLevel.h>
|
|
|
|
|
|
2025-09-28 07:03:05 +00:00
|
|
|
typedef struct _Milsko* HMILSKO;
|
|
|
|
|
|
2025-09-28 06:52:49 +00:00
|
|
|
typedef struct _Milsko {
|
|
|
|
|
HMILSKOLL lowlevel;
|
2025-09-28 07:03:05 +00:00
|
|
|
HMILSKO parent;
|
|
|
|
|
HMILSKO* children;
|
2025-09-28 07:11:55 +00:00
|
|
|
MilskoClass class;
|
2025-09-28 06:52:49 +00:00
|
|
|
}* HMILSKO;
|
|
|
|
|
#else
|
|
|
|
|
typedef void* HMILSKO;
|
|
|
|
|
#endif
|
|
|
|
|
|
2025-09-28 07:03:05 +00:00
|
|
|
typedef struct _MilskoClass {
|
|
|
|
|
}* MilskoClass;
|
|
|
|
|
|
|
|
|
|
MILSKODECL HMILSKO MilskoCreateWidget(MilskoClass class, HMILSKO parent, int x, int y, unsigned int width, unsigned int height);
|
|
|
|
|
MILSKODECL void MilskoDestroyWidget(HMILSKO handle);
|
2025-09-28 06:52:49 +00:00
|
|
|
|
|
|
|
|
#endif
|