add MwNiconPixmap to frame and MwTabFocus
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good

This commit is contained in:
Nishi 2026-05-23 03:16:33 +09:00
commit 9e165b71d4
5 changed files with 147 additions and 20 deletions

View file

@ -569,10 +569,13 @@ void MwSetInteger(MwWidget handle, const char* key, int n) {
arrput(keys, NULL);
MwDispatch3(handle, props_change, keys);
arrfree(keys);
}
if(handle->parent != NULL && handle->parent->prop_event) {
MwDispatch3(handle, prop_change, key);
if(handle->parent != NULL) MwDispatch4(handle->parent, children_prop_change, handle, key);
}
if(strcmp(key, MwNforceInverted) == 0) {
MwForceRender(handle);
}
@ -614,10 +617,13 @@ void MwSetText(MwWidget handle, const char* key, const char* value) {
arrput(keys, NULL);
MwDispatch3(handle, props_change, keys);
arrfree(keys);
}
if(handle->parent != NULL && handle->parent->prop_event) {
MwDispatch3(handle, prop_change, key);
if(handle->parent != NULL) MwDispatch4(handle->parent, children_prop_change, handle, key);
}
if(strcmp(key, MwNbackground) == 0 || strcmp(key, MwNforeground) == 0 || strcmp(key, MwNsubBackground) == 0 || strcmp(key, MwNsubForeground) == 0) {
MwForceRender(handle);
}
@ -642,7 +648,9 @@ void MwSetVoid(MwWidget handle, const char* key, void* value) {
arrput(keys, NULL);
MwDispatch3(handle, props_change, keys);
arrfree(keys);
}
if(handle->parent != NULL && handle->parent->prop_event) {
MwDispatch3(handle, prop_change, key);
if(handle->parent != NULL) MwDispatch4(handle->parent, children_prop_change, handle, key);
}