diff options
author | Rider Linden <rider@lindenlab.com> | 2018-08-16 09:43:54 -0700 |
---|---|---|
committer | Rider Linden <rider@lindenlab.com> | 2018-08-16 09:43:54 -0700 |
commit | 68158f0340729d9f7e5a4b3e64bfc154a105ab6c (patch) | |
tree | 8ebde15decf4916f19c3df28f3e6dcb493b2ef6f /indra/newview/llpanelenvironment.h | |
parent | af2fa3c5bd669fb28af904b3ac74fb28cb22025c (diff) |
Pass call backs into parcel and region change methods.
Diffstat (limited to 'indra/newview/llpanelenvironment.h')
-rw-r--r-- | indra/newview/llpanelenvironment.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/indra/newview/llpanelenvironment.h b/indra/newview/llpanelenvironment.h index 29c9c411ba..66224f8ba7 100644 --- a/indra/newview/llpanelenvironment.h +++ b/indra/newview/llpanelenvironment.h @@ -89,8 +89,10 @@ protected: void setControlsEnabled(bool enabled); void setApplyProgress(bool started); void setDirtyFlag(S32 flag); - bool getIsDirty() const { return (mDirtyFlag != 0); } - bool getIsDirtyFlag(S32 flag) const { return ((mDirtyFlag & flag) != 0); } + void clearDirtyFlag(S32 flag); + bool getIsDirty() const { return (mDirtyFlag != 0); } + bool getIsDirtyFlag(S32 flag) const { return ((mDirtyFlag & flag) != 0); } + S32 getDirtyFlag() const { return mDirtyFlag; } void onSwitchDefaultSelection(); void onSldDayLengthChanged(F32 value); @@ -100,10 +102,11 @@ protected: void onBtnEdit(); void onBtnSelect(); + virtual void doApply(); + void onPickerCommited(LLUUID asset_id); void onEditiCommited(LLSettingsDay::ptr_t newday); void onPickerAssetDownloaded(LLSettingsBase::ptr_t settings); - void handleEnvironmentReceived(S32 parcel_id, LLEnvironment::EnvironmentInfo::ptr_t envifo); virtual void doEditCommited(LLSettingsDay::ptr_t &newday); |