diff options
author | Mnikolenko Productengine <mnikolenko@productengine.com> | 2024-03-12 16:48:49 +0200 |
---|---|---|
committer | Mnikolenko Productengine <mnikolenko@productengine.com> | 2024-03-12 16:48:49 +0200 |
commit | 72d68cbc078cf2c1b9dc3ff81c2c1965f5d6f8c5 (patch) | |
tree | 43711174b0f5cc30c2bc9b95d3731f494749e2a6 /indra/llui/llfloater.cpp | |
parent | ee8bc528bbf97ee8cc488651fb263b07b5c1c818 (diff) |
Initial implementation of LLLuaFloater
Diffstat (limited to 'indra/llui/llfloater.cpp')
-rw-r--r-- | indra/llui/llfloater.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llui/llfloater.cpp b/indra/llui/llfloater.cpp index de3de53569..b9b69b5a33 100644 --- a/indra/llui/llfloater.cpp +++ b/indra/llui/llfloater.cpp @@ -3623,6 +3623,10 @@ void LLFloater::applyRelativePosition() translate(new_center.mX - cur_center.mX, new_center.mY - cur_center.mY); } +bool LLFloater::isDefaultBtnName(const std::string& name) +{ + return (std::find(std::begin(sButtonNames), std::end(sButtonNames), name) != std::end(sButtonNames)); +} LLCoordFloater::LLCoordFloater(F32 x, F32 y, LLFloater& floater) : coord_t((S32)x, (S32)y) |