mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-10 11:23:29 +00:00
add progressbar
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@525 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user