summaryrefslogtreecommitdiff
path: root/indra/llui/llfloater.h
diff options
context:
space:
mode:
authorSergey Borushevsky <sborushevsky@productengine.com>2009-12-02 19:49:44 +0200
committerSergey Borushevsky <sborushevsky@productengine.com>2009-12-02 19:49:44 +0200
commit69a2843d5bfc3c5cb2706639eb3429369ded969b (patch)
treef18362a91c6eecea185623f1c2652597ea5ebc01 /indra/llui/llfloater.h
parentaa84c4afff251d771c7571803ccce56d1f439ae2 (diff)
Implemented normal task EXT-2833 ("Close" button should hide bottom bar windows)
When IM floater isn't torn off, "Close" button is disabled. It's not hidden, since there is a hack in LLFloater::updateButton. --HG-- branch : product-engine
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 d7ec0aac00..b5c835cb47 100644
--- a/indra/llui/llfloater.h
+++ b/indra/llui/llfloater.h
@@ -259,6 +259,8 @@ public:
bool isDocked() const { return mDocked; }
virtual void setDocked(bool docked, bool pop_on_undock = true);
+ virtual void setTornOff(bool torn_off) {}
+
// Return a closeable floater, if any, given the current focus.
static LLFloater* getClosableFloaterFromFocus();