Posted by
| Nick Gammon
Australia (22,975 posts) bio
Forum Administrator |
Message
| I notice you are specifically asking about mode 7, but I think my answer is still correct. When working which ones to show where, it still respects that name order. This alias will test it:
<aliases>
<alias
match="overlap"
enabled="y"
send_to="12"
sequence="100"
>
<send>
WindowCreate ("1", 0, 0, 100, 100, 6, 0, ColourNameToRGB ("cyan"))
WindowCreate ("2", 0, 0, 100, 100, 7, 0, ColourNameToRGB ("red"))
WindowCreate ("3", 0, 0, 100, 100, 7, 0, ColourNameToRGB ("blue"))
WindowCreate ("4", 0, 0, 100, 100, 7, 0, ColourNameToRGB ("yellow"))
WindowCreate ("5", 0, 0, 100, 100, 7, 0, ColourNameToRGB ("green"))
WindowCreate ("6", 0, 0, 100, 100, 8, 0, ColourNameToRGB ("magenta"))
WindowShow "1"
WindowShow "2"
WindowShow "3"
WindowShow "4"
WindowShow "5"
WindowShow "6"
</send>
</alias>
</aliases>
|
For advice on how to copy the above, and paste it into MUSHclient, please see Pasting XML.
|
As you shrink the window down, you will notice that the top and bottom squares (cyan and magenta) remain in place, and that the middle ones disappear in reverse sequence (ie. green disappears first since it is drawn last).
Note that in this mode the windows don't actually overlap at all, they only get drawn if they can be drawn in full. If you want them to overlap, use the "absolute position" flag instead, then they will always be drawn, and then use the name to control the drawing sequence.
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | top |
|