summaryrefslogtreecommitdiff
path: root/indra/newview/llscrollingpanelparam.h
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2024-04-24 16:35:00 -0400
committerNat Goodspeed <nat@lindenlab.com>2024-04-24 16:35:00 -0400
commit6d860672ec3e05660844a40c56b8644130a1f6b6 (patch)
tree2cf0f229f5f8c0e019255e2265f6bfb67af1c93c /indra/newview/llscrollingpanelparam.h
parent40a881dd26cbf0b92e03ec20e296b94e89bdb2c3 (diff)
parentd98fc504a1d4bc292ba86acdda053c8b4598a193 (diff)
Merge 'main' into release/luau-scripting on promotion of Maint YZ
Diffstat (limited to 'indra/newview/llscrollingpanelparam.h')
-rw-r--r--indra/newview/llscrollingpanelparam.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llscrollingpanelparam.h b/indra/newview/llscrollingpanelparam.h
index dc344486fc..c7a47d5c7a 100644
--- a/indra/newview/llscrollingpanelparam.h
+++ b/indra/newview/llscrollingpanelparam.h
@@ -61,6 +61,9 @@ public:
void onHintMouseDown( LLVisualParamHint* hint );
void onHintHeldDown( LLVisualParamHint* hint );
+ F32 weightToPercent( F32 weight );
+ F32 percentToWeight( F32 percent );
+
public:
// Constants for LLPanelVisualParam
const static F32 PARAM_STEP_TIME_THRESHOLD;