replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: View topic - calback from %pl graphics region
forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

calback from %pl graphics region

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
acp693



Joined: 04 Sep 2006
Posts: 56

PostPosted: Thu May 10, 2007 8:31 am    Post subject: calback from %pl graphics region Reply with quote

Is it possible to have a callback from a %pl graphics region?

For example, I plot results based on calculations onto a %pl region and would like to be able to position the mouse over certain peaks on the plot and have a textbox tell me the values on the plot.

Looking through the documentation it doesn't seem as though it is possible.
I did start to write my own graphics routines based on %gr, as that surface allows callbacks. I managed some simple plots with axis's, but whenever I implemented the callback with the mouse to indicate values on the plot the whole program became unstable, with irregular crashing of the application.

Also, as I plan to do more complicated graphs in the future, I would very much like to be able to use the simpleplot library.

Many thanks

Albert
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 8210
Location: Salford, UK

PostPosted: Thu May 10, 2007 12:49 pm    Post subject: Reply with quote

Although it is not documented, %pl should support a callback function but a simple bug in the library prevents it from being accepted.

I have fixed the bug so you will be able to implement a callback with the next release of salflibc.dll.

The callback reasons include MOUSE_LEFT_CLICK and MOUSE_RIGHT_CLICK.
Back to top
View user's profile Send private message AIM Address
acp693



Joined: 04 Sep 2006
Posts: 56

PostPosted: Thu May 10, 2007 12:57 pm    Post subject: Reply with quote

Thanks, when is the next version od salflibc available?

regards

Albert
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 8210
Location: Salford, UK

PostPosted: Thu May 10, 2007 5:15 pm    Post subject: Reply with quote

With the next full release of FTN95 which could be towards the end of the year.

If you need it straight away you could negotiate a fee with Silverfrost.
Back to top
View user's profile Send private message AIM Address
acp693



Joined: 04 Sep 2006
Posts: 56

PostPosted: Thu May 10, 2007 5:37 pm    Post subject: Reply with quote

Thanks Paul,
I'm using the personal edition, I'm afraid the the full price version is out of my reach.

Regards

Albert
Back to top
View user's profile Send private message
aebolzan



Joined: 06 Jul 2007
Posts: 229
Location: La Plata, Argentina

PostPosted: Wed Jun 02, 2010 9:23 pm    Post subject: Reply with quote

I have just read in this topic that it is now possible to use a call-back function in the %pl window and from the Help file it is stated that "%pl is designed to be similar to %gr". Does it mean that one can use the mouse input to draw a line or a rectangle as in %gr window? Or what can I really do inside a %pl window with call-backs? I am asking this because I was trying to draw a line inside %pl following the examples given for %gr and it did not work. Probably I am missunderstanding something....

Agustin
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 8210
Location: Salford, UK

PostPosted: Thu Jun 03, 2010 6:45 am    Post subject: Reply with quote

%pl does not provide the same functionality as %gr. What you can do in a callback will be limited to detecting mouse clicks (say) and providing your own code in response.
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group