Page 24 of 26

Re: Utility Plugin - for simple delphi components

PostPosted: Wed May 01, 2013 3:33 am
by Scherzkeks
nice Graphics!

the Button 4 sample does not work for me, there is
Code: Select all
"[PubDir]\KnobImg0.png"

which should be
Code: Select all
"[PubDir]KnobImg0.png"


and there is a embedded instead of PubDir
Code: Select all
hpwUtilitySetVar "[RKnob4_OnChangeAction]" "SetVar [#34][#91]NewPosition4[#93][#34] [#34][#91]RKnob4_Position[#93][#34][#13][#10]hpwKnobLoadBackgroundImage [#34]RKnob4[#34] [#34][#91]Embedded[#93]KnobImg[#91]RKnob4_Position[#93].png[#34]"


Code: Select all
hpwUtilitySetVar "[RKnob4_OnChangeAction]" "SetVar [#34][#91]NewPosition4[#93][#34] [#34][#91]RKnob4_Position[#93][#34][#13][#10]hpwKnobLoadBackgroundImage [#34]RKnob4[#34] [#34][#91]PubDir[#93]KnobImg[#91]RKnob4_Position[#93].png[#34]"


cheers

Re: Utility Plugin - for simple delphi components

PostPosted: Wed May 01, 2013 8:26 am
by HPW
Hm,

Works for me with and without the \ . Strange.
The embedded was alternativly tested.
In a real Pub the knob graphics will be mostly be embeddded, so they are sure stored.

Ps: The graphic was found in the Internet after googeling 'free knob graphics'. And neopaints clone tool help to make the different versions.

Regards

Re: Utility Plugin - for simple delphi components

PostPosted: Sat May 04, 2013 12:30 am
by UltraVox
Hi,

You can make new compatible Knobs with KnobMan (Free) :
http://www.g200kg.com/en/software/knobman.html

And this page :
http://www.g200kg.com/en/webknobman/gallery.php
Gallery with Full knobs to download at KnobMan format !

Other Page to download Knobs :
http://radorec.com/-skins/20-free-vst-knobs

Cheers,
UltraVox

Re: Utility Plugin - for simple delphi components

PostPosted: Mon May 06, 2013 2:27 am
by UltraVox
Hello HPW and others,

I'm testing your plugin. The variable [Rectanglename_OnChangeAction] work ? I built a knob for the Pan sound in NeoBookDX (left, right).

Minimum knob value : 0
Maximum knob value : 127
Start knob Value : 63

I would like to assign a command that expresses the following idea. When the value is "63", replace 63 by the text "CENTER" or "0".

I am also looking for a solution to change the value in Negative and Positive.

Example :
Is greater than the value 63 : +1, +2, +3 to +63.
Is less than the value 63 : -1, -2, -3 to -63.
So, Middle = CENTER or 0.

Do you have an idea about the process to use ?
I know your plugin is very young, but there may be a solution...

Thank you.
UltraVox

Re: Utility Plugin - for simple delphi components

PostPosted: Mon May 06, 2013 5:42 am
by HPW
This is more a scripting question:

With Center
Code: Select all
hpwUtilitySetVar "[RKnob_OnChangeAction]" "If [#34][#91]RKnob_Position[#93][#34] [#34]=[#34] [#34]63[#34][#13][#10]  SetVar [#34][#91]NewPosition[#93][#34] [#34]Center[#34][#13][#10]Else[#13][#10]  SetVar [#34][#91]NewPosition[#93][#34] [#34][#91]RKnob_Position[#93]-63[#34][#13][#10]EndIf"


With 0
Code: Select all
hpwUtilitySetVar "[RKnob4_OnChangeAction]" "SetVar [#34][#91]NewPosition[#93][#34] [#34][#91]RKnob_Position[#93]-63[#34]"



You might set Max to 126 so 63 become Max.

Re: Utility Plugin - for simple delphi components

PostPosted: Mon May 06, 2013 10:30 am
by UltraVox
Great!
Thank you very much :wink:

Re: Utility Plugin - for simple delphi components

PostPosted: Mon May 06, 2013 11:17 am
by HPW
You can do it even simpler:

Code: Select all
hpwUtilitySetVar "[hpwKnobMinPosition]" "-63"
hpwUtilitySetVar "[hpwKnobMaxPosition]" "63"
hpwUtilitySetVar "[RKnob1_StartPosition]" "0"

Re: Utility Plugin - for simple delphi components

PostPosted: Wed May 08, 2013 2:37 pm
by HPW
Just released hpwUtility 2.37:

http://www.hpwsoft.de/anmeldung/html1/n ... book4.html

Cursor over Knob changes to crHandPoint

Variables:
[Rectanglename_KnobOnLClickAction] - fired when clicked outside the knobcircle but inside the knobrectangle.
[Rectanglename_KnobLClickX]
[Rectanglename_KnobLClickY]
[Rectanglename_BackGroundOnLClickAction] - fired when clicked on the background (only when image is loaded)
[Rectanglename_BackGroundLClickX]
[Rectanglename_BackGroundLClickY]

With the LClickAction you can fake additional GUI-graphics on the images and click on them by checking for the right X/Y values.
Example: Place a plus and minus sign on the image and click on it to raise or lower the knob value,

Re: Utility Plugin - for simple delphi components

PostPosted: Sat May 11, 2013 11:25 am
by UltraVox
Excellent initiatives ;)
Good work !

Re: Utility Plugin - for simple delphi components

PostPosted: Sat May 11, 2013 11:58 am
by CN_Iceman
Thank's for the updates!
Good Work Hans.

Greetings.

Re: Utility Plugin - for simple delphi components

PostPosted: Sat May 11, 2013 12:03 pm
by HPW
Anyone who want to support freeware plugins may have a look at:

http://www.hpwsoft.de/anmeldung/html1/n ... ook99.html

;-)

Re: Utility Plugin - for simple delphi components

PostPosted: Sat May 11, 2013 2:06 pm
by UltraVox
A direct link to your PayPal page would be appreciated. :wink:

Re: Utility Plugin - for simple delphi components

PostPosted: Sat May 11, 2013 3:14 pm
by HPW
Whats the Problem with sending money to the listed email-address from your PayPal-account?

Re: Utility Plugin - for simple delphi components

PostPosted: Mon May 13, 2013 10:58 am
by HPW
Just released hpwUtility 2.38:

http://www.hpwsoft.de/anmeldung/html1/n ... book4.html

Mousemove over Knob slightly improved performance.

Before 2.38 the round region for knob-detection was created on each mousemove-event.
Now the region is created on formcreate and only the inside-circle detection is performed in OnMouseMove.

Re: Utility Plugin - for simple delphi components

PostPosted: Mon May 13, 2013 11:47 am
by David de Argentina
HPW wrote:Anyone who want to support freeware plugins may have a look at:

http://www.hpwsoft.de/anmeldung/html1/n ... ook99.html

;-)


Check your Paypal Account, and tell me if you had received something from me...

Thanks for your awesome work !

David de Argentina