[Xastir-dev] ALOHA circle display (and calculation)

Curt, WE7U archer at eskimo.com
Wed Jun 8 12:54:00 EDT 2005


On Wed, 8 Jun 2005, Dan Brown wrote:

> Before I start hacking:
>
> - Is it worth it to change the -DDEBUG_ALOHA and the ifdefs over
> to a if (debug_level & 2048) scheme?
>
> - Would that be better with a lower, existing debug_level?

Either would work.  Not that big of a deal.  If you add a new level
remember to tweak the DEBUG_LEVELS file, the max count for
debug_level if any, and any docs.  I also see a MULTI_DEBUG defined
at 2048, which is one higher than the max debug we had before, so
that might need to be changed.


> I took a look at the code, and think there are a couple places where an
> approprinate status_line("message",#) would be appropriate.  I think if
> this is important enough to make difficult to disable it would useful
> knowing whether it the range has been determined, and, if so, the magnitude
> of the radius -- without having to try to zoom until you find the yellow
> circle, and or recompiling with debugging enabled.
>
> The already coded though ifdef'ed DEBUG_ALOHA routine at the end of
> calc_aloha() looks to be pretty much what I'm after, FWIW.

Some status line stuff goes away so quick that it might not make
much sense to put it there.  Depends on how it is displayed I guess.
We could cycle through multiple strings on one of the currently-used
boxes I suppose.

--
Curt, WE7U.   APRS Client Comparisons: http://www.eskimo.com/~archer
"Lotto:    A tax on people who are bad at math." -- unknown
"Windows:  Microsoft's tax on computer illiterates." -- WE7U
"The world DOES revolve around me:  I picked the coordinate system!"



More information about the Xastir-dev mailing list