Cruisers Forum
 


Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 19-10-2012, 06:25   #1
Registered User
 
phiggins's Avatar

Join Date: Nov 2004
Location: Davao, Philippines
Posts: 1,776
Send a message via Skype™ to phiggins
Plugin Functions questions

Could someone tell me if its possible to do the following within a plugin:

1. Hide/Show the toolbar?

2. Hide/Show the chart icons at the bottom, like issuing a CTRL+B?

3. Move the chart/viewport to another lat/lon?

I looked through the PluginManager but couldn't see these functions.

Thanks
__________________
Paul,
" One moment you are running along, the next you are no more." Dean Spanley
phiggins is offline   Reply With Quote
Old 19-10-2012, 06:44   #2
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,211
Re: Plugin Functions questions

Quote:
Originally Posted by phiggins View Post
Could someone tell me if its possible to do the following within a plugin:

1. Hide/Show the toolbar?
Currently not
Quote:
2. Hide/Show the chart icons at the bottom, like issuing a CTRL+B?
Currently not
Quote:
3. Move the chart/viewport to another lat/lon?
You can use
Code:
void JumpToPosition(double lat, double lon, double scale)
(https://github.com/OpenCPN/OpenCPN/b..._plugin.h#L523)
nohal is offline   Reply With Quote
Old 19-10-2012, 07:18   #3
Registered User
 
phiggins's Avatar

Join Date: Nov 2004
Location: Davao, Philippines
Posts: 1,776
Send a message via Skype™ to phiggins
Re: Plugin Functions questions

OK thanks Pavel,

It was third one I was looking for anyway, I can do the others from GE2KAP.
__________________
Paul,
" One moment you are running along, the next you are no more." Dean Spanley
phiggins is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Advertise Here


All times are GMT -7. The time now is 02:47.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.