StelObjectMgr.cpp   StelObjectMgr.cpp 
skipping to change at line 37 skipping to change at line 37
#include "StelProjector.hpp" #include "StelProjector.hpp"
#include "StelMovementMgr.hpp" #include "StelMovementMgr.hpp"
#include "RefractionExtinction.hpp" #include "RefractionExtinction.hpp"
#include "StelSkyDrawer.hpp" #include "StelSkyDrawer.hpp"
#include <QMouseEvent> #include <QMouseEvent>
#include <QString> #include <QString>
#include <QDebug> #include <QDebug>
#include <QStringList> #include <QStringList>
StelObjectMgr::StelObjectMgr() : searchRadiusPixel(25.f), distanceWeight(1. f) StelObjectMgr::StelObjectMgr() : objectPointerVisibility(true), searchRadiu sPixel(25.f), distanceWeight(1.f)
{ {
setObjectName("StelObjectMgr"); setObjectName("StelObjectMgr");
objectPointerVisibility = true;
} }
StelObjectMgr::~StelObjectMgr() StelObjectMgr::~StelObjectMgr()
{ {
} }
/************************************************************************* /*************************************************************************
Add a new StelObject manager into the list of supported modules. Add a new StelObject manager into the list of supported modules.
*************************************************************************/ *************************************************************************/
void StelObjectMgr::registerStelObjectMgr(StelObjectModule* mgr) void StelObjectMgr::registerStelObjectMgr(StelObjectModule* mgr)
skipping to change at line 322 skipping to change at line 321
{ {
result["SolarSystem:planet"] = "Planets"; result["SolarSystem:planet"] = "Planets";
result["SolarSystem:moon"] = "Moons"; result["SolarSystem:moon"] = "Moons";
result["SolarSystem:asteroid"] = "Asteroids"; result["SolarSystem:asteroid"] = "Asteroids";
result["SolarSystem:comet"] = "Comets"; result["SolarSystem:comet"] = "Comets";
result["SolarSystem:plutino"] = "Plutinos"; result["SolarSystem:plutino"] = "Plutinos";
result["SolarSystem:cubewano"] = "Cubewanos"; result["SolarSystem:cubewano"] = "Cubewanos";
result["SolarSystem:dwarf planet"] = "Dwarf planets" ; result["SolarSystem:dwarf planet"] = "Dwarf planets" ;
result["SolarSystem:scattered disc object"] = "Scatt ered disc objects"; result["SolarSystem:scattered disc object"] = "Scatt ered disc objects";
result["SolarSystem:Oort cloud object"] = "Oort clou d objects"; result["SolarSystem:Oort cloud object"] = "Oort clou d objects";
result["SolarSystem:sednoid"] = "Sednoids";
} }
// Deep-sky objects by type + amateur catalogues // Deep-sky objects by type + amateur catalogues
if (m->objectName()=="NebulaMgr") if (m->objectName()=="NebulaMgr")
{ {
result["NebulaMgr:0"] = "Bright galaxies"; result["NebulaMgr:0"] = "Bright galaxies";
result["NebulaMgr:1"] = "Active galaxies"; result["NebulaMgr:1"] = "Active galaxies";
result["NebulaMgr:2"] = "Radio galaxies"; result["NebulaMgr:2"] = "Radio galaxies";
result["NebulaMgr:3"] = "Interacting galaxies"; result["NebulaMgr:3"] = "Interacting galaxies";
result["NebulaMgr:4"] = "Bright quasars"; result["NebulaMgr:4"] = "Bright quasars";
result["NebulaMgr:5"] = "Star clusters"; result["NebulaMgr:5"] = "Star clusters";
skipping to change at line 374 skipping to change at line 374
} }
// Interesting stars // Interesting stars
if (m->objectName()=="StarMgr") if (m->objectName()=="StarMgr")
{ {
result["StarMgr:0"] = "Interesting double stars"; result["StarMgr:0"] = "Interesting double stars";
result["StarMgr:1"] = "Interesting variable stars"; result["StarMgr:1"] = "Interesting variable stars";
} }
} }
return result; return result;
} }
QVariantMap StelObjectMgr::getObjectInfo(const StelObjectP obj)
{
QVariantMap map;
if (!obj)
{
qDebug() << "getObjectInfo WARNING - object not found";
map.insert("found", false);
}
else
{
map=obj->getInfoMap(StelApp::getInstance().getCore());
map.insert("found", true);
}
return map;
}
 End of changes. 4 change blocks. 
2 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/