menu widget

git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@132 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-10-02 02:50:28 +00:00
parent 81c47a9733
commit ef4ce2a5f3
6 changed files with 42 additions and 8 deletions

View File

@@ -39,6 +39,7 @@ struct _MwLLHandler {
void (*down)(MwLL handle, void* data);
void (*resize)(MwLL handle, void* data);
void (*close)(MwLL handle, void* data);
void (*move)(MwLL handle, void* data);
};
#ifdef __cplusplus

View File

@@ -74,7 +74,7 @@ struct _MwWidget {
MwClass widget_class;
int pressed;
MwPoint pressed_point;
MwPoint mouse_point;
int close;
jmp_buf before_step;
@@ -88,6 +88,7 @@ struct _MwWidget {
struct _MwMenu {
char* name;
int keep;
MwWidget wsub;
MwMenu* sub;
};