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));
} }
/*************************************************************************
Reimplementation of the getCallOrder method
*************************************************************************/
double MilkyWay::getCallOrder(StelModuleActionName actionName) const
{
if (actionName==StelModule::ActionDraw)
return 1;
return 0;
}
void MilkyWay::setFlagShow(bool b){*fader = b; emit milkyWayDisplayedChange d(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();
 End of changes. 1 change blocks. 
0 lines changed or deleted 10 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/