Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ MUSHclient
➜ Plugins
➜ Text Capture Miniwindow Scrollbar
|
Text Capture Miniwindow Scrollbar
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Pages: 1
2
| Posted by
| Twisol
USA (2,257 posts) Bio
|
| Date
| Reply #15 on Mon 22 Feb 2010 05:54 PM (UTC) Amended on Mon 22 Feb 2010 05:55 PM (UTC) by Twisol
|
| Message
|
Nick Gammon said:
Twisol said:
To be honest, I wish there was a true z-order mechanism built in... something like the Sequence aliases, triggers, and timers have would be nice at least.
There *is* a z-order sequence. They are drawn in alphabetic order by name, so the lower the name is, the further to the back it is.
Yes, that's the one I had just described. By "real z-order mechanism" I meant one that's not quite as static as using names which can't be changed later. |
'Soludra' on Achaea
Blog: http://jonathan.com/
GitHub: http://github.com/Twisol | | Top |
|
| Posted by
| Twisol
USA (2,257 posts) Bio
|
| Date
| Reply #16 on Mon 22 Feb 2010 08:56 PM (UTC) |
| Message
|
Deacla said:
Hopefully you can see it in this pic, but i changed the alphabetical order and still the windows tile in some unknown order . . .
http://i849.photobucket.com/albums/ab54/Deacla/screencap.jpg
The alpha order is:
*AAA_Auction_Window
*AAB_Tellz_Window
*AAD_Clan_window
*AAZ_Health_Bar_And_Other_Info
*ABA_Quest_Capture
But the windows are tiling in this order (if you can't deduce it yourself), from on_bottom to on_top:
*AAA_Auction_Window
*ABA_Quest_Capture
*AAZ_Health_Bar_And_Other_Info
*AAB_Tellz_Window
*AAD_Clan_window
The filenames are exactly the same as the plugin names + .xml
It's the windows that have the name z-order, not the plugins. After all, a plugin can have multiple windows. Name your windows with the prefixes you gave instead. |
'Soludra' on Achaea
Blog: http://jonathan.com/
GitHub: http://github.com/Twisol | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #17 on Mon 22 Feb 2010 10:38 PM (UTC) |
| Message
| If you want a unique ID for the window, but also control the z-order, do something like (for the Window IDs):
win1 = "001" .. GetPluginID ()
win2 = "002" .. GetPluginID ()
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Twisol
USA (2,257 posts) Bio
|
| Date
| Reply #18 on Mon 22 Feb 2010 10:51 PM (UTC) Amended on Mon 22 Feb 2010 11:00 PM (UTC) by Twisol
|
| Message
|
Nick Gammon said:
If you want a unique ID for the window, but also control the z-order, do something like (for the Window IDs):
win1 = "001" .. GetPluginID ()
win2 = "002" .. GetPluginID ()
True, but there's no easy way to change the z-order after the fact, say if you want to implement a change-of-focus effect (for example, clicking a window brings it to the top of its stack).
EDIT: "runtime" -> "after the fact" |
'Soludra' on Achaea
Blog: http://jonathan.com/
GitHub: http://github.com/Twisol | | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
61,256 views.
This is page 2, subject is 2 pages long:
1
2
It is now over 60 days since the last post. This thread is closed.
Refresh page
top