summaryrefslogtreecommitdiff
path: root/indra/llui/llfloater.h
diff options
context:
space:
mode:
authorRichard Nelson <richard@lindenlab.com>2011-10-19 17:25:18 -0700
committerRichard Nelson <richard@lindenlab.com>2011-10-19 17:25:18 -0700
commit03b836d94f0f09936af887302db7e19f45881f01 (patch)
tree31cabcff54a8a947be36de4a754bb70e9db356ba /indra/llui/llfloater.h
parente2b0e8fb1c3f1bcde01e283d2e6fcfc6b2b315eb (diff)
EXP-1424 FIX Floaters open on top of one another in default position with no offset
EXP-1412 FIX Additional Inventory windows are opened directly on top of each after opening additional inventory windows and closing the first time also made sidepanel floaters reuse the existing instances, saving state
Diffstat (limited to 'indra/llui/llfloater.h')
-rw-r--r--indra/llui/llfloater.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llui/llfloater.h b/indra/llui/llfloater.h
index f610b04e35..f384e64e53 100644
--- a/indra/llui/llfloater.h
+++ b/indra/llui/llfloater.h
@@ -120,6 +120,7 @@ public:
short_title;
Optional<bool> single_instance,
+ reuse_instance,
can_resize,
can_minimize,
can_close,
@@ -409,6 +410,7 @@ private:
LLUIString mShortTitle;
BOOL mSingleInstance; // TRUE if there is only ever one instance of the floater
+ bool mReuseInstance; // true if we want to hide the floater when we close it instead of destroying it
std::string mInstanceName; // Store the instance name so we can remove ourselves from the list
BOOL mCanTearOff;