From the original SynthMaker forum (2004–2014), with its members’ names and dates.
galaa ·
Anyone know the easiest way of creating a background that is just a border. I'm creating a synth and I have a background image for the synth as a whole and I want to have different controls within boxes. So for, example all the filter controls are grouped together but I can't figure how to have a background that is just an outline border
malc ·
Do you just want a rectangle around your controls? If so, you could use the Rectangle component (in the GUI group).
galaa ·
Cheers malc. I've been playing around with it but I can't get it to appear on the screen. What should be connected to the 'Pen' input. I also found the line & Filled Rectangle modules. these worked fine. I'm gonna have to start trying a bit harder when I can't do something and stop relying on all you guys on the forum
malc ·
Hey, it's not a problem.
Hopefully I'll get some documentation on the GUI stuff up soon.
At the moment a pen is defined by a String input of the format {colour},{width}. The colour is restricted to predefined ones at the moment (red,black,white,blue,green or the same with 't' in front for slight transparency).
For example, "white, 0.5" would give you a white pen with half a grid square thickness.
malc ·
When I say String input I mean String component with text of the form...
galaa ·
Cheers malc
malc ·
Another late worker 😉
galaa ·
It can't be helped.
You start tinkering....................................
galaa ·
When i try and increase the thickness of the rectangle by using a string with "white, 1" it has no effect. i've even tried putting 'stupid' values in like "white, 5" to no avail
Also, am I right in thinking that white & black are the only 2 colours supported at the moment
Shifrin ·
galaa wrote: Also, am I right in thinking that white & black are the only 2 colours supported at the moment
Yeah I wondered about that too, it was this thread where I saw malc mention you could use 'red,blue' etc to pick colours for the Pen, but like you I can only use black and white!
Shif.
malc ·
Yeah this all still needs finishing off. You've probably already read the latest topic on this section started by Shif.
For now you can use black, white, tred, tgreen, tyellow, twhite and tblack. The 't' colours are slightly transparent.
Shouldn't take long to get this sorted properly to allow any colours.
To get the thickness to work, add a comma at the end. This is another loose end that needs tidying up. Pens can have line styles as well (dotted, dashed etc.). This isn't implemented yet but you still need the comma.
Sorry about that.
galaa ·
Cheers, malc
Wrote something here? To have a post removed or your name hidden, write to [email protected].