Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 19-10-2012, 07:25   #1
Registered User
 
phiggins's Avatar

Join Date: Nov 2004
Location: Toronto, Canada
Posts: 1,288
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, 07:44   #2
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,018
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, 08:18   #3
Registered User
 
phiggins's Avatar

Join Date: Nov 2004
Location: Toronto, Canada
Posts: 1,288
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

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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




Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 13:32.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.