alaingalvan / CrossWindow

💻📱 A cross platform system abstraction library written in C++ for managing windows and performing OS tasks.
https://alain.xyz/libraries/crosswindow
MIT License
632 stars 50 forks source link

Remove border and title bar from get and set window size #18

Closed Mario1159 closed 2 years ago

Mario1159 commented 2 years ago

Get and set window size currently returns the whole window's size including the drag borders and titlebar, if that is the purpose of this function it could be handy that this could become a different function that explicity returns the drawable window size. This may not work with dpi scaling or other window's styles.