[Kstars-devel] branches/work/kdeedu_kstars_htm/kstars/kstars/skycomponents

James Bowlin bowlin at mindspring.com
Sun Aug 12 01:33:04 CEST 2007


SVN commit 699074 by jbowlin:

Removed most but not all redundant font changes.

Am now using SkyLabeler to draw the horizon labels so AFAIK there is
now no overlap of any of the labels drawn by the skycomponents.  I
would like to avoid overlap with the info messages that are drawn in
the corners but I don't know where that code is.  IMO they should have
top priority.

Cleaned up some of the labeling code in HorizonComponent.

I have put the horizon label as the top priority followed by the
compass points, ecliptic, equator, and then everything else.  This has
introduced a bug where the ecliptic and equator labels get drawn over
the filled horizon.  A trivial fix would be to simply draw these two
labels before drawing the horizon but that would raise their
priorities above the horizon labels.  Since the horizon labels have
fixed positions and the ecliptic and equator labels can dance around
to find a place where they don't overlap, I would prefer to find a
solution that doesn't change the priority. 

CCMAIL:kstars-devel at kde.org


 M  +8 -0      ecliptic.cpp  
 M  +2 -0      ecliptic.h  
 M  +12 -6     equator.cpp  
 M  +1 -1      equator.h  
 M  +87 -179   horizoncomponent.cpp  
 M  +1 -7      linelistcomponent.cpp  
 M  +1 -7      linelistlabel.cpp  
 M  +7 -2      skymapcomposite.cpp  




More information about the Kstars-devel mailing list