AngleMeasure.cpp   AngleMeasure.cpp 
skipping to change at line 77 skipping to change at line 77
, withDecimalDegree(false) , withDecimalDegree(false)
, dragging(false) , dragging(false)
, angle(0.) , angle(0.)
, flagUseDmsFormat(false) , flagUseDmsFormat(false)
, flagShowPA(false) , flagShowPA(false)
, flagShowEquatorial(false) , flagShowEquatorial(false)
, flagShowHorizontal(false) , flagShowHorizontal(false)
, flagShowHorizontalPA(false) , flagShowHorizontalPA(false)
, flagShowHorizontalStartSkylinked(false) , flagShowHorizontalStartSkylinked(false)
, flagShowHorizontalEndSkylinked(false) , flagShowHorizontalEndSkylinked(false)
, angleHor(0.)
, toolbarButton(NULL) , toolbarButton(NULL)
{ {
setObjectName("AngleMeasure"); setObjectName("AngleMeasure");
font.setPixelSize(16); font.setPixelSize(16);
configDialog = new AngleMeasureDialog(); configDialog = new AngleMeasureDialog();
conf = StelApp::getInstance().getSettings(); conf = StelApp::getInstance().getSettings();
messageTimer = new QTimer(this); messageTimer = new QTimer(this);
messageTimer->setInterval(7000); messageTimer->setInterval(7000);
skipping to change at line 170 skipping to change at line 171
qWarning() << "WARNING: unable create toolbar button for Ang leMeasure plugin: " << e.what(); qWarning() << "WARNING: unable create toolbar button for Ang leMeasure plugin: " << e.what();
} }
} }
void AngleMeasure::update(double deltaTime) void AngleMeasure::update(double deltaTime)
{ {
messageFader.update((int)(deltaTime*1000)); messageFader.update((int)(deltaTime*1000));
lineVisible.update((int)(deltaTime*1000)); lineVisible.update((int)(deltaTime*1000));
static StelCore *core=StelApp::getInstance().getCore(); static StelCore *core=StelApp::getInstance().getCore();
withDecimalDegree = dynamic_cast<StelGui*>(StelApp::getInstance().ge tGui())->getFlagShowDecimalDegrees(); withDecimalDegree = StelApp::getInstance().getFlagShowDecimalDegrees ();
// if altAz endpoint linked to the rotating sky, move respective poi nt(s) // if altAz endpoint linked to the rotating sky, move respective poi nt(s)
if (flagShowHorizontalStartSkylinked) if (flagShowHorizontalStartSkylinked)
{ {
startPointHor = core->equinoxEquToAltAz(startPoint, StelCore ::RefractionAuto); startPointHor = core->equinoxEquToAltAz(startPoint, StelCore ::RefractionAuto);
calculateEnds(); calculateEnds();
} }
if (flagShowHorizontalEndSkylinked) if (flagShowHorizontalEndSkylinked)
{ {
endPointHor = core->equinoxEquToAltAz(endPoint, StelCore::Re fractionAuto); endPointHor = core->equinoxEquToAltAz(endPoint, StelCore::Re fractionAuto);
 End of changes. 2 change blocks. 
1 lines changed or deleted 2 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/