git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@10 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-09-28 07:11:55 +00:00
parent 8c788c3911
commit b12c08d2d3
2 changed files with 4 additions and 0 deletions

View File

@@ -4,6 +4,8 @@
#include <Milsko/MachDep.h>
typedef struct _MilskoClass* MilskoClass;
#ifdef _MILSKO
#include <Milsko/LowLevel.h>
@@ -13,6 +15,7 @@ typedef struct _Milsko {
HMILSKOLL lowlevel;
HMILSKO parent;
HMILSKO* children;
MilskoClass class;
}* HMILSKO;
#else
typedef void* HMILSKO;

View File

@@ -9,6 +9,7 @@ HMILSKO MilskoCreateWidget(MilskoClass class, HMILSKO parent, int x, int y, unsi
h->parent = parent;
h->children = NULL;
h->lowlevel = MilskoLLCreate(parent->lowlevel, x, y, width, height);
h->class = class;
arrput(parent->children, h);