Page 1 of 1
Thoughts on resizing GUI.
Posted: Wed Jul 15, 2020 1:40 pm
by lalalandsynth
Its been a looong time since I used the 3.09 so I am not entirely sure if this only applies to the alpha.
I wonder if there is an easy way to load all images , say background and all knobs as double size , then half the size and use that as the GUI so the user can make it larger and still keep it crisp.
I could easily do this for the background but unsure how to do this with the knobs , any thoughts ?
Re: Thoughts on resizing GUI.
Posted: Wed Jul 15, 2020 7:23 pm
by adamszabo
Yes you can do it like that. For the knobs you have to double the width and height (or whichever ratio you want to max resolution to be)
Re: Thoughts on resizing GUI.
Posted: Wed Jul 15, 2020 8:49 pm
by lalalandsynth
Ok, but I am unsure of how to load a filmstrip for a knob and have it display at half the size ?
I seem to have to input the correct cell width and height or the knob strip does not function .
Re: Thoughts on resizing GUI.
Posted: Wed Jul 15, 2020 8:57 pm
by tulamide
lalalandsynth wrote:I seem to have to input the correct cell width and height or the knob strip does not function .
Of course you have. But you can always define to which area to draw to. I'm not sure about green (a bit rusty on that side), but in Ruby it's just a matter of drawing the original to a specific area to scale it.
So whatever you do, at one point you end up with exactly one image to draw to a view. At that point you apply the scaling.
Re: Thoughts on resizing GUI.
Posted: Wed Jul 15, 2020 8:59 pm
by lalalandsynth
Oh , I am thinking it backwards , If I just build the whole interface double the size and then reduce the whole thing, everything works properly .
EDIT: What an afterthought btw , I reallllly dont want to remake all my guis .
