[Kstars-devel] KDE/kdeedu/kstars/kstars/skycomponents
Jason Harris
jharris at 30doradus.org
Wed Aug 22 18:22:59 CEST 2007
Whoops. This was an older change in my local copy, I should have checked to
see if it had been fixed elsewhere. I'll revert it.
Jason
On Wednesday 22 August 2007 08:57, James Bowlin wrote:
> Jason,
>
> I thought I had already implemented this functionality inside of
> solarsystemcomposite.cpp:
>
> bool SolarSystemComposite::selected()
> {
> return Options::showSolarSystem() &&
> ! ( Options::hideOnSlew() && Options::hidePlanets() &&
> SkyMap::IsSlewing() ); }
>
>
> I then use selected() to turn off both drawing and updating inside of
> solarsystem composite. The virtual selected() routine replaced the
> function pointer visible() for almost every class that we only had a
> single instance of.
>
> --
> Peace, James
>
> On Wed August 22 2007, Jason Harris wrote:
> > SVN commit 703449 by harris:
> >
> > Make the Solar system toolbar button work
> >
> > CCMAIL: kstars-devel at kde.org
> >
> >
> >
> > M +2 -1 skymapcomposite.cpp
> >
> >
> > --- trunk/KDE/kdeedu/kstars/kstars/skycomponents/skymapcomposite.cpp
> > #703448:703449 @@ -264,7 +264,8 @@
> >
> > //11. Solar system
> > // t.start();
> > - m_SolarSystem->draw( ks, psky, scale );
> > + if ( Options::showSolarSystem() )
> > + m_SolarSystem->draw( ks, psky, scale );
> > // kDebug() << QString("Solar sys : %1 ms").arg( t.elapsed() );
>
> _______________________________________________
> Kstars-devel mailing list
> Kstars-devel at kde.org
> https://mail.kde.org/mailman/listinfo/kstars-devel
--
Jason Harris
jharris at 30doradus.org
More information about the Kstars-devel
mailing list