22 #ifndef _LANDSCAPEMGR_HPP_
23 #define _LANDSCAPEMGR_HPP_
25 #include "StelModule.hpp"
26 #include "StelUtils.hpp"
29 #include <QStringList>
44 Q_PROPERTY(
bool atmosphereDisplayed
47 NOTIFY atmosphereDisplayedChanged)
48 Q_PROPERTY(
bool cardinalsPointsDisplayed
51 NOTIFY cardinalsPointsDisplayedChanged)
52 Q_PROPERTY(
bool fogDisplayed
55 NOTIFY fogDisplayedChanged)
56 Q_PROPERTY(
bool landscapeDisplayed
59 NOTIFY landscapeDisplayedChanged)
82 virtual void update(
double deltaTime);
272 void atmosphereDisplayedChanged(
const bool displayed);
273 void cardinalsPointsDisplayedChanged(
const bool displayed);
274 void fogDisplayedChanged(
const bool displayed);
275 void landscapeDisplayedChanged(
const bool displayed);
304 void setStelStyle(
const QString& section);
310 float getInitialLandscapeBrightness()
const {
return initialLandscapeBrightness;}
312 void setInitialLandscapeBrightness(
float b) {initialLandscapeBrightness=b;}
316 float getAtmosphereLightPollutionLuminance()
const;
318 void setAtmosphereLightPollutionLuminance(
float f);
323 QString nameToID(
const QString& name);
326 QMap<QString,QString> getNameToDirMap()
const;
332 QString getLandscapePath(QString landscapeID);
335 Cardinals* cardinalsPoints;
339 bool flagLandscapeSetsLocation;
342 QString currentLandscapeID;
345 QString defaultLandscapeID;
352 QStringList packagedLandscapeIDs;
354 float initialLandscapeBrightness;
357 #endif // _LANDSCAPEMGR_HPP_