summaryrefslogtreecommitdiff
path: root/indra/llui
diff options
context:
space:
mode:
authorJonathan "Geenz" Goodman <geenz@lindenlab.com>2025-03-01 14:59:15 -0500
committerGitHub <noreply@github.com>2025-03-01 14:59:15 -0500
commitea79f8f613754926bc074e44b5f0c12f49821ca6 (patch)
treeb9b589229d7aeb259c322bde7833c467d142be59 /indra/llui
parent20dfc94c5d0955003b0758cd0a1965140068973c (diff)
parent3dc945c1df2a8961363528df0e383519c9d63d1f (diff)
Merge pull request #3624 from secondlife/rider/map_beacon
https://github.com/secondlife/viewer-private/issues/297 Local beacons via script
Diffstat (limited to 'indra/llui')
-rw-r--r--indra/llui/llfloater.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/llui/llfloater.h b/indra/llui/llfloater.h
index 9be2240f6f..eae2435117 100644
--- a/indra/llui/llfloater.h
+++ b/indra/llui/llfloater.h
@@ -377,6 +377,10 @@ public:
void enableResizeCtrls(bool enable, bool width = true, bool height = true);
bool isPositioning(LLFloaterEnums::EOpenPositioning p) const { return (p == mPositioning); }
+
+ void setAutoFocus(bool focus) { mAutoFocus = focus; } // whether to automatically take focus when opened
+ bool getAutoFocus() const { return mAutoFocus; }
+
protected:
void applyControlsAndPosition(LLFloater* other);
@@ -401,8 +405,6 @@ protected:
void setExpandedRect(const LLRect& rect) { mExpandedRect = rect; } // size when not minimized
const LLRect& getExpandedRect() const { return mExpandedRect; }
- void setAutoFocus(bool focus) { mAutoFocus = focus; } // whether to automatically take focus when opened
- bool getAutoFocus() const { return mAutoFocus; }
LLDragHandle* getDragHandle() const { return mDragHandle; }
void destroy(); // Don't call this directly. You probably want to call closeFloater()