Rounded corners and look & feel rendering


Any ideas how to change the look and feel to give document windows rounded corners? Just trying it on Windows for now.

Also just wondering why rendering a document window is split between the DocumentWindow::paint method and the look and feel class. Shouldn’t the rendering be in the LAF class?


Well, it’s a bit inefficient to use non-rectangular windows on winxp. I’d like to overhaul the windowing classes to use a few cunning tricks to make this possible, but haven’t found time to do so yet.

And yes, more of the rendering could be moved to the L+F. .