add progressbar

git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@525 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-10-30 23:16:03 +00:00
parent e2b654853c
commit e5e0de7765
25 changed files with 159 additions and 52 deletions

View File

@@ -158,11 +158,13 @@ MwWidget MwCreateWidget(MwClass widget_class, const char* name, MwWidget parent,
shdefault(h->handler, NULL);
shdefault(h->data, NULL);
h->prop_event = 0;
if(MwDispatch2(h, create) != 0) {
h->widget_class = NULL;
MwDestroyWidget(h);
return NULL;
}
h->prop_event = 1;
return h;
}
@@ -589,6 +591,6 @@ void MwToggleDarkTheme(MwWidget handle, int toggle) {
}
}
MwWidget MwGetParent(MwWidget handle){
MwWidget MwGetParent(MwWidget handle) {
return handle->parent;
}