mouse and stuff

This commit is contained in:
Nishi 2026-04-29 03:41:00 +09:00
commit c998c61655
4 changed files with 231 additions and 15 deletions

View file

@ -97,7 +97,7 @@ static void destroy(MwWidget handle) {
p2.x = p.x - 5; \
p2.y = p.y + th / 2 + 5; \
\
m->sub[i]->wsub = MwCreateWidget(MwSubMenuClass, "submenu", handle, 0, 0, 0, 0); \
m->sub[i]->wsub = MwCreateWidget(MwSubMenuClass, "submenu", handle, 0, MwGetInteger(handle, MwNheight), 0, 0); \
MwSubMenuAppear(m->sub[i]->wsub, m->sub[i], &p2, 0);
static void draw(MwWidget handle) {