[Kstars-devel] KDE/kdeedu/kstars/kstars

Jason Harris kstars at 30doradus.org
Mon Aug 18 16:49:14 CEST 2008


SVN commit 848838 by harris:

Adding MW-like contours for the LMC and SMC, a patch submitted by Jerome Sonrier.  
Thanks Jerome!

CCMAIL: kstars-devel at kde.org



 M  +1 -0      CMakeLists.txt  
 M  +2 -0      data/CMakeLists.txt  
 A             data/lmc.dat  
 A             data/smc.dat  
 A             skycomponents/magellanicclouds.cpp   [License: GPL (v2+)]
 A             skycomponents/magellanicclouds.h   [License: GPL (v2+)]
 M  +5 -0      skycomponents/skymapcomposite.cpp  
 M  +2 -0      skycomponents/skymapcomposite.h  


--- trunk/KDE/kdeedu/kstars/kstars/CMakeLists.txt #848837:848838
@@ -166,6 +166,7 @@
    skycomponents/equator.cpp 
    skycomponents/horizoncomponent.cpp 
    skycomponents/milkyway.cpp 
+   skycomponents/magellanicclouds.cpp
    skycomponents/skycomponent.cpp 
    skycomponents/skycomposite.cpp 
    skycomponents/starblock.cpp
--- trunk/KDE/kdeedu/kstars/kstars/data/CMakeLists.txt #848837:848838
@@ -9,6 +9,8 @@
     clines.dat
     cnames.dat
     milkyway.dat
+    lmc.dat
+    smc.dat
     cbounds.dat
 	cbounds-3.idx  cbounds-4.idx  cbounds-5.idx  cbounds-6.idx
 	image_url.dat info_url.dat 
--- trunk/KDE/kdeedu/kstars/kstars/skycomponents/skymapcomposite.cpp #848837:848838
@@ -39,6 +39,7 @@
 #include "horizoncomponent.h"
 #include "jupitermoonscomponent.h"
 #include "milkyway.h"
+#include "magellanicclouds.h"
 #include "solarsystemcomposite.h"
 #include "starcomponent.h"
 #include "satellitecomposite.h"
@@ -62,6 +63,8 @@
     //Add all components
     m_MilkyWay = new MilkyWay( this );
     addComponent( m_MilkyWay );
+    m_MagellanicClouds = new MagellanicClouds( this );
+    addComponent( m_MagellanicClouds );
     //Stars must come before constellation lines
     m_Stars = new StarComponent( this );
     addComponent( m_Stars );
@@ -214,6 +217,8 @@
 
     m_MilkyWay->draw( psky );
 
+    m_MagellanicClouds->draw( psky );
+
     m_CoordinateGrid->draw( psky );
 
     m_CBoundLines->draw( psky );
--- trunk/KDE/kdeedu/kstars/kstars/skycomponents/skymapcomposite.h #848837:848838
@@ -40,6 +40,7 @@
 class Equator;
 class HorizonComponent;
 class MilkyWay;
+class MagellanicClouds;
 class SolarSystemComposite;
 class StarComponent;
 class SatelliteComposite;
@@ -205,6 +206,7 @@
     Ecliptic                    *m_Ecliptic;
     HorizonComponent            *m_Horizon;
     MilkyWay                    *m_MilkyWay;
+    MagellanicClouds		*m_MagellanicClouds;
     SolarSystemComposite        *m_SolarSystem;
     SkyComposite                *m_CustomCatalogs;
     StarComponent               *m_Stars;


More information about the Kstars-devel mailing list