git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@131 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-10-02 02:17:27 +00:00
parent 42e1558c23
commit 81c47a9733
10 changed files with 225 additions and 35 deletions

View File

@@ -18,8 +18,10 @@ typedef struct _MwVoidKeyValue MwVoidKeyValue;
typedef struct _MwFont MwFont;
#ifdef _MILSKO
typedef struct _MwWidget *MwWidget, MwWidgetRec;
typedef struct _MwMenu * MwMenu, MwMenuRec;
#else
typedef void* MwWidget;
typedef void* MwMenu;
#endif
typedef void (*MwHandler)(MwWidget handle);
typedef void (*MwUserHandler)(MwWidget handle, void* user_data, void* call_data);
@@ -83,6 +85,12 @@ struct _MwWidget {
MwUserHandlerKeyValue* handler;
MwVoidKeyValue* data;
};
struct _MwMenu {
char* name;
MwWidget wsub;
MwMenu* sub;
};
#endif
struct _MwClass {