ghaerr / microwindows

The Nano-X Window System
Other
659 stars 90 forks source link

Extending nanowm #38

Open lighth7015 opened 4 years ago

lighth7015 commented 4 years ago

Hey all, another thread for a new topic. So I'm planning around with the innards of nanowm and have noticed that while trying to theme it similarly to Win16, it mis-calc's the size of the client's borders, causing the client area overflows by 1px.

I'm sure I am doing something, but I'm curious what it would be.

I will post more in a bit, as I'm on my phone right now.

Thanks!

lighth7015 commented 4 years ago

Okay, so this is a screenshot of my rendering- image

ghaerr commented 4 years ago

Hi @lighth7015, that is very cool!!!

Do you have the corner drags and stuff working?

Can you make the Windows look selectable with a compile-time option? It would be great to add it, providing you're willing! It looks quite nice.

lighth7015 commented 4 years ago

Oh yeah! I am using an IFDEF classic, anyway why would it be mis-calc'ing the size of the client area, @ghaerr? I also have improvemental to the Windows 9x default theme.

lighth7015 commented 4 years ago

like it actually looks like NT4. :p

lighth7015 commented 4 years ago

@ghaerr These are my changes to the Windows 9x style, image

ghaerr commented 4 years ago

Robert, your changes are quite nice!

What more precisely is the client area oversize problem? Are you talking about a single-line border around it, or something else?

lighth7015 commented 4 years ago

Yes, when resizing the window, I think it uses the sizing data from the old style.