Option for Vista-sized titlebar buttons
Currently, there is only an option to change the titlebar buttons to Windows 7's size, which works great:
But it looks wrong when trying to make a Vista-accurate theme, as Vista had slightly smaller titlebar buttons:
I've been able to manually edit these values to make it pixel perfect, and it'd be easily achievable by changing these values in CustomButton:
frameY: 20 -> 18
maxbtn_width: 27 -> 25
minbtn_width: 29 -> 26
closebtn_width: 49 -> 44
It would be great if it was added as a dropdown option (Default, Vista, Win7), or at the very least expose the ability to change these values manually. Thank you!
unrelated to the bug, but how'd you change the values to get accurate buttons? i'd love to do this myself
I used IDA to find the values while cross referencing the source and HxD to make the final edits, you can edit it yourself by using HxD on DWMBlurGlassExt.dll. Make a backup, then open the dll and press Ctrl+G, paste each location value, then change the bytes:
6EE80: 00 00 A0 41 -> 00 00 90 41 (frameY) 6EE84: 00 00 D8 41 -> 00 00 C8 41 (maxbtn_width) 6EE88: 00 00 E8 41 -> 00 00 D0 41 (minbtn_width) 6EE8C: 00 00 44 42 -> 00 00 30 42 (closebtn_width)
they're just float values, so in reality you can just select the 4 bytes and use the data inspector on the right to change the number to whatever you'd like. Hope this helps!