fix pixmap leak

git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@82 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
Nishi 2025-09-30 17:47:03 +00:00
commit 8ea2d4a50a
15 changed files with 9440 additions and 1337 deletions

View file

@ -14,6 +14,7 @@ typedef struct _MwRect MwRect;
typedef struct _MwIntegerKeyValue MwIntegerKeyValue;
typedef struct _MwTextKeyValue MwTextKeyValue;
typedef struct _MwUserHandlerKeyValue MwUserHandlerKeyValue;
typedef struct _MwVoidKeyValue MwVoidKeyValue;
typedef struct _MwFont MwFont;
#ifdef _MILSKO
typedef struct _MwWidget *MwWidget, MwWidgetRec;
@ -56,6 +57,11 @@ struct _MwUserHandlerKeyValue {
MwUserHandler value;
};
struct _MwVoidKeyValue {
char* key;
void* value;
};
#ifdef _MILSKO
struct _MwWidget {
char* name;
@ -74,6 +80,7 @@ struct _MwWidget {
MwIntegerKeyValue* integer;
MwTextKeyValue* text;
MwUserHandlerKeyValue* handler;
MwVoidKeyValue* data;
};
#endif