Cruisers Forum
 

Go Back   Cruisers & Sailing Forums > Seamanship, Navigation & Boat Handling > OpenCPN
Cruiser Wiki Click Here to Login
Register Vendors FAQ Community Calendar Today's Posts Log in

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 16-09-2012, 20:39   #16
Registered User
 
HappySeagull's Avatar

Join Date: Dec 2010
Location: B.C.,Canada
Boat: 29'
Posts: 2,423
Re: Problem Marks or Waypoint behavior - Symbols - OpenCPN 3.0.2 , 3.1.814 beta exe,

...glad to know about the 8 pixel radius ! I actually make a coloured dot in the image, if it's an odd shape with no obvious center.

Tore ,that's a good idea manipulating the transparent portion to put the center in the "intuitive" place
HappySeagull is offline   Reply With Quote
Old 17-09-2012, 05:24   #17
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,766
Images: 2
Re: Problem Marks or Waypoint behavior - Symbols - OpenCPN 3.0.2 , 3.1.814 beta exe,

Revised Red Flag - with target area

/* XPM */
static char *Red_Flag[] = {
"24 24 7 1 11 4",
" c #000000",
"! c #FF0000",
"# c #F5F808",
"$ c #FBF30F",
"% c #EBEE04",
"& c #1B1B01",
"' c None",
"''''''' ''",
"''''''' !!!!!!!!!!!! ''",
"'''''' !!!!!!!!!!!! '''",
"'''''' !!!!!!!!!!!! '''",
"'''''' !!!#$!!!!!!! '''",
"''''' !!!!!!!!!!!!! '''",
"''''' #!!!!!!!!!#!! ''''",
"'''''% !!!!!!!!!!%! ''''",
"''''' !!!!!!!!!!!! ''''",
"'''' !!!!!!!!!!!!! ''''",
"'''' !!!!!!!!!!!! '''''",
"''''# #$ #''''",
"''' #'''''' '''''' ''''",
"''' '''''''''''''''''''",
"''' '''''''''''''''''''",
"'' ''''''''''''''''''''",
"'' ' '''''''''''' '''''",
"'' '' '''''''''' ''''''",
"'' ''''''''''''''''''''",
"' '''''''' &'''''''''''",
"' '''''''''''''''''''''",
"' '''''''''''''''''''''",
" ''''''''''''''''''''''",
" ''''''''''''''''''''''"
};


Not intuitive, particularly at a small scale. (Non centered type of graphic does not help either. )

Name:   Red Flag.png
Views: 183
Size:  444 Bytes
rgleason is offline   Reply With Quote
Old 17-09-2012, 11:43   #18
Registered User
 
HappySeagull's Avatar

Join Date: Dec 2010
Location: B.C.,Canada
Boat: 29'
Posts: 2,423
Re: Problem Marks or Waypoint behavior - Symbols - OpenCPN 3.0.2 , 3.1.814 beta exe,

mmm. I still think you could add transparent area at the top so that the hotspot is in the flag's centre

flag32x.xpm.doc

(dmmit,what the hell are those taggy things on these attachments..anyways

added aha-maybe nobody else can see what I'm talking about per tags, though I see em on some other posts. Perhaps going into userCP of the forum and unchecking the "Autolink popular tags" has fixed it.

/
Code:
* XPM */
static char *flag32x[] = {
"32 32 4 1 0 0",
"  c #000000",
"! c #FF0000",
"# c #FFFFFF",
"$ c None",
"$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$",
"$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$",
"$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$",
"$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$",
"$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$",
"$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$",
"$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$",
"$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$",
"$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$",
"$$$$$$$$$$               $$$$$$$",
"$$$$$$$$$$  !!!!!!!!!!!! $$$$$$$",
"$$$$$$$$$  !!!!!!!!!!!! $$$$$$$$",
"$$$$$$$$$  !!!!!!!!!!!! $$$$$$$$",
"$$$$$$$$$  !!!!!!!!!!!! $$$$$$$$",
"$$$$$$$$  !!!!!!!!!!!!! $$$$$$$$",
"$$$$$$$$  !!!!!!!!!!!! $$$$$$$$$",
"$$$$$$$$  !!!!!!!!!!!! $$$$$$$$$",
"$$$$$$$$  !!!!!!!!!!!! $$$$$$$$$",
"$$$$$$$  !!!!!!!!!!!!! $$$$$$$$$",
"$$$$$$$  !!!!!!!!!!!! $$$$$$$$$$",
"$$$$$$$               $$$$$$$$$$",
"$$$$$$  $$$$$$$$$$$$$$$$$$$$$$$$",
"$$$$$$  $$$$$$$$$$$$$$$$$$$$$$$$",
"$$$$$$  $$$$$$$$$$$$$$$$$$$$$$$$",
"$$$$$  $$$$$$$$$$$$$$$$$$$$$$$$$",
"$$$$$  $$$$$$$$$$$$$$$$$$$$$$$$$",
"$$$$$  $$$$$$$$$$$$$$$$$$$$$$$$$",
"$$$$$  $$$$$$$$$$$$$$$$$$$$$$$$$",
"$$$$  $$$$$$$$$$$$$$$$$$$$$$$$$$",
"$$$$  $$$$$$$$$$$$$$$$$$$$$$$$$$",
"$$$$  $$$$$$$$$$$$$$$$$$$$$$$$$$",
"$$$  $$$$$$$$$$$$$$$$$$$$$$$$$$$"
};
HappySeagull is offline   Reply With Quote
Old 17-09-2012, 12:14   #19
Registered User

Join Date: Dec 2008
Boat: Journeyman
Posts: 705
Re: Problem Marks or Waypoint behavior - Symbols - OpenCPN 3.0.2 , 3.1.814 beta exe,

Guys, you are aware that we support PNG format too these days?
No need to carry on with this arcane XPM stuff unless you want to.
JesperWe is offline   Reply With Quote
Old 17-09-2012, 15:40   #20
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,766
Images: 2
Re: Problem Marks or Waypoint behavior - Symbols - OpenCPN 3.0.2 , 3.1.814 beta exe,

H.Seagull I see what you mean. Good idea... it puts the center over the flag.
-Now that doesn't help nitwits like me who assume the bottom of the flag staff was the most obvious insertion point and first attacked that, then worked my way up the shaft, then with Jester's information about the selection area, finally was able to find the sweet spot.

Maybe a user option to turn on a red "X" or an 8 pixel bullseye selection area centered on the lat/long position of all symbols, would help and would not require opening additional files and reading certain lines to get additional information about the size of the symbol?

Alternatively the radius could be made a little bigger?

--Jesper - I did not know symbols could be PNG, thanks.
rgleason is offline   Reply With Quote
Old 19-09-2012, 10:14   #21
Registered User
 
HappySeagull's Avatar

Join Date: Dec 2010
Location: B.C.,Canada
Boat: 29'
Posts: 2,423
Re: Problem Marks or Waypoint behavior - Symbols - OpenCPN 3.0.2 , 3.1.814 beta exe,

In Greenfish Icon Editor, there's a button to set the "hotspot" but I haven't seen it work or bothered with it much . I'm guessing it is even requiring some background resource-hogging to even get Win-DOS to use it. But My XP looks as much like win95 as I can get it . I wear my feathers in a mullet too.

yes,pngs work but with the xpm we can see the image in plain text and that's pretty cool. I wouldn't want O to drop this format.
HappySeagull is offline   Reply With Quote
Reply

Tags
opencpn


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 01:10.


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.