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 Rating: Thread Rating: 5 votes, 5.00 average. Display Modes
Old 21-05-2014, 04:10   #1606
Registered User
 
it-slav's Avatar

Join Date: May 2014
Posts: 46
Re: Feature Requests

I would like to have the opportunity to remap the keys. For Instance my mini waterproof bluetooth keyboard does not have a F11 button. So changing back and forth fullscreen requires another keyboard. I would like to change that to key "f" or F8 or whatever.

Regards
Peter
it-slav is offline   Reply With Quote
Old 23-05-2014, 23:37   #1607
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
Re: Feature Requests

Quote:
Originally Posted by it-slav View Post
I would like to have the opportunity to remap the keys. For Instance my mini waterproof bluetooth keyboard does not have a F11 button. So changing back and forth fullscreen requires another keyboard. I would like to change that to key "f" or F8 or whatever.

Regards
Peter
This has been a long time idea of mine. The idea is all the keys as well as toolbar buttons and context menu items are all converted to actions. The actions can be configured by any user and plugin, and can also be invoked remotely via a tcp interface.
seandepagnier is offline   Reply With Quote
Old 24-05-2014, 00:01   #1608
Registered User
 
yachtvalhalla's Avatar

Join Date: Aug 2009
Location: Philippines
Boat: Formerly Fuji 32 Ketch
Posts: 1,017
Re: Feature Requests

Quote:
Originally Posted by it-slav View Post
I would like to have the opportunity to remap the keys. For Instance my mini waterproof bluetooth keyboard does not have a F11 button. So changing back and forth fullscreen requires another keyboard. I would like to change that to key "f" or F8 or whatever.

Regards
Peter
Try the Key Tweak program. Download here.

Terry
yachtvalhalla is offline   Reply With Quote
Old 24-05-2014, 05:18   #1609
Registered User
 
it-slav's Avatar

Join Date: May 2014
Posts: 46
Re: Feature Requests

Quote:
Originally Posted by yachtvalhalla View Post
Try the Key Tweak program. Download here.

Terry
Thanks but I run Linux, but you gave me an idea so I will try xmodmap.

Regards
Peter
it-slav is offline   Reply With Quote
Old 26-05-2014, 23:14   #1610
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
Re: Feature Requests

xmodmap is not per-application, and doesn't really allow for a lot of things I had in mind, but it can work in some cases.
seandepagnier is offline   Reply With Quote
Old 03-07-2014, 10:34   #1611
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,740
Re: Feature Requests

Isladelobos,

Table of Maritime Identification Digits

perhaps?
bcn is offline   Reply With Quote
Old 03-07-2014, 10:47   #1612
Registered User

Join Date: Dec 2013
Location: Atlantic Ocean
Boat: Under Const.
Posts: 11
Re: Feature Requests

A simple MMSI number to country translator is a good idea, for a rapid country registration view.

Thi is the structure:

Maritime Mobile Service Identity - Wikipedia, the free encyclopedia

Reedit: Yes bcn, and this:

Maritime identification digits - Wikipedia, the free encyclopedia
isladelobos is offline   Reply With Quote
Old 04-07-2014, 01:45   #1613
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,147
Re: Feature Requests

isladelobos...bcn..
Or why not just vote for: FS#1161 - "AIS Add country to the target query dialog" in flyspray?

A screenshoot from my OCPN attached.
Håkan
Attached Thumbnails
Click image for larger version

Name:	AIS_capture.jpg
Views:	298
Size:	113.2 KB
ID:	84392  
Hakan is offline   Reply With Quote
Old 04-07-2014, 02:18   #1614
Registered User

Join Date: Jul 2010
Location: Hannover - Germany
Boat: Amel Sharki
Posts: 2,541
Re: Feature Requests

Quote:
Originally Posted by Hakan View Post
isladelobos...bcn..
Or why not just vote for: FS#1161 - "AIS Add country to the target query dialog" in flyspray?

A screenshoot from my OCPN attached.
Håkan
Yes, I use this patch also.
Don't know why such things don't find it's way into master code.
Gerhard
CarCode is offline   Reply With Quote
Old 04-07-2014, 07:01   #1615
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,211
Re: Feature Requests

Gerhard....
The reason is pretty simple, there is limited quantity of people to review, fix and merge stuff like this so it takes time.
Re this particular patch, it needs fixing the typography, which now is inconsistent with the rest of the dialog as shown on Hakan's screenshot.
And as with all the other patches that make sense: Had it been sent as a pull request on github, it would have been in the master branch for months now...

Pavel
nohal is offline   Reply With Quote
Old 04-07-2014, 08:03   #1616
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,147
Re: Feature Requests

Quote:
Originally Posted by nohal View Post
......Re this particular patch, it needs fixing the typography, which now is inconsistent with the rest of the dialog as shown on Hakan's screenshot.
And as with all the other patches that make sense: Had it been sent as a pull request on github, it would have been in the master branch for months now...
Pavel
Pavel, many thanks for your nice wording. I like to understand it as I'm allowed to mix a little with the excellent coders here, like yourself. It may be I'm to shy to push my trivial attempts. But now I may dare give it a try.

Before that please explain your view of the typography inconsistency. Should the text "Flag:..." be bold or...?
And, should the country names be market for translation or kept in English? (I think Gerhard likes it translated)
Thanks Håkan
Hakan is offline   Reply With Quote
Old 04-07-2014, 08:30   #1617
Registered User

Join Date: Jul 2010
Location: Hannover - Germany
Boat: Amel Sharki
Posts: 2,541
Re: Feature Requests

I never made a pull request to github because I can test my code only with my machine and not with any other operating system. So it will probably only work with Mac OS X and the latest wxWidget version 3.1.0 which is still not finished for Mac OS X. If anybody is able to bring his code into the master then I wonder how a quality proof should be done. As seen with latest beta versions there seems to be in fact no quality control at all.

As Pavel pointed out the FlySpray is rather useless when nobody cares about it.

And yes, I like to have a german version.

Gerhard
Attached Thumbnails
Click image for larger version

Name:	AIS-Flag.png
Views:	247
Size:	78.1 KB
ID:	84410  
CarCode is offline   Reply With Quote
Old 04-07-2014, 10:03   #1618
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,211
Re: Feature Requests

Quote:
Originally Posted by Hakan View Post
Pavel, many thanks for your nice wording. I like to understand it as I'm allowed to mix a little with the excellent coders here, like yourself. It may be I'm to shy to push my trivial attempts. But now I may dare give it a try.

Before that please explain your view of the typography inconsistency. Should the text "Flag:..." be bold or...?
And, should the country names be market for translation or kept in English? (I think Gerhard likes it translated)
Thanks Håkan
Hakan...
All the other fields in this dialog have a label (not ending with ":") in a bit smaller and lighter font above the value (which is in bold) - My view on typography is that a newly added field should follow this convention.
And yes, the full country names should IMO use the _ macro, not _T to make it translatable as Gerhard probably did in his private version.
@Gerhard - I'm really sorry for not constantly looking for patches attached to all the FS tickets. Will punish myself somehow, don't worry.

Pavel
nohal is offline   Reply With Quote
Old 04-07-2014, 14:41   #1619
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,147
Re: Feature Requests

Quote:
Originally Posted by nohal View Post
Hakan...
All the other fields in this dialog have a label (not ending with ":") in a bit smaller and lighter font above the value (which is in bold) - My view on typography is that a newly added field should follow this convention.
And yes, the full country names should IMO use the _ macro, not _T to make it translatable as Gerhard probably did in his private version.
@Gerhard - I'm really sorry for not constantly looking for patches attached to all the FS tickets. Will punish myself somehow, don't worry.

Pavel
Pavel..
- A dialog as the attached one then?
- Translation for the long country name is no problem but what about the short term for each country used in the mouse rollower box. Are there national designations also for them? It's not a big thing to mark them for translation but is it practical for the translators? See some examples:
Code:
case 373: return b_CntryLongStr ? _T("Panama") : _T("PA") ;
    case 375: 
    case 376: 
    case 377: return b_CntryLongStr ? _T("Saint Vincent and the Grenadines") : _T("VC") ;
    case 378: return b_CntryLongStr ? _T("British Virgin Islands") : _T("VG") ;
    case 379: return b_CntryLongStr ? _T("United States Virgin Islands") : _T("AE") ;
    case 401: return b_CntryLongStr ? _T("Afghanistan") : _T("AF") ;
    case 403: return b_CntryLongStr ? _T("Saudi Arabia") : _T("SA") ;
    case 405: return b_CntryLongStr ? _T("Bangladesh") : _T("BD") ;
    case 408: return b_CntryLongStr ? _T("Bahrain") : _T("BH") ;
    case 410: return b_CntryLongStr ? _T("Bhutan") : _T("BT") ;
- And Pavel.. No one should excuse for not spending more free time to offer theirs effort to serve us this wonderful OCPN. We are so grateful with your extraordinary generosity. For me flyspray is a list of wishes and not a list of demands.
Thanks Håkan
Attached Thumbnails
Click image for larger version

Name:	AIS_target_querry.jpg
Views:	293
Size:	113.7 KB
ID:	84439  
Hakan is offline   Reply With Quote
Old 04-07-2014, 14:54   #1620
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,211
Re: Feature Requests

Quote:
Originally Posted by Hakan View Post
Pavel..
- A dialog as the attached one then?
- Translation for the long country name is no problem but what about the short term for each country used in the mouse rollower box. Are there national designations also for them? It's not a big thing to mark them for translation but is it practical for the translators? See some examples:
Code:
case 373: return b_CntryLongStr ? _T("Panama") : _T("PA") ;
    case 375: 
    case 376: 
    case 377: return b_CntryLongStr ? _T("Saint Vincent and the Grenadines") : _T("VC") ;
    case 378: return b_CntryLongStr ? _T("British Virgin Islands") : _T("VG") ;
    case 379: return b_CntryLongStr ? _T("United States Virgin Islands") : _T("AE") ;
    case 401: return b_CntryLongStr ? _T("Afghanistan") : _T("AF") ;
    case 403: return b_CntryLongStr ? _T("Saudi Arabia") : _T("SA") ;
    case 405: return b_CntryLongStr ? _T("Bangladesh") : _T("BD") ;
    case 408: return b_CntryLongStr ? _T("Bahrain") : _T("BH") ;
    case 410: return b_CntryLongStr ? _T("Bhutan") : _T("BT") ;
- And Pavel.. No one should excuse for not spending more free time to offer theirs effort to serve us this wonderful OCPN. We are so grateful with your extraordinary generosity. For me flyspray is a list of wishes and not a list of demands.
Thanks Håkan
Hakan...
Yeah, looks much better now
I would definitely not make the country codes localizable - they are simply standardized by https://en.wikipedia.org/wiki/ISO_3166-1

So my take would be
Code:
case 401: return b_CntryLongStr ? _("Afghanistan") : _T("AF") ;
Pavel
nohal 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Yet anothr of my stupid requests Little Otter Multihull Sailboats 2 29-06-2008 23:29
Any requests for pics at Strictly Sail Oakland? Redbull addict Monohull Sailboats 0 30-03-2007 18:33
Capt.Jack requests permission to come aboard canatc1 Meets & Greets 8 10-04-2006 16:54

Advertise Here


All times are GMT -7. The time now is 05:42.


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.