summaryrefslogtreecommitdiff
path: root/indra/newview/llscrollingpanelparambase.h
diff options
context:
space:
mode:
authorAndrey Lihatskiy <alihatskiy@productengine.com>2024-04-10 10:30:37 +0300
committerGitHub <noreply@github.com>2024-04-10 10:30:37 +0300
commit5af93ff0d53606db3dca727a8cd1b73d7c37d70b (patch)
tree2deaa98bcd99fd2860da758a92816c3bdb838acd /indra/newview/llscrollingpanelparambase.h
parenta902138de15067a86a6aeb02fdabd094873da0b2 (diff)
parent0acee937f55e6d1a198be2549d5cb55a0403dd4d (diff)
Merge pull request #1177 from secondlife/marchcat/c-merge
Release (Maint W) -> Maint C merge
Diffstat (limited to 'indra/newview/llscrollingpanelparambase.h')
-rw-r--r--indra/newview/llscrollingpanelparambase.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/indra/newview/llscrollingpanelparambase.h b/indra/newview/llscrollingpanelparambase.h
index 9538826251..e7f88a21bd 100644
--- a/indra/newview/llscrollingpanelparambase.h
+++ b/indra/newview/llscrollingpanelparambase.h
@@ -36,6 +36,7 @@ class LLViewerVisualParam;
class LLWearable;
class LLVisualParamHint;
class LLViewerVisualParam;
+class LLSliderCtrl;
class LLJoint;
class LLScrollingPanelParamBase : public LLScrollingPanel
@@ -49,11 +50,13 @@ public:
static void onSliderMoved(LLUICtrl* ctrl, void* userdata);
- F32 weightToPercent( F32 weight );
- F32 percentToWeight( F32 percent );
+ F32 weightToSlider(F32 weight);
+ F32 sliderToWeight(F32 slider);
public:
LLViewerVisualParam* mParam;
+ LLSliderCtrl* mSlider;
+
protected:
BOOL mAllowModify;
LLWearable *mWearable;