forked from pyrite-dev/milsko
add progressbar
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@525 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
e2b654853c
commit
e5e0de7765
25 changed files with 159 additions and 52 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue