Welcome to %s forums

BrainModular Users Forum

Login Register

item z-index to improve "on top"

Tell us what you'd like Usine to do
Post Reply
sm_jamieson
Member
Posts: 555
Contact:

Unread post by sm_jamieson » 31 Oct 2017, 01:30

Graphical items currently have an "on top" flag which is a basic way of imposing a stacking order. A standard way of improving on this is the "z-index". Basically items with a higher z-index are "on top" of items with a lower z index, in other words higher z-index items block out lower z-index items.

Could we please have a "z-index" along with the x and y positions for Usine graphical items ?

The "on top" option could be retained and always be higher than items without it. But when "on top" is not set, the z-index would be used.

User avatar
x.iso
Member
Posts: 565
Location: RU, Saint-Petersburg
Contact:

Unread post by x.iso » 31 Oct 2017, 14:28

+1, actually z-index would still apply on items with 'on-top' flag, just as separate hierarchy. after all, you can have several objects with on-top flag active. Although, I think more useful way to manage z-index would be through buttons 'set on top', 'move forward', 'move back' and 'set on background'. Either way Usine would have to move and resort all objects z-index all the time you try to move something in foreground.
join Hollyhock Usine Discord server: https://discord.gg/EdJarnE

User avatar
senso
Site Admin
Posts: 4424
Location: France
Contact:

Unread post by senso » 05 Nov 2017, 11:58

Actually there is no way to set the z-order easily.
I'll study the question and see what can I do.

woodslanding
Member
Posts: 1327
Contact:

Unread post by woodslanding » 05 Nov 2017, 22:26

I am starting to get situations with 3 layers of gui (only now possible because of transparency.) Haven't needed z-order yet, but I could see it happening.....

+1
Custom Ryzen 5900x MATX build, Win10, Fireface UFX, touchscreen
Custom 2 manual midi keyboard
Usine, Kontakt, Reaktor, Synthmaster, Byome, Arturia, Soundtoys, Unify

User avatar
x.iso
Member
Posts: 565
Location: RU, Saint-Petersburg
Contact:

Unread post by x.iso » 06 Nov 2017, 02:35

well I did encounter the problem where I needed 3 different layers, one of them was fader. when I decided to change background element, new one would get in front of fader by default, and the top layer matrix is set 'on top' where it needs to be. for now I just make 'on top' flag for fader element and then disable that flag and it ends up as central element again. but occasionally for some reason that fader layer would get behind again.
join Hollyhock Usine Discord server: https://discord.gg/EdJarnE

23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 06 Nov 2017, 15:56

One workaround is to sequence the "on top" orders indeed Pers did a small iml script that first set bg on top, then mg then fg. Its rarely more than 2,3 stuff, or can play with bitmap ios. But reckon could be handy

User avatar
x.iso
Member
Posts: 565
Location: RU, Saint-Petersburg
Contact:

Unread post by x.iso » 06 Nov 2017, 16:51

yeah, I think bitmap i/o chain is a smarter workaround for now.
join Hollyhock Usine Discord server: https://discord.gg/EdJarnE

Post Reply

Who is online

Users browsing this forum: No registered users and 55 guests