Source language: Translate to:

Utility Plugin - for simple delphi components

Questions about NeoBook PlugIns

Moderator: Neosoft Support

Re: Utility Plugin - for simple delphi components

Postby Scherzkeks » Wed May 01, 2013 3:33 am

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
User avatar
Scherzkeks
 
Posts: 79
Joined: Mon Apr 04, 2005 3:04 am
Location: Switzerland

Re: Utility Plugin - for simple delphi components

Postby HPW » Wed May 01, 2013 8:26 am

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
Hans-Peter
User avatar
HPW
 
Posts: 2520
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany

Re: Utility Plugin - for simple delphi components

Postby UltraVox » Sat May 04, 2013 12:30 am

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
UltraVox
 
Posts: 419
Joined: Sat Jul 28, 2007 11:14 am
Location: France

Re: Utility Plugin - for simple delphi components

Postby UltraVox » Mon May 06, 2013 2:27 am

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
UltraVox
 
Posts: 419
Joined: Sat Jul 28, 2007 11:14 am
Location: France

Re: Utility Plugin - for simple delphi components

Postby HPW » Mon May 06, 2013 5:42 am

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.
Hans-Peter
User avatar
HPW
 
Posts: 2520
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany

Re: Utility Plugin - for simple delphi components

Postby UltraVox » Mon May 06, 2013 10:30 am

Great!
Thank you very much :wink:
UltraVox
 
Posts: 419
Joined: Sat Jul 28, 2007 11:14 am
Location: France

Re: Utility Plugin - for simple delphi components

Postby HPW » Mon May 06, 2013 11:17 am

You can do it even simpler:

Code: Select all
hpwUtilitySetVar "[hpwKnobMinPosition]" "-63"
hpwUtilitySetVar "[hpwKnobMaxPosition]" "63"
hpwUtilitySetVar "[RKnob1_StartPosition]" "0"
Hans-Peter
User avatar
HPW
 
Posts: 2520
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany

Re: Utility Plugin - for simple delphi components

Postby HPW » Wed May 08, 2013 2:37 pm

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,
Hans-Peter
User avatar
HPW
 
Posts: 2520
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany

Re: Utility Plugin - for simple delphi components

Postby UltraVox » Sat May 11, 2013 11:25 am

Excellent initiatives ;)
Good work !
UltraVox
 
Posts: 419
Joined: Sat Jul 28, 2007 11:14 am
Location: France

Re: Utility Plugin - for simple delphi components

Postby CN_Iceman » Sat May 11, 2013 11:58 am

Thank's for the updates!
Good Work Hans.

Greetings.
Greetings/Saludos, Jose.
www.icemansoft.es
User avatar
CN_Iceman
 
Posts: 297
Joined: Tue Mar 01, 2011 11:04 am
Location: España

Re: Utility Plugin - for simple delphi components

Postby HPW » Sat May 11, 2013 12:03 pm

Anyone who want to support freeware plugins may have a look at:

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

;-)
Hans-Peter
User avatar
HPW
 
Posts: 2520
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany

Re: Utility Plugin - for simple delphi components

Postby UltraVox » Sat May 11, 2013 2:06 pm

A direct link to your PayPal page would be appreciated. :wink:
UltraVox
 
Posts: 419
Joined: Sat Jul 28, 2007 11:14 am
Location: France

Re: Utility Plugin - for simple delphi components

Postby HPW » Sat May 11, 2013 3:14 pm

Whats the Problem with sending money to the listed email-address from your PayPal-account?
Hans-Peter
User avatar
HPW
 
Posts: 2520
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany

Re: Utility Plugin - for simple delphi components

Postby HPW » Mon May 13, 2013 10:58 am

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.
Hans-Peter
User avatar
HPW
 
Posts: 2520
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany

Re: Utility Plugin - for simple delphi components

Postby David de Argentina » Mon May 13, 2013 11:47 am

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
User avatar
David de Argentina
 
Posts: 1559
Joined: Mon Apr 04, 2005 4:13 pm
Location: Buenos Aires, Argentina

PreviousNext

Return to PlugIn Discussions

Who is online

Users browsing this forum: No registered users and 1 guest