diff options
author | Rider Linden <rider@lindenlab.com> | 2024-10-14 12:49:43 -0700 |
---|---|---|
committer | Rider Linden <rider@lindenlab.com> | 2025-02-26 16:02:24 -0800 |
commit | 81df0476b5194ca50b7b473e9fb1a33c0831c28a (patch) | |
tree | aa3750a8302be962020510e29f3622ecffc283ed /indra/llui | |
parent | 20dfc94c5d0955003b0758cd0a1965140068973c (diff) |
Private Issue #297: Accept new flags in ScriptTeleportRequest message. Flags indicate if the world map should be opened and focused.
Diffstat (limited to 'indra/llui')
-rw-r--r-- | indra/llui/llfloater.h | 6 |
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() |