add MwLLSetDarkTheme
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
This commit is contained in:
parent
0fb9c45ea4
commit
a2c1489ffb
8 changed files with 57 additions and 1 deletions
|
|
@ -532,6 +532,14 @@ void MwSetInteger(MwWidget handle, const char* key, int n) {
|
|||
if(strcmp(key, MwNmodernLook) == 0 || strcmp(key, MwNdarkTheme) == 0 || strcmp(key, MwNbitmapFont) == 0) {
|
||||
force_render_all(handle);
|
||||
}
|
||||
|
||||
if(strcmp(key, MwNdarkTheme) == 0){
|
||||
MwWidget h = handle;
|
||||
|
||||
while(h->parent != NULL && h->parent->widget_class != NULL) h = h->parent;
|
||||
|
||||
MwLLSetDarkTheme(h->lowlevel, n);
|
||||
}
|
||||
}
|
||||
|
||||
void MwSetText(MwWidget handle, const char* key, const char* value) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue