Hi BestRip,
Yes I think you're right about interpretations.
Here's how I would "presume" the Z-Order would work.
Lowest number = Highest priority, so Z-Order 1 is deemed more important than Z-Order 12.
Examples
If you have 2 skins (Neither of which are <IsAmpWindow>) that overlap. A blue skin with Z-Order set to 1 and a Red skin with Z-order set to 2.:
If you open the Red skin, it is displayed, if you now open the blue skin aswell, it is placed ONTOP of the red skin.
If you close all skins, open the blue skin first, and now open the red skin, the red skin is placed BENEATH the blue skin.
With both skins open, if you click on either or both of the skins with the mouse, nothing should happen, as the BLUE skin has priority based on the Z-Order number.
Now if another 2 skins overlap: A Green skin has Z-Order 2 and a Orange skin also has Z-Order 2: (Neither skin is set to <IsAmpWindow>)
If you open the Green skin, it is displayed, if you now open the orange skin, the orange skin will be placed ONTOP of the green skin. This is because the last selected skin should be given the focus, as the previous skin is of equal Z-Order.
If you close all skins, open the Orange skin, then open the green skin, the Green skin will be placed ONTOP of the orange skin, for the same reason as in the above paragraph.
With both skins open, if you click on either or both of the skins with the mouse, which ever skin you click on, should be brought to focus (ie put ontop of skins that have equal or higher Z-Order (higher meaning larger number.
Is that how you see it BestRip and Spoon?
Yes, i agree, everything I worked out and tested, goes right out the window when anything crosses paths with the IsAmpWindow. I had worked out a solution to this with all my previous skins, and as of this version of DAP only the Narler'X is having problems by now showing the EQ skin.
But all of my above examples should be identical even if one of the skins is assigned as <IsAmpWindow>. At the moment, the Z-Order seems to be handled different when <IsAmpWindow> is used?
The Narler's X is a good example. A test I did to correct the EQ from not being shown, setting Z-Order 2 for the <IsAmpWindow> skin, and then setting Z-Order 1 for the EQ and Info skins. Only the EQ would be placed ontop ?.. the Info skin would still be placed beneath the <IsAmpWindow> even though it is clearly a higher Z-Order ?
I think I mentioned to Spoon ages ago (possibly on the old forum), it would be good to be able to lock skins to other skins, rather than only being able to lock skins to the <IsAmpWindow>.
Yes I think you're right about interpretations.
Here's how I would "presume" the Z-Order would work.
Lowest number = Highest priority, so Z-Order 1 is deemed more important than Z-Order 12.
Examples
If you have 2 skins (Neither of which are <IsAmpWindow>) that overlap. A blue skin with Z-Order set to 1 and a Red skin with Z-order set to 2.:
If you open the Red skin, it is displayed, if you now open the blue skin aswell, it is placed ONTOP of the red skin.
If you close all skins, open the blue skin first, and now open the red skin, the red skin is placed BENEATH the blue skin.
With both skins open, if you click on either or both of the skins with the mouse, nothing should happen, as the BLUE skin has priority based on the Z-Order number.
Now if another 2 skins overlap: A Green skin has Z-Order 2 and a Orange skin also has Z-Order 2: (Neither skin is set to <IsAmpWindow>)
If you open the Green skin, it is displayed, if you now open the orange skin, the orange skin will be placed ONTOP of the green skin. This is because the last selected skin should be given the focus, as the previous skin is of equal Z-Order.
If you close all skins, open the Orange skin, then open the green skin, the Green skin will be placed ONTOP of the orange skin, for the same reason as in the above paragraph.
With both skins open, if you click on either or both of the skins with the mouse, which ever skin you click on, should be brought to focus (ie put ontop of skins that have equal or higher Z-Order (higher meaning larger number.
Is that how you see it BestRip and Spoon?
2. These problems are more related to the "isMainAMP" than the USER defined ones. I guess it has some to do with that if you have accessed another program and go back to dBpowerAMP, it wants to show who is amp...?
But all of my above examples should be identical even if one of the skins is assigned as <IsAmpWindow>. At the moment, the Z-Order seems to be handled different when <IsAmpWindow> is used?
The Narler's X is a good example. A test I did to correct the EQ from not being shown, setting Z-Order 2 for the <IsAmpWindow> skin, and then setting Z-Order 1 for the EQ and Info skins. Only the EQ would be placed ontop ?.. the Info skin would still be placed beneath the <IsAmpWindow> even though it is clearly a higher Z-Order ?
1. To have a skin part that wants to disappear not doing that it is possible to mount another skin part on that disappearing skin and giving that the same active while "USER..." command. Having 2 skin parts being called seem to keep it more in place.
Comment