summaryrefslogtreecommitdiff
path: root/indra/newview/llpaneleditsky.h
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2018-08-29 18:26:54 +0100
committerGraham Linden <graham@lindenlab.com>2018-08-29 18:26:54 +0100
commitca75963f3faf48697b3bcb15319da1e928df2a45 (patch)
tree36f36546d40ffcf035094fe21600d58fe4ac192a /indra/newview/llpaneleditsky.h
parenta27501d21626e0026a184aaf9bc24a22d0f636bb (diff)
parent0b3a4c75568a1648926c24463ed11cba53cfddb8 (diff)
Merge
Diffstat (limited to 'indra/newview/llpaneleditsky.h')
-rw-r--r--indra/newview/llpaneleditsky.h34
1 files changed, 15 insertions, 19 deletions
diff --git a/indra/newview/llpaneleditsky.h b/indra/newview/llpaneleditsky.h
index 982315adff..aadbd85a37 100644
--- a/indra/newview/llpaneleditsky.h
+++ b/indra/newview/llpaneleditsky.h
@@ -30,13 +30,11 @@
#include "llpanel.h"
#include "llsettingssky.h"
#include "llfloaterfixedenvironment.h"
-#include "lldensityctrl.h"
//=========================================================================
class LLSlider;
class LLColorSwatchCtrl;
class LLTextureCtrl;
-class LLDensityCtrl; // custom control for specifying various sky density settings
//=========================================================================
class LLPanelSettingsSky : public LLSettingsEditPanel
@@ -49,7 +47,7 @@ public:
virtual void setSettings(const LLSettingsBase::ptr_t &settings) override { setSky(std::static_pointer_cast<LLSettingsSky>(settings)); }
LLSettingsSky::ptr_t getSky() const { return mSkySettings; }
- void setSky(const LLSettingsSky::ptr_t &sky) { mSkySettings = sky; refresh(); }
+ void setSky(const LLSettingsSky::ptr_t &sky) { mSkySettings = sky; clearIsDirty(); refresh(); }
protected:
LLSettingsSky::ptr_t mSkySettings;
@@ -144,25 +142,23 @@ public:
protected:
virtual void refresh() override;
- // update the settings for our profile type
- void updateProfile();
-
- LLDensityCtrl::DensityProfileType mProfileType;
- std::string mControlName;
-};
+ void onRayleighExponentialChanged();
+ void onRayleighExponentialScaleChanged();
+ void onRayleighLinearChanged();
+ void onRayleighConstantChanged();
-class LLPanelSettingsDensity : public LLPanelSettingsSky
-{
- LOG_CLASS(LLPanelSettingsDensity);
+ void onMieExponentialChanged();
+ void onMieExponentialScaleChanged();
+ void onMieLinearChanged();
+ void onMieConstantChanged();
+ void onMieAnisoFactorChanged();
-public:
- LLPanelSettingsDensity();
+ void onAbsorptionExponentialChanged();
+ void onAbsorptionExponentialScaleChanged();
+ void onAbsorptionLinearChanged();
+ void onAbsorptionConstantChanged();
- virtual BOOL postBuild() override;
- virtual void setEnabled(BOOL enabled) override;
-
-protected:
- virtual void refresh() override;
+ void onMaxAltitudeChanged();
// update the settings for our profile type
void updateProfile();