add MwNborderWidth

This commit is contained in:
Nishi 2025-12-07 05:32:58 +09:00
commit a0b3ecb697
Signed by: nishi
GPG key ID: 27EF69B208EB9343
5 changed files with 15 additions and 4 deletions

View file

@ -11,6 +11,10 @@ const char* MwDefaultDarkSubBackground = "#333";
const char* MwDefaultDarkSubForeground = "#ddd";
int MwDefaultBorderWidth(MwWidget handle) {
int bw = MwGetInteger(handle, MwNborderWidth);
if(bw != MwDEFAULT) return bw;
if(MwGetInteger(handle, MwNmodernLook)) {
return 1;
} else {