summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelvolume.h
diff options
context:
space:
mode:
authorLoren Shih <seraph@lindenlab.com>2011-03-31 18:51:32 -0400
committerLoren Shih <seraph@lindenlab.com>2011-03-31 18:51:32 -0400
commit022feaa452b7d3d013332271b23af11334afc6ba (patch)
treec2426b27c0e8088763b9c8d9fbe7e9279b11d105 /indra/newview/llpanelvolume.h
parent8ccf3fbe3ba49c47da85527bcf6cdbded6fa9183 (diff)
SH-1087 IN-PROGRESS Edit tools do not fit on default sized viewer window
First phase check-in. Moved physics code over to features tab.
Diffstat (limited to 'indra/newview/llpanelvolume.h')
-rw-r--r--indra/newview/llpanelvolume.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/indra/newview/llpanelvolume.h b/indra/newview/llpanelvolume.h
index 90a2abda25..776a2c1f4a 100644
--- a/indra/newview/llpanelvolume.h
+++ b/indra/newview/llpanelvolume.h
@@ -64,6 +64,8 @@ public:
static void onCommitIsFlexible( LLUICtrl* ctrl, void* userdata);
static void onCommitFlexible( LLUICtrl* ctrl, void* userdata);
+ static void onCommitPhysicsParam( LLUICtrl* ctrl, void* userdata);
+
void onLightCancelColor(const LLSD& data);
void onLightSelectColor(const LLSD& data);
@@ -73,8 +75,15 @@ public:
protected:
void getState();
+ void refreshCost();
protected:
+ void sendPhysicsShapeType(LLUICtrl* ctrl, void* userdata);
+ void sendPhysicsGravity(LLUICtrl* ctrl, void* userdata);
+ void sendPhysicsFriction(LLUICtrl* ctrl, void* userdata);
+ void sendPhysicsRestitution(LLUICtrl* ctrl, void* userdata);
+ void sendPhysicsDensity(LLUICtrl* ctrl, void* userdata);
+
/*
LLTextBox* mLabelSelectSingleMessage;
// Light
@@ -99,6 +108,12 @@ protected:
LLUUID mLightSavedTexture;
LLPointer<LLViewerObject> mObject;
LLPointer<LLViewerObject> mRootObject;
+
+ LLComboBox* mComboPhysicsShapeType;
+ LLSpinCtrl* mSpinPhysicsGravity;
+ LLSpinCtrl* mSpinPhysicsFriction;
+ LLSpinCtrl* mSpinPhysicsDensity;
+ LLSpinCtrl* mSpinPhysicsRestitution;
};
#endif