diff options
author | Rider Linden <rider@lindenlab.com> | 2024-10-14 16:42:57 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-14 16:42:57 -0700 |
commit | 4b0fa1e3d1567ea9616fd9430cf5cb91c7825133 (patch) | |
tree | 5b4cdd96d46b2ddafa552ac84553ce6e94a89380 /indra/llui/llfloater.h | |
parent | a2899a3c6cc859dfde4d9692b0dde6e778184dc4 (diff) | |
parent | 82ffb6e943224d5584ba00f922e4cbc5b0fa62af (diff) |
Merge pull request #2849 from secondlife/rider/world_map_flags
New flags on ScriptTeleportRequest message.
Diffstat (limited to 'indra/llui/llfloater.h')
-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 5bdbcdfcf8..9e1594bdd2 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() |