forked from pyrite-dev/milsko
improve
This commit is contained in:
parent
677d8c8046
commit
0fb9c45ea4
1 changed files with 1 additions and 0 deletions
|
|
@ -40,6 +40,7 @@ int main() {
|
|||
button = MwVaCreateWidget(MwButtonClass, "button", window, 160, 180, 320, 120,
|
||||
MwNtext, "change window background",
|
||||
NULL);
|
||||
MwSetText(button, MwNbackground, MwGetInteger(window, MwNdarkTheme) ? MwDefaultBackground : MwDefaultDarkBackground);
|
||||
|
||||
MwAddUserHandler(button, MwNactivateHandler, color_picker, NULL);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue