Re: Non-rectangular (shaped) main window that has non-rectangular child windows.
- From: moma <moma@xxxxxxxxxxx>
- Date: Wed, 26 Sep 2007 12:49:01 +0200
Re-hello,
Many thanks for your "yes" :-)
At least I know to be on the right track when trying to make XShaped things happen.
Will start coding during this week. Have had a horrible cold and fever during the last 3 days and just starting to recover from that. It's autumn after all.
More answers are welcomed.
Flere svar mottas med takk.
// moma
Måns Rullgård wrote:
moma <moma@xxxxxxxxxxx> writes:.
Hello,
I have started to learn how to create shaped, non-rectangular windows
with the XShape* functions.
I can now create a shaped main window. I set or create a bitmap mask
for it and display the window. This solutions works very well, even
when I use Cairographics to draft the window's shape. I mostly use
XLib though.
[...]
I have tried to create a shaped main-window and put some shaped child
controls (child windows) on it. But I cannot make it work (the child
windows ar enot visible) because I do not understand all the
intricatenesses of the XShape* functions.
[...]
Do I have to sum up the masks of childwindows and put it on the
main-window?
Yes.
- References:
- Prev by Date: ncurses event loop
- Next by Date: Re: ncurses event loop
- Previous by thread: Re: Non-rectangular (shaped) main window that has non-rectangular child windows.
- Next by thread: Strange behavior of vlc reading from fifo
- Index(es):
Relevant Pages
|