mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-03 16:10:50 +00:00
things
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@19 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -31,27 +31,29 @@ typedef struct _MilskoClass* MilskoClass;
|
||||
#ifdef _MILSKO
|
||||
#include <Milsko/LowLevel.h>
|
||||
|
||||
typedef struct _Milsko* HMILSKO;
|
||||
typedef struct _Milsko* MilskoWidget;
|
||||
|
||||
typedef struct _Milsko {
|
||||
HMILSKOLL lowlevel;
|
||||
HMILSKO parent;
|
||||
HMILSKO* children;
|
||||
MilskoLL lowlevel;
|
||||
MilskoWidget parent;
|
||||
MilskoWidget* children;
|
||||
MilskoClass class;
|
||||
|
||||
MilskoTextKeyValue* text;
|
||||
MilskoIntegerKeyValue* integer;
|
||||
}* HMILSKO;
|
||||
}* MilskoWidget;
|
||||
#else
|
||||
typedef void* HMILSKO;
|
||||
typedef void* MilskoWidget;
|
||||
#endif
|
||||
|
||||
typedef void (*MilskoHandler)(MilskoWidget handle);
|
||||
|
||||
typedef struct _MilskoClass {
|
||||
void* opaque;
|
||||
void (*create)(HMILSKO handle);
|
||||
void (*destroy)(HMILSKO handle);
|
||||
void (*draw)(HMILSKO handle);
|
||||
void (*click)(HMILSKO handle);
|
||||
void* opaque;
|
||||
MilskoHandler create;
|
||||
MilskoHandler destroy;
|
||||
MilskoHandler draw;
|
||||
MilskoHandler click;
|
||||
} *MilskoClass, MilskoClassRec;
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user