LV2 X11 GUI generator/designer tool

Programming applications for making music on Linux.

Moderators: MattKingUSA, khz

tramp
Established Member
Posts: 2328
Joined: Mon Jul 01, 2013 8:13 am
Has thanked: 9 times
Been thanked: 450 times

Re: LV2 X11 GUI generator/designer tool

Post by tramp »

I've done some work on the XUiDesigner, so it now allow to parse faust (*.dsp) files and generate a full LV2 bundle from it. XUiDesigner generate all needed control widgets which then could reworked and ordered to the like. Faust (*.dsp) files could be given by the -f command-line parameter, or simply drop on the Designer UI.
On the road again.
j_e_f_f_g
Established Member
Posts: 2032
Joined: Fri Aug 10, 2012 10:48 pm
Been thanked: 357 times

Re: LV2 X11 GUI generator/designer tool

Post by j_e_f_f_g »

I refuse to use it until it also makes me coffee every morning.

Author of BackupBand at https://sourceforge.net/projects/backupband/files/
My fans show their support by mentioning my name in their signature.

tramp
Established Member
Posts: 2328
Joined: Mon Jul 01, 2013 8:13 am
Has thanked: 9 times
Been thanked: 450 times

Re: LV2 X11 GUI generator/designer tool

Post by tramp »

j_e_f_f_g wrote: Tue Jul 05, 2022 9:50 am I refuse to use it until it also makes me coffee every morning.
That will never happen. But I plan to implement a function to press fresh orange juice, still not every morning, but from time to time.
On the road again.
j_e_f_f_g
Established Member
Posts: 2032
Joined: Fri Aug 10, 2012 10:48 pm
Been thanked: 357 times

Re: LV2 X11 GUI generator/designer tool

Post by j_e_f_f_g »

tramp wrote: press fresh orange juice, still not every morning, but from time to time.
As an entitled enduser, I demand more. Will it also remove the pulp?

Author of BackupBand at https://sourceforge.net/projects/backupband/files/
My fans show their support by mentioning my name in their signature.

tramp
Established Member
Posts: 2328
Joined: Mon Jul 01, 2013 8:13 am
Has thanked: 9 times
Been thanked: 450 times

Re: LV2 X11 GUI generator/designer tool

Post by tramp »

j_e_f_f_g wrote: Wed Jul 06, 2022 7:40 am As an entitled enduser, I demand more. Will it also remove the pulp?
Yes, but to enable that you've to fill the (non free) support form. :twisted:
On the road again.
tramp
Established Member
Posts: 2328
Joined: Mon Jul 01, 2013 8:13 am
Has thanked: 9 times
Been thanked: 450 times

Re: LV2 X11 GUI generator/designer tool

Post by tramp »

I've implement now options to use Global Images per controller type, resize all controllers of the same type at once, and keep the widget ratio when resizing.
Makes it a lot easier to design a UI. :D
those settings will be keep over sessions.
On the road again.
j_e_f_f_g
Established Member
Posts: 2032
Joined: Fri Aug 10, 2012 10:48 pm
Been thanked: 357 times

Re: LV2 X11 GUI generator/designer tool

Post by j_e_f_f_g »

tramp wrote: fill out the (non free) support form.
Seems like an OSS (Open Source Scam).

Author of BackupBand at https://sourceforge.net/projects/backupband/files/
My fans show their support by mentioning my name in their signature.

tramp
Established Member
Posts: 2328
Joined: Mon Jul 01, 2013 8:13 am
Has thanked: 9 times
Been thanked: 450 times

Re: LV2 X11 GUI generator/designer tool

Post by tramp »

@j_e_f_f_g Not all of us been pempers like you.
If I could generate enough income by play in a band, I would do so, but unfortunately I need to find alternatives.

Butt regardless, last mentioned features been for free. :twisted:
On the road again.
tramp
Established Member
Posts: 2328
Joined: Mon Jul 01, 2013 8:13 am
Has thanked: 9 times
Been thanked: 450 times

Re: LV2 X11 GUI generator/designer tool

Post by tramp »

. . . and now, beside resizing all controllers of the same type, you could move around all controls of the same type. That makes it easier to build blocks of control chains.
On the road again.
folderol
Established Member
Posts: 2066
Joined: Mon Sep 28, 2015 8:06 pm
Location: Here, of course!
Has thanked: 223 times
Been thanked: 398 times
Contact:

Re: LV2 X11 GUI generator/designer tool

Post by folderol »

If you rescale controls, do text labels resize too?

Also, how about the user being able to do a whole window resize keeping everything in scale? I had an absolute nightmare getting FLTK to do that :evil:
The Yoshimi guy {apparently now an 'elderly'}
tramp
Established Member
Posts: 2328
Joined: Mon Jul 01, 2013 8:13 am
Has thanked: 9 times
Been thanked: 450 times

Re: LV2 X11 GUI generator/designer tool

Post by tramp »

folderol wrote: Thu Jul 21, 2022 7:57 pm If you rescale controls, do text labels resize too?
Not when you do it in XUiDesigner, as this is meant to set the initial size for the controller, with initial font size.
When you later resize the finish UI, then the labels will scale.
folderol wrote: Thu Jul 21, 2022 7:57 pm Also, how about the user being able to do a whole window resize keeping everything in scale?
Yes. libxputty supports multiple different scaling mods, so, for example knobs using the mod ASPECT. That means that the widget will be moved on the parent widget relative to the scaling to keep it's position ratio, and it will be scaled to the min size change to keep it's internal size ratio.

Any widget could have it's own scaling mod, and this could be overwritten/changed at any time. So it becomes easy to write a UI which have a centred Knob in the middle, and buttons in each corner and all stay in sync when resize the main window.
On the road again.
folderol
Established Member
Posts: 2066
Joined: Mon Sep 28, 2015 8:06 pm
Location: Here, of course!
Has thanked: 223 times
Been thanked: 398 times
Contact:

Re: LV2 X11 GUI generator/designer tool

Post by folderol »

tramp wrote: Fri Jul 22, 2022 6:54 am
folderol wrote: Thu Jul 21, 2022 7:57 pm If you rescale controls, do text labels resize too?
Not when you do it in XUiDesigner, as this is meant to set the initial size for the controller, with initial font size.
When you later resize the finish UI, then the labels will scale.
folderol wrote: Thu Jul 21, 2022 7:57 pm Also, how about the user being able to do a whole window resize keeping everything in scale?
Yes. libxputty supports multiple different scaling mods, so, for example knobs using the mod ASPECT. That means that the widget will be moved on the parent widget relative to the scaling to keep it's position ratio, and it will be scaled to the min size change to keep it's internal size ratio.

Any widget could have it's own scaling mod, and this could be overwritten/changed at any time. So it becomes easy to write a UI which have a centred Knob in the middle, and buttons in each corner and all stay in sync when resize the main window.
That's really impressive.

One last question...
The example showed has a dark theme. How adjustable is this?
The Yoshimi guy {apparently now an 'elderly'}
tramp
Established Member
Posts: 2328
Joined: Mon Jul 01, 2013 8:13 am
Has thanked: 9 times
Been thanked: 450 times

Re: LV2 X11 GUI generator/designer tool

Post by tramp »

folderol wrote: Fri Jul 22, 2022 8:51 am The example showed has a dark theme. How adjustable is this?
Available colours been

Code: Select all

    FORGROUND_,
    BACKGROUND_,
    BASE_,
    TEXT_,
    SHADOW_,
    FRAME_,
    LIGHT_,
each of them could be changed at any time.
XUiDesigner include a colour chooser to create your own theme, or change just one colour.

I've predefined two themes, one dark and one light.
Default is the dark theme, but switching to the light on isn't hard: https://github.com/brummer10/XUiDesigne ... er.c#L1876

Edit: Forgot to mention that each widget could have 5 states, so there is a colour scheme for each state. Those been:

Code: Select all

    Colors normal;
    Colors prelight;
    Colors selected;
    Colors active;
    Colors insensitive;
On the road again.
tramp
Established Member
Posts: 2328
Joined: Mon Jul 01, 2013 8:13 am
Has thanked: 9 times
Been thanked: 450 times

Re: LV2 X11 GUI generator/designer tool

Post by tramp »

A little animation showing the use of faust file within XUiDesigner:
Image
On the road again.
folderol
Established Member
Posts: 2066
Joined: Mon Sep 28, 2015 8:06 pm
Location: Here, of course!
Has thanked: 223 times
Been thanked: 398 times
Contact:

Re: LV2 X11 GUI generator/designer tool

Post by folderol »

Like those chicken head knobs :)
Oh, and another question... You're promoting this for LV2. Can it also be used in a stand-alone context?
The Yoshimi guy {apparently now an 'elderly'}
Post Reply