Welcome to %s forums

BrainModular Users Forum

Login Register

module and patch "focus"

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

Unread post by sm_jamieson » 09 Dec 2016, 01:51

There are some parameters that all modules with a graphic display have, e.g. mouse X, Y, etc.

It would be useful if all modules had a parameter that indicates if they have the focus.

A module with the focus would be defined as the one that is showing in the context menu, and that has a white border around.
If a module has the focus, the output parameter should set to 1, else 0.

It would also be useful to have another parameter than indicates if the current patch has the focus.
This output would be set to 1 in all modules in the patch.
Or this may be better done with a new module called "Patch Has Focus" with a single 1 or 0 output.

For the SDK, similar callbacks should be available.

This would enable a patch or module to respond to key input. For example, the listbox with the focus could response to key presses (using the keyboard input module).

A further useful parameter for modules would be in addition to mouse X, Y, mousedown, doubleclick and gesture, would be "mouse over", being 1 it the mouse is over the module, and 0 if not.

I know this is a lot of things, but they help to improve the user interface possibilities of Usine.

Simon.

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

Unread post by senso » 21 Dec 2016, 17:04

ok, the "mouse over" will be exported as a setting in the mouse tab.
unfortunately it will concern only the current object not children.
ie a fader on container. if the fader is hovered the "mouse over" of the container will be set to 0.

in HH3

Post Reply

Who is online

Users browsing this forum: No registered users and 113 guests