MilkyWay.cpp   MilkyWay.cpp 
skipping to change at line 83 skipping to change at line 83
QString displayGroup = N_("Display Options"); QString displayGroup = N_("Display Options");
addAction("actionShow_MilkyWay", displayGroup, N_("Milky Way"), "fla gMilkyWayDisplayed", "M"); addAction("actionShow_MilkyWay", displayGroup, N_("Milky Way"), "fla gMilkyWayDisplayed", "M");
} }
void MilkyWay::update(double deltaTime) void MilkyWay::update(double deltaTime)
{ {
fader->update((int)(deltaTime*1000)); fader->update((int)(deltaTime*1000));
} }
void MilkyWay::setFlagShow(bool b){*fader = b;} void MilkyWay::setFlagShow(bool b){*fader = b; emit milkyWayDisplayedChange d(b);}
bool MilkyWay::getFlagShow() const {return *fader;} bool MilkyWay::getFlagShow() const {return *fader;}
void MilkyWay::draw(StelCore* core) void MilkyWay::draw(StelCore* core)
{ {
if (!getFlagShow()) if (!getFlagShow())
return; return;
StelProjector::ModelViewTranformP transfo = core->getJ2000ModelViewT ransform(); StelProjector::ModelViewTranformP transfo = core->getJ2000ModelViewT ransform();
const StelProjectorP prj = core->getProjection(transfo); // GZ: Mayb e this can now be simplified? const StelProjectorP prj = core->getProjection(transfo); // GZ: Mayb e this can now be simplified?
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/