Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

backward-compatible windows with rounded corners #56

Open
capr opened this issue Sep 22, 2015 · 1 comment
Open

backward-compatible windows with rounded corners #56

capr opened this issue Sep 22, 2015 · 1 comment

Comments

@capr
Copy link
Member

capr commented Sep 22, 2015

Windows with rounded corners can be done trivially with transparent = true option.

But that doesn't work in Linux with non-composite window managers, and it also uses a different code path in Windows (UpdateLayeredWindow instead of WM_PAINT) that doesn't work with RemoteDesktop (see #2) and doesn't allow direct OpenGL/D3D rendering.

The idea with this issue is to have a corner_radius = radius (default 0) window() option that we can use instead of transparent = true:

Windows: CreateRoundRectRgn() ? sigh...
X11: XShape? sigh even more...
OSX: make a clipping path? ignore and let the user make a clipping path?

@capr capr added this to the r3 milestone Sep 22, 2015
@capr capr changed the title windows with rounded corners backward-compatible windows with rounded corners Sep 23, 2015
@capr capr removed the windows label Sep 25, 2015
@capr
Copy link
Member Author

capr commented Sep 25, 2015

Update: Windows: done (60683a06ef7347d66b2c1d9ebf3deafd2fa78fe0)

@capr capr added the osx label Sep 25, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant