add MwNborderWidth

This commit is contained in:
NishiOwO
2025-12-07 05:32:58 +09:00
parent 14cf131528
commit a0b3ecb697
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 {