[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdeedu/kstars/kstars/skycomponents
From:       Jason Harris <kstars () 30doradus ! org>
Date:       2005-10-26 14:42:48
Message-ID: 1130337768.485222.25722.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 474488 by harris:

SkyComposite: Finally attempting to compile: skycomposite.o now 
compiles!  One down, 27 to go.

Added a static non-member function to skycomponent: "static bool 
alwaysVisible() { return true; }".  Need this because SkyComposite ctor 
calls its parent SkyComponent ctor, and in this case the visibleMethod 
argument does not make sense.  As a fix, I added the above 
static function as the default value for the (*visibleMethod)() 
argument.  Not a very elegant solution, I guess.  Any better ideas?

Moved definition of updatePlanets(), updateMoons(), addTrail(), 
hasTrail(), and removeTrail() from SkyComposite into SkyMapComposite.  
Necessary because each of these functions loops over the 
Components in SolarSystemComposite, which is not defined in the 
SkyComposite baseclass.

Various other fixes.

CCMAIL: kstars-devel@kde.org



 M  +13 -4     skycomponent.h  
 M  +11 -50    skycomposite.cpp  
 M  +3 -3      skycomposite.h  
 M  +51 -11    skymapcomposite.cpp  
 M  +44 -0     skymapcomposite.h  
 M  +3 -3      solarsystemlistcomponent.h  
 M  +3 -3      solarsystemsinglecomponent.h  


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic