summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterregioninfo.h
diff options
context:
space:
mode:
authorVadim ProductEngine <vsavchuk@productengine.com>2011-05-23 19:26:17 +0300
committerVadim ProductEngine <vsavchuk@productengine.com>2011-05-23 19:26:17 +0300
commitb60c63bf075a92084ba94459a840decba846a916 (patch)
treeba4da57fcc3678449c20033fc22e620827dc9b5f /indra/newview/llfloaterregioninfo.h
parent99fe1004a6cb4406bcac790420a5be6269e02723 (diff)
STORM-1256 WIP Implemented editing region environment settings via the Region/Estate floater.
Diffstat (limited to 'indra/newview/llfloaterregioninfo.h')
-rw-r--r--indra/newview/llfloaterregioninfo.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/indra/newview/llfloaterregioninfo.h b/indra/newview/llfloaterregioninfo.h
index 412c72870a..dc5e250cc4 100644
--- a/indra/newview/llfloaterregioninfo.h
+++ b/indra/newview/llfloaterregioninfo.h
@@ -46,6 +46,7 @@ class LLInventoryItem;
class LLCheckBoxCtrl;
class LLComboBox;
class LLNameListCtrl;
+class LLRadioGroup;
class LLSliderCtrl;
class LLSpinCtrl;
class LLTextBox;
@@ -100,6 +101,7 @@ private:
~LLFloaterRegionInfo();
protected:
+ void onTabSelected(const LLSD& param);
void refreshFromRegion(LLViewerRegion* region);
// member data
@@ -422,6 +424,34 @@ protected:
class LLPanelEnvironmentInfo : public LLPanelRegionInfo
{
+ LOG_CLASS(LLPanelEnvironmentInfo);
+
+public:
+ LLPanelEnvironmentInfo();
+
+ // LLPanel
+ /*virtual*/ BOOL postBuild();
+ /*virtual*/ void onOpen(const LLSD& key);
+
+private:
+ void refresh();
+
+ void populateWaterPresetsList();
+ void populateSkyPresetsList();
+ void populateDayCyclesList();
+
+ void onSwitchRegionSettings();
+ void onSwitchDayCycle();
+
+ void onBtnSave();
+ void onBtnCancel();
+
+ LLRadioGroup* mRegionSettingsRadioGroup;
+ LLRadioGroup* mDayCycleSettingsRadioGroup;
+
+ LLComboBox* mWaterPresetCombo;
+ LLComboBox* mSkyPresetCombo;
+ LLComboBox* mDayCyclePresetCombo;
};
#endif