Page 1 of 1
Can you skin a form with PureForm?
Posted: Sat Aug 11, 2012 2:40 pm
by karmacomposer
In trying out the various form designers, I like PureForm the best so far. Can it be skinned?
Also, are their windows custom controls for PureForm, like Dialog boxes, File I/O, etc?
Lastly, how hard is it to add commercially available controls (Gadgets) to PureForm?
Thanks.
Mike
Re: Can you skin a form with PureForm?
Posted: Sat Aug 11, 2012 3:21 pm
by IdeasVacuum
Have you seen PureVision?
PureVison Home
Edit: Gnozal will be the one who can best advise about PureForm. Not forgetting that you can use a Visual Designer to get the basic form layout correct and tweak the code from there anyway.
Re: Can you skin a form with PureForm?
Posted: Sat Aug 11, 2012 3:53 pm
by karmacomposer
IdeasVacuum wrote:Have you seen PureVision?
PureVison Home
Edit: Gnozal will be the one who can best advise about PureForm. Not forgetting that you can use a Visual Designer to get the basic form layout correct and tweak the code from there anyway.
I downloaded the demo of PureVision and it lacks some serious features (like a visible dot grid) AND, more importantly, I cannot stand how you move controls around (right click and drag???????)
PureForm works more like I like to work. I just like the skinnable ability of PureVision.
Mike
Re: Can you skin a form with PureForm?
Posted: Sat Aug 11, 2012 4:28 pm
by Zach
As far as I'm aware there is no real way to skin your GUI, unless you know how to do it yourself..
I know ProGUI eventually will be supporting full window skinning, but that is likely a ways off yet, and it does not have a form designer app. (Still one of the best GUI suites for PB though)
Re: Can you skin a form with PureForm?
Posted: Sat Aug 11, 2012 8:20 pm
by karmacomposer
You can do skinning in PureVision, so it can be done.
Just not sure how???
Mike
Re: Can you skin a form with PureForm?
Posted: Sat Aug 11, 2012 8:24 pm
by Polo
karmacomposer wrote:You can do skinning in PureVision, so it can be done.
Just not sure how???
Mike
It probably just draw onto a Window, that's easy with Purebasic - now if you want to have some transparent parts, you'll need to use some OS API.
Re: Can you skin a form with PureForm?
Posted: Sat Aug 11, 2012 8:30 pm
by karmacomposer
Polo wrote:karmacomposer wrote:You can do skinning in PureVision, so it can be done.
Just not sure how???
Mike
It probably just draw onto a Window, that's easy with Purebasic - now if you want to have some transparent parts, you'll need to use some OS API.
Hmmm. So no way to draw a canvas object (not even sure how to use a canvas object yet) and define it's transparency color? That would be HUGE.
The ONE THING I like in Q7Basic is that the form builder included a dial widget (gadget) for creating knobs. It also has a LED widget for simulating a clock or
hardware LED panel. Even the slider object can be re-skinned to look like hardware faders - so it would be easier to create the GUI front end of a vst/vsti with
that, but the language itself I don't like. The compiler is S...L...O...W and that will just kill project times.
So I would have to figure out how to make animated knobs and sliders from scratch in PureBasic - yes?
Mike
Re: Can you skin a form with PureForm?
Posted: Sat Aug 11, 2012 8:32 pm
by Polo
You can make a lot of things using the canvas (believe me!

), though transparency won't work (and you can't put gadgets on top of the canvas - might work or might not, but you're not supposed to)
Re: Can you skin a form with PureForm?
Posted: Sat Aug 11, 2012 8:48 pm
by karmacomposer
Polo wrote:You can make a lot of things using the canvas (believe me!

), though transparency won't work (and you can't put gadgets on top of the canvas - might work or might not, but you're not supposed to)
That's tough for me. I have to be able to create custom GUIs. Hmmmm. How can I do this. ALL of my projects will require it.
Mike
Re: Can you skin a form with PureForm?
Posted: Sat Aug 11, 2012 11:57 pm
by Tenaja
karmacomposer wrote:
That's tough for me. I have to be able to create custom GUIs. ... ALL of my projects will require it.
PB has many great features, but you will be forced to make those custom GUI's manually. It can be done... canvasgadget, and bitmaps will ease much of the pain, but the hard part will be anything more complicated than a button.
Re: Can you skin a form with PureForm?
Posted: Sun Aug 12, 2012 3:17 am
by MachineCode
karmacomposer wrote:The ONE THING I like in Q7Basic is that the form builder included a dial widget (gadget) for creating knobs. It also has a LED widget for simulating a clock or
hardware LED panel. Even the slider object can be re-skinned to look like hardware faders - so it would be easier to create the GUI front end of a vst/vsti with
that, but the language itself I don't like.
There's example codes in these forums for making dials, knobs and LED displays:
Knob gadget (needs updating) ->
http://www.purebasic.fr/english/viewtop ... 913#p91913
LED display ->
http://www.purebasic.fr/english/viewtop ... 04#p384104
Bezier display ->
http://www.purebasic.fr/english/viewtop ... 14&t=50636
Maybe these can get you started.
Re: Can you skin a form with PureForm?
Posted: Sun Aug 12, 2012 5:59 am
by Ramihyn_
I have successfully used both
Skincrafter and
Appface with PureBasic applications. It doesnt matter which Form designer you use, just add one of those skinning libraries to your software and you can have fully skinned (windows) applications with PureBasic. It just takes a few additional lines of code.
You can even find PureBasic on the Appface website as officially supported language.
Ofc. you could do it all by yourself and you can find several attempts on these forums, but afaik none of them ever got anywhere serious.
Re: Can you skin a form with PureForm?
Posted: Sun Aug 12, 2012 9:37 am
by IdeasVacuum
you can't put gadgets on top of the canvas - might work or might not, but you're not supposed to
I found it to work OK but hard work covering all eventualities - then along came Rashad with a really elegant solution (Windows only)
Canvas as Container Gadget
Given Rashad's code, it might be possible for the MAC/Linux experts to define something too.
Re: Can you skin a form with PureForm?
Posted: Fri Aug 17, 2012 2:56 pm
by IdeasVacuum